summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go
index e8298a224..db0b7a732 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -59,7 +59,9 @@ func testConfig(env map[string]string) android.Config {
if env["ANDROID_JAVA8_HOME"] == "" {
env["ANDROID_JAVA8_HOME"] = "jdk8"
}
- return android.TestArchConfig(buildDir, env)
+ config := android.TestArchConfig(buildDir, env)
+ config.ProductVariables.DeviceSystemSdkVersions = &[]string{"14", "15"}
+ return config
}