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

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

Change-Id: I05a70f3e67d1ac3638d0c113ba3787c276e97b09
This commit is contained in:
Kousik Kumar 2021-09-02 00:58:51 +00:00 committed by Automerger Merge Worker
commit f46fc703f2
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)