From f8fa4b5919a434a7da5db80361fcebea83645fa8 Mon Sep 17 00:00:00 2001
From: Daniel Micay
@@ -1004,6 +1005,38 @@ rm android-cts-media-1.4.zip
specific modules is recommended, especially if you don't have everything set up for
the entire test suite.
The Android Open Source Project has branches and/or tags for the releases of many + different components. There are tags and/or branches for the OS, device kernels, + mainline components (APEX), the NDK, Android Studio, the platform-tools distribution + packages, the CTS, androidx components, etc.
+ +Some components don't have the infrastructure set up to generate and push their own
+ branches and tags to AOSP. In other cases, it's simply not obvious to an outsider
+ which one should be used. As long as the component is built on the standard Android
+ project CI infrastructure, it's possible to obtain the manifests to build it based on
+ the build number, which is generally incorporated into the build. For example, even
+ without a platform-tools tag, you can obtain the build number from adb
+ version
or fastboot version
. Their version output uses the format
+ $VERSION-$BUILD_NUMBER
such as 30.0.3-6597393
for the
+ version 30.0.3
where the official release had the build number
+ 6597393
. You can obtain the manifest properties with the appropriate
+ repository revisions from ci.android.com with a URL like this:
+
+ https://ci.android.com/builds/submitted/6597393/sdk/latest/view/repo.prop
The platform-tools tags exist because the GrapheneOS project requested them. The + same could be done for other projects, but it's not strictly necessarily as long as + it's possible to obtain the build number to request the information from the Android + project CI server.
+ +As another kind of example, prebuilts/clang
,
+ prebuilts/build-tools
, etc. have a manifest file committed alongside the
+ prebuilts. Other AOSP toolchain prebuilts reference a build number.