Building a particular module in the android source code

后端 未结 2 1285
萌比男神i
萌比男神i 2020-12-04 10:02

I am working on an android source code which I have downloaded from source.android.com.

After a full build I went through this site http://elinux.org/Android_Build_S

2条回答
  •  温柔的废话
    2020-12-04 10:37

    Here are fuller descriptions of mm, mmm, and other convenient functions provided by sourcing the build/envsetup.sh file:

    Invoke . build/envsetup.sh from your shell to add the following functions to your environment:

       lunch:   lunch -
       tapas:   tapas [  ...] [arm|x86|mips|armv5] [eng|userdebug|user]
       croot:   Changes directory to the top of the tree.
       m:       Makes from the top of the tree.
       mm:      Builds all of the modules in the current directory, but not their dependencies.
       mmm:     Builds all of the modules in the supplied directories, but not their dependencies.
                To limit the modules being built use the syntax: mmm dir/:target1,target2.
       mma:     Builds all of the modules in the current directory, and their dependencies.
       mmma:    Builds all of the modules in the supplied directories, and their dependencies.
       cgrep:   Greps on all local C/C++ files.
       jgrep:   Greps on all local Java files.
       resgrep: Greps on all local res/*.xml files.
       godir:   Go to the directory containing a file.
    

    Plese check build/envsetup.sh file's comments to see full list of functions.

提交回复
热议问题