Finalize using the for-next-build SDK snapshots
Previously, the SDK finalization script consumed the SDK snapshots from the `for-latest-build` directory. However, in trunk stable that is no longer viable as that directory will include flagged APIs but the finalized SDK cannot use flagged APIs. It is not possible to remove flagged APIs from `for-latest-build` as the snapshots in there are dropped into Android itself and so must include flagged APIs. This change switches the script to use `for-next-build` which is currently identical to `for-latest-build` but will, eventually contain no flagged APIs. Bug: 313065235 Test: TBD Change-Id: I2e7a63a02aa218e259d6b970d64016d15f42fb0f
This commit is contained in:
@@ -23,9 +23,9 @@ BUILD_TARGET_TRAIN = 'train_build'
|
||||
# This build target is used when fetching from a non-train build (XXXXXXXX)
|
||||
BUILD_TARGET_CONTINUOUS = 'mainline_modules_sdks-userdebug'
|
||||
# The glob of sdk artifacts to fetch from remote build
|
||||
ARTIFACT_PATTERN = 'mainline-sdks/for-latest-build/current/{module_name}/sdk/*.zip'
|
||||
ARTIFACT_PATTERN = 'mainline-sdks/for-next-build/current/{module_name}/sdk/*.zip'
|
||||
# The glob of sdk artifacts to fetch from local build
|
||||
ARTIFACT_LOCAL_PATTERN = 'out/dist/mainline-sdks/for-latest-build/current/{module_name}/sdk/*.zip'
|
||||
ARTIFACT_LOCAL_PATTERN = 'out/dist/mainline-sdks/for-next-build/current/{module_name}/sdk/*.zip'
|
||||
COMMIT_TEMPLATE = """Finalize artifacts for extension SDK %d
|
||||
|
||||
Import from build id %s.
|
||||
|
||||
Reference in New Issue
Block a user