Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AOSP make verbose

How to see verbose compile command in AOSP build? ndk-build provides V=1 option. What about build from source? May I type similar to

. build/envsetup.sh
lunch 
make liblog V=1 

and see raw compiler execution lines?

like image 347
valior Avatar asked Mar 21 '17 10:03

valior


People also ask

What is MMA command?

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. croot - cd to the top of the tree. clean - m clean deletes all of the output and intermediate files for this configuration.

How do you make an AOSP device?

To download and build the AOSP project you should have a 64-bit version of either Linux (18.04 or greater) or Mac OS installed. Here, RAM plays a very crucial role when it comes to building / compiling the android source code. According to the official docs, it is recommended that you should have at least 16GB of RAM.


1 Answers

For someone seeking the answer on the Android build versions 10+

! The argument `showcommands` is no longer supported.
! Instead, the verbose log is always written to a compressed file in the output dir:
!
!   gzip -cd out/verbose.log.gz | less -R
!
! Older versions are saved in verbose.log.#.gz files

Here out is the directory located at <build_root>/out . This is taken from the code in the soong files here. This change was introduced with this commit.

like image 86
Zoso Avatar answered Sep 28 '22 09:09

Zoso