Revert "Load env variables before c.config()" am: 4e88859af0

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

Change-Id: I954c16917928fe1e4eace7209558b42d517c14ab
This commit is contained in:
Kousik Kumar 2021-09-02 00:18:52 +00:00 committed by Automerger Merge Worker
commit 9ee45ad09a
1 changed files with 2 additions and 1 deletions

View File

@ -195,12 +195,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)