Android compilation Module

Source: Internet
Author: User

Others viewed on the Internet:

 

In the top-level directory of Android, run the following command:

Source build/envsetup. Sh

 

After running the command, a lot of commands are added to the sh interpreter. The specific command is as follows:

-Croot: Changes directory to the top ofthe tree.

-M: makes from the top of the tree.

-Mm: builds all of the modules in thecurrent directory.

-Mmm: builds all of the modules in thesupplied directories.

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

 

The command Croot is changed to the top-level directory; m is the source code tree; mm is the compilation of all modules in the current directory;

Mmm is used to compile all the modules that meet the condition. cgrep is used to find all local C/C ++ files. jgrep is used to find all local java files; resgrep is to find all local resource files Res /*. XML; godir is to jump to the directory that includes this file.

 

Use choosecombo to configure

 

You can use mm for partial compilation.

You can go to the MM directory under your dynamic code. This is part of the compilation...

 

You can use godir to find the location of the file:
For example:
The file name is phonewindowmanager. java.
Start:

 

SRX @ SRx-desktop :~ /Master $ godir phonewindow. Java

Others viewed on the Internet:

 

In the top-level directory of Android, run the following command:

Source build/envsetup. Sh

 

After running the command, a lot of commands are added to the sh interpreter. The specific command is as follows:

-Croot: Changes directory to the top ofthe tree.

-M: makes from the top of the tree.

-Mm: builds all of the modules in thecurrent directory.

-Mmm: builds all of the modules in thesupplied directories.

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

 

The command Croot is changed to the top-level directory; m is the source code tree; mm is the compilation of all modules in the current directory;

Mmm is used to compile all the modules that meet the condition. cgrep is used to find all local C/C ++ files. jgrep is used to find all local java files; resgrep is to find all local resource files Res /*. XML; godir is to jump to the directory that includes this file.

 

Use choosecombo to configure

 

You can use mm for partial compilation.

You can go to the MM directory under your dynamic code. This is part of the compilation...

 

You can use godir to find the location of the file:
For example:
The file name is phonewindowmanager. java.
Start:

 

SRX @ SRx-desktop :~ /Master $ godir phonewindow. Java

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.