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

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

Change-Id: Ia229ea5263a3456015ad2d446ce9f77f5e7639d0
This commit is contained in:
Kousik Kumar 2021-09-02 00:33:21 +00:00 committed by Automerger Merge Worker
commit e41ee225ae
1 changed files with 2 additions and 1 deletions

View File

@ -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)