commit | 31fce2f4046a352b540b74d968bad9d83c447b39 | [log] [tgz] |
---|---|---|
author | Cole Faust <[email protected]> | Tue Mar 22 15:16:06 2022 -0700 |
committer | Cole Faust <[email protected]> | Wed Mar 23 15:28:48 2022 -0700 |
tree | afa862622cd93a01d9f4a547e58400ddbc81faaf | |
parent | fb042449e0987d1b420dadc9123718ada564e07e [diff] |
Fix single value inheritance Single-value product variables resolve to the first instance of that variable in prefix order. What we have right now is taking the value from the current makefile if it's set, but if it's not, we take it from the last child, not the first. Fixes: 226206409 Test: Manually Change-Id: Id23f7c269ff9a352bf0b67cb57156b72449f978e
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.