Pass results of Finder into Blueprint
Bug: 64363847 Test: m -j Change-Id: I79db8c524af6e77c35a0199ec1876e5eb94e8971
This commit is contained in:
parent
94cc5662c4
commit
d3e141de80
3 changed files with 3 additions and 2 deletions
|
@ -116,7 +116,7 @@ func testCc(t *testing.T, bp string) *android.TestContext {
|
|||
"bar.c": nil,
|
||||
})
|
||||
|
||||
_, errs := ctx.ParseBlueprintsFiles("Android.bp")
|
||||
_, errs := ctx.ParseFileList(".", []string{"Android.bp"})
|
||||
failIfErrored(t, errs)
|
||||
_, errs = ctx.PrepareBuildActions(config)
|
||||
failIfErrored(t, errs)
|
||||
|
|
|
@ -134,7 +134,7 @@ func testJavaWithEnv(t *testing.T, bp string, env map[string]string) *android.Te
|
|||
"prebuilts/sdk/test_current/framework.aidl": nil,
|
||||
})
|
||||
|
||||
_, errs := ctx.ParseBlueprintsFiles("Android.bp")
|
||||
_, errs := ctx.ParseFileList(".", []string{"Android.bp"})
|
||||
fail(t, errs)
|
||||
_, errs = ctx.PrepareBuildActions(config)
|
||||
fail(t, errs)
|
||||
|
|
|
@ -36,6 +36,7 @@ func runSoong(ctx Context, config Config) {
|
|||
cmd.Environment.Set("BOOTSTRAP", "./build/blueprint/bootstrap.bash")
|
||||
cmd.Environment.Set("BUILDDIR", config.SoongOutDir())
|
||||
cmd.Environment.Set("GOROOT", filepath.Join("./prebuilts/go", config.HostPrebuiltTag()))
|
||||
cmd.Environment.Set("BLUEPRINT_LIST_FILE", filepath.Join(config.FileListDir(), "Android.bp.list"))
|
||||
cmd.Environment.Set("NINJA_BUILDDIR", config.OutDir())
|
||||
cmd.Environment.Set("SRCDIR", ".")
|
||||
cmd.Environment.Set("TOPNAME", "Android.bp")
|
||||
|
|
Loading…
Reference in a new issue