aboutsummaryrefslogtreecommitdiffstats
path: root/java/testing.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-03-04 19:40:03 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-03-04 19:40:03 -0800
commit33db6a29cce03315fba7ea66d486875af7456462 (patch)
treea63ec1eda26583b4757334cdb46f8ad63aa6878d /java/testing.go
parent84e8518011192ad6d95ed227795e7283c6c52bf1 (diff)
parent7cb6f9e6016e84193f74f1454e7b7cb0ca346ea1 (diff)
downloadandroid_build_soong-33db6a29cce03315fba7ea66d486875af7456462.tar.gz
android_build_soong-33db6a29cce03315fba7ea66d486875af7456462.tar.bz2
android_build_soong-33db6a29cce03315fba7ea66d486875af7456462.zip
Move some java test setup later am: c28bb0b8f9 am: 7e2b9c48ca
am: 7cb6f9e601 Change-Id: Ib0924d35bc9cd844a071e5f8729f5e2f7b8b6745
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 4a441fe0..713eca1a 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)
- setDexpreoptTestGlobalConfig(config, dexpreopt.GlobalConfigForTests(pathCtx))
-
return config
}