aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-05-12 19:03:10 -0700
committerDan Willemsen <dwillemsen@google.com>2016-05-12 19:03:10 -0700
commite8b1bc0a689322e2d8dcc92336af606b939c67c6 (patch)
treec8ca5b4b26ec926c79f892060ff167043e0083a3
parent7f08e2194177daafbc9c103a7d3f7df1bd0903d7 (diff)
downloadbuild_soong-e8b1bc0a689322e2d8dcc92336af606b939c67c6.tar.gz
build_soong-e8b1bc0a689322e2d8dcc92336af606b939c67c6.tar.bz2
build_soong-e8b1bc0a689322e2d8dcc92336af606b939c67c6.zip
Lock down environment variable access after all other singletonsandroid-wear-n-preview-1android-n-preview-3
To allow other singletons to use new environment variables, move env.go to the end of the source list, so that its singleton is run last. Change-Id: Ic92308f72fc0c92a0fedbc5546e337940e32eaab
-rw-r--r--Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index c1d664f4..a9e41d9f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -94,7 +94,6 @@ bootstrap_go_package {
"common/config.go",
"common/defaults.go",
"common/defs.go",
- "common/env.go",
"common/glob.go",
"common/makevars.go",
"common/module.go",
@@ -103,6 +102,9 @@ bootstrap_go_package {
"common/paths.go",
"common/util.go",
"common/variable.go",
+
+ // Lock down environment access last
+ "common/env.go",
],
testSrcs: [
"common/paths_test.go",