Android compilation environment settings are completed through Build/envsetup. Sh.
-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.
-Mmm: builds all of the modules in the supplied directories.
-Cgrep: greps on all local C/C ++ files.
-Hgrep: greps on all local C/C ++ header files.
-Jgrep: greps on all local java files.
-Mkgrep: greps on all local make files.
-Rcgrep: greps on all local. RC files.
-Resgrep: greps on all local Res/*. XML files.
-Godir: Go to the directory containing a file.
-Shgrep: greps on all local. Sh files.
There are also some other extension commands:
Addcompletions
Add_lunch_combo
Check_product
Check_variant
Choosecombo
Chooseproduct
Choosetype
Choosevariant
Cproj
Findmakefile
Gdbclient
Get_abs_build_var
Getbugreports
Get_build_var
Getprebuilt
Gettop
Help
Isviewserverstarted
Key_back
Key_home
Key_menu
Lunch
_ Lunch
PID
Printconfig
Print_lunch_menu
Resgrep
Runhat
Runtest
Set_java_home
Setpaths
Set_sequence_number
Set_stuff_for_environment
Settitle
Smoketest
Startviewserver
Stopviewserver
Systemstack
Tapas
Tracedmdump