commit | 7c282854f3148515deee26a70ff289f20a4fb62f | [log] [tgz] |
---|---|---|
author | Lance Chang <jinwoong@google.com> | Mon Jun 10 22:27:42 2024 -0700 |
committer | Lance Chang <jinwoong@google.com> | Mon Jun 10 22:27:42 2024 -0700 |
tree | 4c868700ac2716bd7aae8e5d32d961c589891cb0 | |
parent | 4203958e68bc2467c46c2dde8d851117d76f8809 [diff] |
Change TARGET_BUILD_APPS_WITH_BUILD_NUMBER to a product variable This change allows unbundled app builds to embed the build number in the version name by defining PRODUCT_BUILD_APPS_WITH_BUILD_NUMBER, so that APK files from a build can be easily identified. Ignore-AOSP-First: changes in topics with internal-only projects Test: manual build Bug: 340311907 Change-Id: If7feda5eec2bc1e54a90b4adae1bd6da19e3ea45
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.