Remove support for generating versioned snapshots
(cherry picked from commit b01ac4b6ba
)
Previously, the code for selecting specific versions of sdk snapshots
was removed (along with the uses_sdks property). That makes versioned
snapshots useless so this change removes all the code and tests that
generated those versioned snapshots.
Bug: 232546567
Test: m nothing
packages/modules/common/build/mainline_modules_sdks.sh
Change-Id: Ib6d1b72bc8399fbb39075494ae37da92f4b28d03
Merged-In: Ib6d1b72bc8399fbb39075494ae37da92f4b28d03
This commit is contained in:
@@ -37,23 +37,7 @@ func TestSnapshotWithCompatConfig(t *testing.T) {
|
||||
`)
|
||||
|
||||
CheckSnapshot(t, result, "mysdk", "",
|
||||
checkVersionedAndroidBpContents(`
|
||||
// This is auto-generated. DO NOT EDIT.
|
||||
|
||||
prebuilt_platform_compat_config {
|
||||
name: "mysdk_myconfig@current",
|
||||
sdk_member_name: "myconfig",
|
||||
visibility: ["//visibility:public"],
|
||||
metadata: "compat_configs/myconfig/myconfig_meta.xml",
|
||||
}
|
||||
|
||||
sdk_snapshot {
|
||||
name: "mysdk@current",
|
||||
visibility: ["//visibility:public"],
|
||||
compat_configs: ["mysdk_myconfig@current"],
|
||||
}
|
||||
`),
|
||||
checkUnversionedAndroidBpContents(`
|
||||
checkAndroidBpContents(`
|
||||
// This is auto-generated. DO NOT EDIT.
|
||||
|
||||
prebuilt_platform_compat_config {
|
||||
|
Reference in New Issue
Block a user