aboutsummaryrefslogtreecommitdiffstats
path: root/java/testing.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-02-15 23:06:46 -0800
committerColin Cross <ccross@android.com>2019-02-20 22:06:29 -0800
commit44df581457856fd23a4d78e6aed58e8ed9665d48 (patch)
tree11708cc17649b387cc7c55f0f22be53e38e76d4f /java/testing.go
parent69f59a33271bc0646282f698754384f6bfe90624 (diff)
downloadandroid_build_soong-44df581457856fd23a4d78e6aed58e8ed9665d48.tar.gz
android_build_soong-44df581457856fd23a4d78e6aed58e8ed9665d48.tar.bz2
android_build_soong-44df581457856fd23a4d78e6aed58e8ed9665d48.zip
Refactor dexpreopt_bootjars.go to prepare for multiple boot images
Refactor dexpreopt_bootjars.go so that buildBootImage can be called with a bootImageConfig to create rules to build the boot image in preparation for building multiple boot images. Test: m checkbuild Change-Id: I7ba40a0988c8acbd6c1ee4e36f4bbb34fb4e2d24
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/testing.go b/java/testing.go
index bec3c0b2..6c4020ce 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -32,7 +32,7 @@ func TestConfig(buildDir string, env map[string]string) android.Config {
config.TestProductVariables.DeviceSystemSdkVersions = []string{"14", "15"}
pathCtx := android.PathContextForTesting(config, nil)
- setDexpreoptGlobalConfig(config, dexpreopt.GlobalConfigForTests(pathCtx))
+ setDexpreoptTestGlobalConfig(config, dexpreopt.GlobalConfigForTests(pathCtx))
return config
}