commit | a02c7474491f0b082e0c72f38d492e1ae680c168 | [log] [tgz] |
---|---|---|
author | Jeff Hamilton <jham@google.com> | Mon May 08 03:13:29 2023 +0000 |
committer | Jeff Hamilton <jham@google.com> | Mon May 08 03:23:30 2023 +0000 |
tree | ba2b7d0068742204c031dd28935332190719c445 | |
parent | d00675c764fa61983e19e79aa9b578328a9ea5a7 [diff] |
Add lunch support for TARGET_RELEASE This replaces support for the unused TARGET_PLATFORM_VERSION variable. Now, if you pass three - separated items the first is product, the second is release and the third is variant. If you only pass two they're still product-variant and the build system will choose a reasonable default for release. Test: run lunch with two and three items, confirmed values in the build banner Change-Id: I128177d96ffe81b79b6945a24ebf37861c3b25fc
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.