CyanogenMod or AOSP: Compile a single project

Erez A. Korn picture Erez A. Korn · Feb 20, 2011 · Viewed 8.2k times · Source

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

Answer

adamp picture adamp · Feb 20, 2011

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.