No description
Find a file
Colin Cross 68f55102da Support dependencies on environment variables
Ninja can't depend on environment variables, so modifying build
behavior based on environment variables requires coordinating
between the soong script that invokes ninja and the soong_build
manifest generator.

Allow any module to call Config.Getenv to get the contents of an
environment variable while registering a dependency on it.
After all modules have been processed write out the state of
all used environment variables to a JSON file called
.soong.environment.  During the next build the soong script
will use the soong_env tool to compare the contents of
.soong.environment to the current environment, and force a
build manifest regeneration by deleting the .soong.environment
file if any variables have changed.

Change-Id: Id0d81933a857bc2fc1cd7a393a3c6cec73dc4824
2015-03-26 14:13:49 -07:00
androidmk Update import paths for changes to blueprint 2015-03-23 12:57:34 -07:00
cc Refactor cc dependencies to avoid duplication 2015-03-25 13:49:24 -07:00
cmd Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
common Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
config Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
env Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
genrule Export cc types for art to inherit from 2015-03-25 11:33:06 -07:00
glob Update import paths for changes to blueprint 2015-03-23 12:57:34 -07:00
Blueprints Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
bootstrap.bash Replace soong script with a symlink 2015-03-25 14:09:02 -07:00
build.ninja.in Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
copygcclib.sh Add soong_build primary builder 2015-03-13 20:28:16 -07:00
doc.go Add soong_build primary builder 2015-03-13 20:28:16 -07:00
root.bp Updates for building art 2015-03-21 00:40:20 +00:00
soong.bash Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
soong.bootstrap.in Replace soong script with a symlink 2015-03-25 14:09:02 -07:00