commit | 1c31492ce0ad2b6bb11569997e739f2965f88b80 | [log] [tgz] |
---|---|---|
author | Sasha Smundak <asmundak@google.com> | Fri Aug 17 12:41:24 2018 -0700 |
committer | Sasha Smundak <asmundak@google.com> | Fri Aug 17 12:41:24 2018 -0700 |
tree | 4c5cdfb6cfd299233256507f6e5e38769dc6a15c | |
parent | 9be301eb665a9c058ad472c74f15e048ec1750d6 [diff] |
Do not call sort when setting ALL_DEPS.MODULES. This particular invocation of 'sort' is expensive (it may amount to 30% of the total ckati execution time for the clean build). Test: verify that the result of running 'm nothing' is unchanged, verify that the result of running 'm -j deps-license PROJ_PATH=packages/app/% DEP_PATH=external/%' is unchanged. Change-Id: If1cfddd4dee24559a26ecceebdf03cf49cc5a367
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.