aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis/AnalysisUtils.java
diff options
context:
space:
mode:
authorGravatar Greg Estren <gregce@google.com>2015-03-05 21:46:34 +0000
committerGravatar Ulf Adams <ulfjack@google.com>2015-03-06 09:16:40 +0000
commit42bece1e02afbf55b29fe7fea154e9de4e91871d (patch)
tree0cc403255ae655f3eb12ddef3c6db240f35030a9 /src/main/java/com/google/devtools/build/lib/analysis/AnalysisUtils.java
parent24b69a72cbb785e4aa2f74f2fb5b3aef8d72e88a (diff)
Add --target_environment flag. This declares the environment (or set of environments)
the build is being done for. In other words: blaze build //foo:all --target_environment=//buildenv/target:gce declares that this build targets GCE, so all top-level targets must also support GCE. This essentially allows constraint enforcement to apply to top-level targets, too. So users can protect against accidentally building targets in configurations they're not meant to work with. -- MOS_MIGRATED_REVID=87862252
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/AnalysisUtils.java')
0 files changed, 0 insertions, 0 deletions