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

Commit 2373e597 authored by Lukács T. Berki's avatar Lukács T. Berki Committed by Gerrit Code Review
Browse files

Merge "Fix the environment of soong_build:"

parents b3d6edd6 b4ced9d8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ func runSoong(ctx Context, config Config) {

		envFile := filepath.Join(config.SoongOutDir(), "soong.environment.used")
		getenv := func(k string) string {
			v, _ := config.Environment().Get(k)
			v, _ := soongBuildEnv.Get(k)
			return v
		}
		if stale, _ := shared.StaleEnvFile(envFile, getenv); stale {
@@ -187,7 +187,7 @@ func runSoong(ctx Context, config Config) {

		// For debugging
		if os.Getenv("SOONG_DELVE") != "" {
			// SOONG_DELVE is already in cmd.Environment
			ninjaEnv.Set("SOONG_DELVE", os.Getenv("SOONG_DELVE"))
			ninjaEnv.Set("SOONG_DELVE_PATH", shared.ResolveDelveBinary())
		}