aboutsummaryrefslogtreecommitdiffstats
path: root/java/testing.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-02-21 05:03:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-02-21 05:03:41 +0000
commit501d7e594ab483932c7785ff9f7e3c46f985ee6f (patch)
tree59df3b0b60e2379831907bea666aa8b42d58fc07 /java/testing.go
parent4bb6764de99488010b75dd546bada98435729f49 (diff)
parentab898dc4a4645166c469e5409d2f42282a72d777 (diff)
downloadandroid_build_soong-501d7e594ab483932c7785ff9f7e3c46f985ee6f.tar.gz
android_build_soong-501d7e594ab483932c7785ff9f7e3c46f985ee6f.tar.bz2
android_build_soong-501d7e594ab483932c7785ff9f7e3c46f985ee6f.zip
Merge "Revert "Make RuleBuilder methods take Paths""
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 bec3c0b2..6febfa1d 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
}