commit | 5346f7db625d2a851f95b20d94a30efb12dd44fb | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Wed Oct 04 23:03:13 2023 +0000 |
committer | Dan Albert <danalbert@google.com> | Wed Oct 04 23:11:39 2023 +0000 |
tree | e6e1189068015db9d0c4c09494f16ece2c3f0aed | |
parent | 764585118f9f5e7e93082a97f704786ecb25957d [diff] |
Filter REL out of PLATFORM_VERSION_ALL_CODENAMES. The codename of the current release is replaced by "REL" when the build is configured as a release rather than a preview. For example, PLATFORM_VERSION_CODENAME.UpsideDownCake will be "REL" rather than UpsideDownCake in a -next target when the upcoming release is UpsideDownCake. "REL" shouldn't really be treated as a codename though. It's a placeholder to indicate that the build is a release and so doesn't really have a codename. The list of all codenames ends up in ro.build.version.all_codenames, and also ends up feeding the logic for stub generation in soong, neither of which are places that should include REL. Bug: http://b/303087088 Test: m ndk # with barbet-next-userdebug in goog/main Change-Id: I97972439e1f06c09f0ed59e7e2191c489a214e88
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.