Merge "Export Ninja file paths to lunch repo rule from bazel.go"

This commit is contained in:
Jingwen Chen 2020-11-12 08:32:50 +00:00 committed by Gerrit Code Review
commit 44db598b3e
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ func runBazel(ctx Context, config Config) {
outputGroups = strings.Join(config.ninjaArgs, ",")
}
config.environ.Set("COMBINED_NINJA", config.CombinedNinjaFile())
config.environ.Set("KATI_NINJA", config.KatiBuildNinjaFile())
config.environ.Set("PACKAGE_NINJA", config.KatiPackageNinjaFile())
config.environ.Set("SOONG_NINJA", config.SoongNinjaFile())
bazelExecutable := filepath.Join("tools", "bazel")
cmd := Command(ctx, config, "bazel", bazelExecutable)