Common commands in Android compiling environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.