commit | c16c45682e495d111955c00e4ed45d194538997b | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Mon Jun 08 23:10:14 2020 -0700 |
committer | Jackeagle <jackeagle102@gmail.com> | Sat Dec 12 07:20:05 2020 +0100 |
tree | 4d3f84d91e93e418d7ae4be89f3957f72be5298a | |
parent | 3f95724bcbe875846edc1c0b1575c71c1c2acfd5 [diff] |
Refactor how MODULES-IN-* is defined Unlike the previous performance patches, this does change the ninja file, shrinking build-aosp_crosshatch.ninja on aosp-master from 393MB to 387MB, while reducing kati runtime from 28.6s to 27.7s. Previously, MODULES-IN-art would depend on every target defined under art/***. After this change, it only depends on the modules names that were directly defined under it, and depends on the MODULES-IN-art-* for its subfolders. Bug: 158488548 Test: mmma system/core/adb Test: mmma system/core Change-Id: Idfe80f707738faae4777e0d6dc9fd08014775696
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.