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:
commit
f46fc703f2
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue