Update .bazelrc to match core This allows sharing the bazel caches. Change-Id: I312275d408f1b4a46218c2ba3136cff39e7cbfa5
diff --git a/.bazelrc b/.bazelrc index f9248ea..e2feeb4 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -1,2 +1,13 @@ build --workspace_status_command="python3 ./tools/workspace_status.py" +build --repository_cache=~/.gerritcodereview/bazel-cache/repository +build --action_env=PATH +build --disk_cache=~/.gerritcodereview/bazel-cache/cas + +# 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