diff options
author | Paul Duffin <paulduffin@google.com> | 2022-05-12 20:34:37 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-05-12 20:34:37 +0000 |
commit | 57cf14cd8b66402b6ef340987b9eb6ea791fd021 (patch) | |
tree | f003d73fa419775d677b8fca1932b686decb575a | |
parent | 323912bf914675c9506bfef704dabe6da9c97be4 (diff) | |
parent | 4a5d1f6e7ba116349f98345e67d499a73ddfce27 (diff) | |
download | common-57cf14cd8b66402b6ef340987b9eb6ea791fd021.tar.gz |
Make first_release required am: 33e9399445 am: 4a5d1f6e7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/common/+/18344366
Change-Id: I9b4b35ee1f72fbc679b2797a3801cec83f176ba0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rwxr-xr-x | build/mainline_modules_sdks.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/build/mainline_modules_sdks.py b/build/mainline_modules_sdks.py index f7ea4bf4..d3b4993f 100755 --- a/build/mainline_modules_sdks.py +++ b/build/mainline_modules_sdks.py @@ -611,11 +611,7 @@ class MainlineModule: # source was first included. So, a module that was added in build T # could potentially be used in an S release and so its SDK will need # to be made available for S builds. - # - # Defaults to the latest build, i.e. the build on which this script is run - # as the snapshot is assumed to be needed in the build containing the sdk - # source. - first_release: BuildRelease = LATEST + first_release: BuildRelease # The configuration variable, defaults to ANDROID:module_build_from_source configVar: ConfigVar = ConfigVar( @@ -660,6 +656,10 @@ class BundledMainlineModule(MainlineModule): A bundled module is always preloaded into the platform images. """ + # Defaults to the latest build, i.e. the build on which this script is run + # as bundled modules are, by definition, only needed in this build. + first_release: BuildRelease = LATEST + def is_bundled(self): return True @@ -762,6 +762,7 @@ MAINLINE_MODULES = [ MainlineModule( apex="com.android.scheduling", sdks=["scheduling-sdk"], + first_release=S, ), MainlineModule( apex="com.android.sdkext", @@ -790,6 +791,7 @@ MAINLINE_MODULES = [ MainlineModule( apex="com.android.uwb", sdks=["uwb-module-sdk"], + first_release=Tiramisu, ), MainlineModule( apex="com.android.wifi", @@ -801,7 +803,7 @@ MAINLINE_MODULES = [ ), ] -# List of Mainline modules that currently are never built unbundled. They should +# List of Mainline modules that currently are never built unbundled. They must # not specify first_release, and they don't have com.google.android # counterparts. BUNDLED_MAINLINE_MODULES = [ |