summaryrefslogtreecommitdiff
path: root/java/sdk_test.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-06-12 13:25:22 +0100
committerPaul Duffin <paulduffin@google.com>2019-06-17 13:17:35 +0100
commit50c217c744901bf8a2408f110840bf22225ae361 (patch)
treec8121021c7901ee10888e02a6d2a7876dc223007 /java/sdk_test.go
parenta3d0986cfc352eb784d659825ff93772963dcbd5 (diff)
Add sdk_version:"core_platform" to replace no_framework_libs:true
Where possible this duplicates any tests that use no_framework_libs:true with ones that use sdk_version:"core_platform". If not possible (e.g. in the default targets included in java/testing.go) it switches some to use sdk_version:"core_platform" to ensure that there is no regression in the behavior of no_framework_libs:true. Follow up changes will switch all usages of no_framework_libs:true over to use sdk_version:"core_platform" at which point no_framework_libs will be removed. Bug: 134566750 Test: m droid Change-Id: I42cb181f628b723c8f32a158ae4752b4c83365ae
Diffstat (limited to 'java/sdk_test.go')
-rw-r--r--java/sdk_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/sdk_test.go b/java/sdk_test.go
index 32de8802a..915333ec9 100644
--- a/java/sdk_test.go
+++ b/java/sdk_test.go
@@ -55,6 +55,14 @@ func TestClasspath(t *testing.T) {
aidl: "",
},
{
+ name: `sdk_version:"core_platform"`,
+ properties: `sdk_version:"core_platform"`,
+ bootclasspath: config.DefaultBootclasspathLibraries,
+ system: config.DefaultSystemModules,
+ classpath: []string{},
+ aidl: "",
+ },
+ {
name: "blank sdk version",
properties: `sdk_version: "",`,
bootclasspath: config.DefaultBootclasspathLibraries,