Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44db598b authored by Jingwen Chen's avatar Jingwen Chen Committed by Gerrit Code Review
Browse files

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

parents fabdd28f a26ac3ca
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)