CyanogenMod的或AOSP:编译单个项目项目、CyanogenMod、AOSP

2023-09-05 06:31:04 作者:难堪@

我想使/编译从库中的单个AOSP项目 - 特别是包/应用程序/电子邮件

I am trying to MAKE / Compile a single AOSP project from the repository - specifically packages/apps/Email.

有谁知道怎么办呢? (我没有问题,编译整个资源库,但我真的希望能够编译单个项目也一样)。

Does anyone know how to do it? (I have no problem compiling the entire repository, but I really would like to be able to compile a single project as well).

推荐答案

如果你的环境已经配置在你的android树编译/ envsetup.sh ,可以运行 MMM [project_path] 只建一个特定的子项目。 (这需要你之前已经建立从树上的依赖关系。)

If your environment has been configured by build/envsetup.sh in your android tree, you can run mmm [project_path] to build only a specific subproject. (This will require that you've built its dependencies from the tree before.)

由于CommonsWare指出的那样,如果你想使用SDK有更多的移植工作要做。建立电子邮件应用程序

As CommonsWare pointed out, if you're trying to build the Email app using the SDK there's more porting work to do.