Load env variables before c.config() am: 062b011502
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/15723183 Change-Id: I6fd005904a174ae685853fcb9303e678ab7a48d0
This commit is contained in:
commit
ef9d91b7ac
|
@ -195,13 +195,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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue