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

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

Load env variables before c.config() am: 062b0115 am: ef9d91b7 am: 50c2a1b2

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

Change-Id: Icdc1f7ae24c28a7865b6552b8c29dd33524b2f4c
parents 6254db8b 50c2a1b2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -205,13 +205,12 @@ 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)