summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2019-09-19 23:21:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-09-19 23:21:25 +0000
commit14b70edc076d4c976d6cc9fb380194e635de8e98 (patch)
tree68ade81f13c69073e2dd7fa11ffb543af9a46dad
parent5f4bc2ac0017ae52f5b6abbf50909ff514b0cb7d (diff)
parenta5c54897761e32dfbe880a65020587fb3377a125 (diff)
Merge ".bazelrc: Update 'strict_action_env' flag" into stable-2.14
-rw-r--r--.bazelrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/.bazelrc b/.bazelrc
index d6d4ce6cd3..433a190c08 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,10 +1,16 @@
build --workspace_status_command=./tools/workspace-status.sh --strategy=Closure=worker
build --repository_cache=~/.gerritcodereview/bazel-cache/repository
-build --experimental_strict_action_env
build --action_env=PATH
build --disk_cache=~/.gerritcodereview/bazel-cache/cas
build --java_toolchain //tools:error_prone_warnings_toolchain
+# Enable strict_action_env flag to. For more information on this feature see
+# https://groups.google.com/forum/#!topic/bazel-discuss/_VmRfMyyHBk.
+# This will be the new default behavior at some point (and the flag was flipped
+# shortly in 0.21.0 - https://github.com/bazelbuild/bazel/issues/7026). Remove
+# this flag here once flipped in Bazel again.
+build --incompatible_strict_action_env
+
test --build_tests_only
test --test_output=errors