commit | 8dab0a6f50d8ee7207b756e8ddac84d3994dd365 | [log] [tgz] |
---|---|---|
author | Anton Hansson <hansson@google.com> | Thu Mar 28 15:45:40 2019 +0000 |
committer | Anton Hansson <hansson@google.com> | Thu Mar 28 15:54:25 2019 +0000 |
tree | efe94c383a9424d63d153f9bc6cda77014441201 | |
parent | 13ea2a6a7daefe4e691e91930821c60b7f81702b [diff] |
Access PRODUCT_ variables directly This CL simplifies the PRODUCTS.$(INTERNAL_PRODUCT).X accesses of product variables, and removes unnecessary stripping of them. Replace: '\$\(PRODUCTS\.\$\(INTERNAL_PRODUCT\)\.([^\)]*)\)' with '$(\1)' Replace: '\$\(strip\s*\$\(PRODUCT_([^\)]*)\)\)' with '$(PRODUCT_\1)' A few minor manual tweaks. Bug: 116769560 Test: presubmit Change-Id: I70c54f1582e3cc780028535960147d99ebc2e0e1
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.