Make RuleBuilder methods take Paths am: 69f59a3327
am: fafab5c1ec
am: d123cd7459
Change-Id: I5277142b7486c80c1c93d2ecd9a90b387d93c4a9
This commit is contained in:
@@ -18,6 +18,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"android/soong/android"
|
||||
"android/soong/dexpreopt"
|
||||
)
|
||||
|
||||
func TestConfig(buildDir string, env map[string]string) android.Config {
|
||||
@@ -30,6 +31,9 @@ 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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user