commit | 8447b8116a931f0e9895c12c1cc90516ee1068aa | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Mon Jun 08 21:00:18 2020 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Jun 09 09:59:24 2020 -0700 |
tree | bf49a030a7db09a1453daeb26066ff78f7dbffa7 | |
parent | 1d1bb3b94f602e8d70ccfb1831732b4437465274 [diff] |
base_rules.mk optimizations A few more misc improvements that I found while analyzing the performance of base_rules.mk. This brings an aosp-master/aosp_crosshatch-userdebug kati run from 33.3s to 28.6s Bug: 158488548 Test: build-aosp_crosshatch.ninja is the same before/after Change-Id: If99c31cc7b5d7133d70eb644c6095f19060b71e5
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.