summaryrefslogtreecommitdiff
path: root/java/testing.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2019-02-20 21:17:11 -0800
committer android-build-merger <android-build-merger@google.com> 2019-02-20 21:17:11 -0800
commit395d1b0ecb19648469f9abe38ed308d72b9f495d (patch)
tree2f41ed3aa527385a7157a06a05de665c2b29c30f /java/testing.go
parent43e1ff53379a76a876386e69e12bbb24f227424d (diff)
parentec60a92074d289ddbf4c65541c58e32926a42f7c (diff)
Merge "Revert "Make RuleBuilder methods take Paths"" am: 501d7e594a am: dc68f8826c
am: ec60a92074 Change-Id: I4519fd0157c6f1287135879ad42a2d1ffaf59515
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/java/testing.go b/java/testing.go
index a55a1eef4..713eca1a3 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -18,7 +18,6 @@ import (
"fmt"
"android/soong/android"
- "android/soong/dexpreopt"
)
func TestConfig(buildDir string, env map[string]string) android.Config {
@@ -31,9 +30,6 @@ func TestConfig(buildDir string, env map[string]string) android.Config {
config := android.TestArchConfig(buildDir, env)
config.TestProductVariables.DeviceSystemSdkVersions = []string{"14", "15"}
- pathCtx := android.PathContextForTesting(config, nil)
- setDexpreoptGlobalConfig(config, dexpreopt.GlobalConfigForTests(pathCtx))
-
return config
}