From 44df581457856fd23a4d78e6aed58e8ed9665d48 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 15 Feb 2019 23:06:46 -0800 Subject: 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 --- java/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/testing.go') 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 } -- cgit v1.2.3