commit | 8b222091843e82104d217e6c2a27a6df961fd4fb | [log] [tgz] |
---|---|---|
author | Anton Hansson <hansson@google.com> | Tue Oct 18 08:56:09 2022 +0000 |
committer | Anton Hansson <hansson@google.com> | Tue Oct 18 13:43:46 2022 +0000 |
tree | 423c64c2bfcd71c110be2aeafa631b905701be90 | |
parent | 163ece5b559ad41aaeb57eb32d6253ebfe564b1d [diff] |
Update naming of platforms subdir The build system previously named the platforms subdir by PLATFORM_VERSION, which is 13 for android 13, aka T, so the subdir name would be android-13. Android studio installs the SDK into a subdir identified by the api level, so android-33 for android T, and also the extension api level for extension SDKs, e.g. android-33-ext4. Update the build system subdir name to match the android studio install path, in order to avoid confusion and make it simpler to just unzip a built SDK into the platforms dir, avoiding the need to provide a package.xml file for studio to install it correctly. Bug: 254023524 Test: m sdk sdk_repo dist, verify subdir is android-33 in: $ zipinfo -1 out/dist/android-sdk_eng.hansson_linux-x86.zip \ | cut -f 1-3 -d '/' | grep platforms | sort | uniq Change-Id: I1d3a7fd4c480859c28cdcbcb8c0cf2800ac4a1d7
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.