Lock down environment variable access after all other singletons

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
This commit is contained in:
Dan Willemsen 2016-05-12 19:03:10 -07:00
parent 7f08e21941
commit e8b1bc0a68
1 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,6 @@ bootstrap_go_package {
"common/config.go", "common/config.go",
"common/defaults.go", "common/defaults.go",
"common/defs.go", "common/defs.go",
"common/env.go",
"common/glob.go", "common/glob.go",
"common/makevars.go", "common/makevars.go",
"common/module.go", "common/module.go",
@ -103,6 +102,9 @@ bootstrap_go_package {
"common/paths.go", "common/paths.go",
"common/util.go", "common/util.go",
"common/variable.go", "common/variable.go",
// Lock down environment access last
"common/env.go",
], ],
testSrcs: [ testSrcs: [
"common/paths_test.go", "common/paths_test.go",