Skip to content

Commit

Permalink
Shield 'bazel version' from --define=absl=1.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 328981428
  • Loading branch information
fangism authored and hzeller committed Aug 28, 2020
1 parent 40040be commit 8c25281
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Enable support for absl types like string_view in gtest.
common --define="absl=1"
build --define="absl=1"
run --define="absl=1"
test --define="absl=1"
# Cannot use 'common' because 'bazel version' fails with this.

# Gather build version information
build --workspace_status_command=bazel/build-version.sh
run --workspace_status_command=bazel/build-version.sh
test --workspace_status_command=bazel/build-version.sh

0 comments on commit 8c25281

Please sign in to comment.