From 50c217c744901bf8a2408f110840bf22225ae361 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Wed, 12 Jun 2019 13:25:22 +0100 Subject: 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 --- java/sdk_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'java/sdk_test.go') 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 @@ -54,6 +54,14 @@ func TestClasspath(t *testing.T) { classpath: []string{}, 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: "",`, -- cgit v1.2.3-59-g8ed1b