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

Commit 8c1a61a3 authored by Kousik Kumar's avatar Kousik Kumar Committed by Automerger Merge Worker
Browse files

Revert "Load env variables before c.config()" am: 4e88859a am: 51c318f4 am: e41ee225

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/15741350

Change-Id: I1566f5e15e1a28da20c4c7c37bd097c954528ffb
parents a9396f37 e41ee225
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -205,12 +205,13 @@ func main() {
		Status:  stat,
	}}

	config := c.config(buildCtx, args...)

	if err := loadEnvConfig(); err != nil {
		fmt.Fprintf(os.Stderr, "failed to parse env config files: %v", err)
		os.Exit(1)
	}

	config := c.config(buildCtx, args...)

	build.SetupOutDir(buildCtx, config)