CyanogenMod or AOSP: Compile a single project

8.3k Views Asked by At

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).

2

There are 2 best solutions below

3
On BEST ANSWER

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.)

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

0
On

make Email also works (and generally make [appname] for all apps)