aboutsummaryrefslogtreecommitdiff
path: root/apex
diff options
context:
space:
mode:
authorSpandan Das <spandandas@google.com>2023-04-06 18:55:06 +0000
committerSpandan Das <spandandas@google.com>2023-04-07 16:13:22 +0000
commit1a92db5b88f03ba69ebffae5d728d19b430bcbdd (patch)
tree8f03bf433c2a87760c5a6ae71abc46a79305a477 /apex
parent2d704998f4f1d8c0fdda1ecb34b825fe798f0521 (diff)
downloadsoong-1a92db5b88f03ba69ebffae5d728d19b430bcbdd.tar.gz
Update min_sdk_version used in TestSymlinksFromApexToSystem
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: Idabc4c6f20e134b38ed0ae3ce68f6b7d54d7a13c
Diffstat (limited to 'apex')
-rw-r--r--apex/apex_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go
index 05c888abe..8a02a4a7f 100644
--- a/apex/apex_test.go
+++ b/apex/apex_test.go
@@ -7101,7 +7101,7 @@ func TestSymlinksFromApexToSystem(t *testing.T) {
native_shared_libs: ["mylib"],
java_libs: ["myjar"],
updatable: true,
- min_sdk_version: "current",
+ min_sdk_version: "33",
}
apex_key {
@@ -7124,7 +7124,7 @@ func TestSymlinksFromApexToSystem(t *testing.T) {
"myapex.updatable",
"//apex_available:platform",
],
- min_sdk_version: "current",
+ min_sdk_version: "33",
}
cc_library {
@@ -7137,7 +7137,7 @@ func TestSymlinksFromApexToSystem(t *testing.T) {
"myapex.updatable",
"//apex_available:platform",
],
- min_sdk_version: "current",
+ min_sdk_version: "33",
}
cc_library {
@@ -7151,7 +7151,7 @@ func TestSymlinksFromApexToSystem(t *testing.T) {
"myapex.updatable",
"//apex_available:platform",
],
- min_sdk_version: "current",
+ min_sdk_version: "33",
}
java_library {
@@ -7165,7 +7165,7 @@ func TestSymlinksFromApexToSystem(t *testing.T) {
"myapex.updatable",
"//apex_available:platform",
],
- min_sdk_version: "current",
+ min_sdk_version: "33",
}
java_library {
@@ -7178,7 +7178,7 @@ func TestSymlinksFromApexToSystem(t *testing.T) {
"myapex.updatable",
"//apex_available:platform",
],
- min_sdk_version: "current",
+ min_sdk_version: "33",
}
`