diff options
author | 2022-05-24 20:10:05 +0000 | |
---|---|---|
committer | 2022-05-24 20:10:05 +0000 | |
commit | b01ac4b6ba89e13cbb47e9d22619bf015270ee26 (patch) | |
tree | c6b4041b3d463057232330bfc81a8101517acef1 /sdk/exports_test.go | |
parent | 78ce8c23def25e30fba5e2cdb124ad3f0409751c (diff) |
Remove support for generating versioned snapshots
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
Diffstat (limited to 'sdk/exports_test.go')
-rw-r--r-- | sdk/exports_test.go | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sdk/exports_test.go b/sdk/exports_test.go index 17ddf1772..2605fd141 100644 --- a/sdk/exports_test.go +++ b/sdk/exports_test.go @@ -43,7 +43,7 @@ func TestModuleExportsSnapshot(t *testing.T) { }) CheckSnapshot(t, result, "myexports", "package", - checkUnversionedAndroidBpContents(` + checkAndroidBpContents(` // This is auto-generated. DO NOT EDIT. java_import { @@ -54,22 +54,5 @@ java_import { jars: ["java/myjavalib.jar"], } `), - checkVersionedAndroidBpContents(` -// This is auto-generated. DO NOT EDIT. - -java_import { - name: "myexports_myjavalib@current", - sdk_member_name: "myjavalib", - visibility: ["//visibility:public"], - apex_available: ["//apex_available:platform"], - jars: ["java/myjavalib.jar"], -} - -module_exports_snapshot { - name: "myexports@current", - visibility: ["//visibility:public"], - java_libs: ["myexports_myjavalib@current"], -} -`), ) } |