Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc9d9422 authored by Spandan Das's avatar Spandan Das
Browse files

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
parent 1a92db5b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 {