Merge "Allow java_test.go tests to use any Android.bp file" am: 45656aacab
am: e6cb60da57
Change-Id: I0fedcef906e6e59e004115d421df1a152348a02c
This commit is contained in:
commit
a14f280cb0
|
@ -212,7 +212,7 @@ func run(t *testing.T, ctx *android.TestContext, config android.Config) {
|
|||
setDexpreoptTestGlobalConfig(config, dexpreopt.GlobalConfigForTests(pathCtx))
|
||||
|
||||
ctx.Register()
|
||||
_, errs := ctx.ParseFileList(".", []string{"Android.bp", "prebuilts/sdk/Android.bp"})
|
||||
_, errs := ctx.ParseBlueprintsFiles("Android.bp")
|
||||
android.FailIfErrored(t, errs)
|
||||
_, errs = ctx.PrepareBuildActions(config)
|
||||
android.FailIfErrored(t, errs)
|
||||
|
|
Loading…
Reference in New Issue