Update min_sdk_version used in testNoUpdatableJarsInBootImage
Updatable apexes should set a min_sdk_version that is not current. This enforcement does not exist today, but will soon be added to the build system. In preparation for that, cleanup the min_sdk_version property used in this unit test. Test: go test ./apex Bug: 221087384 Change-Id: I8a163595f85cb0f8dabccc3321ef210215675714
This commit is contained in:
parent
1a92db5b88
commit
cc9d9422cb
1 changed files with 4 additions and 2 deletions
|
@ -7515,6 +7515,7 @@ func testNoUpdatableJarsInBootImage(t *testing.T, errmsg string, preparer androi
|
|||
"some-updatable-apex",
|
||||
],
|
||||
permitted_packages: ["some.updatable.apex.lib"],
|
||||
min_sdk_version: "33",
|
||||
}
|
||||
|
||||
java_library {
|
||||
|
@ -7554,6 +7555,7 @@ func testNoUpdatableJarsInBootImage(t *testing.T, errmsg string, preparer androi
|
|||
],
|
||||
hostdex: true,
|
||||
compile_dex: true,
|
||||
min_sdk_version: "33",
|
||||
}
|
||||
|
||||
apex {
|
||||
|
@ -7561,7 +7563,7 @@ func testNoUpdatableJarsInBootImage(t *testing.T, errmsg string, preparer androi
|
|||
key: "some-updatable-apex.key",
|
||||
java_libs: ["some-updatable-apex-lib"],
|
||||
updatable: true,
|
||||
min_sdk_version: "current",
|
||||
min_sdk_version: "33",
|
||||
}
|
||||
|
||||
apex {
|
||||
|
@ -7584,7 +7586,7 @@ func testNoUpdatableJarsInBootImage(t *testing.T, errmsg string, preparer androi
|
|||
key: "com.android.art.debug.key",
|
||||
bootclasspath_fragments: ["art-bootclasspath-fragment"],
|
||||
updatable: true,
|
||||
min_sdk_version: "current",
|
||||
min_sdk_version: "33",
|
||||
}
|
||||
|
||||
bootclasspath_fragment {
|
||||
|
|
Loading…
Reference in a new issue