diff options
| author | 2023-04-06 18:07:43 +0000 | |
|---|---|---|
| committer | 2023-04-07 16:13:22 +0000 | |
| commit | cc9d9422cb8bc88434dfb7a3093cfa4a626787d5 (patch) | |
| tree | e4dfe38a51cfbf86dba794d306fd2aca20a9b8eb /apex/apex_test.go | |
| parent | 1a92db5b88f03ba69ebffae5d728d19b430bcbdd (diff) | |
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
Diffstat (limited to 'apex/apex_test.go')
| -rw-r--r-- | apex/apex_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index 8a02a4a7f..d33d96c8e 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -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 { |