Merge "Allow java_test.go tests to use any Android.bp file"

This commit is contained in:
Paul Duffin 2019-06-13 06:56:56 +00:00 committed by Gerrit Code Review
commit 45656aacab
1 changed files with 1 additions and 1 deletions

View File

@ -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)