diff --git a/.bazelrc b/.bazelrc index 0023bdb2..63847eb3 100644 --- a/.bazelrc +++ b/.bazelrc @@ -12,6 +12,15 @@ # See the License for the specific language governing permissions and # limitations under the License. +common --enable_platform_specific_config + +# Suppress warnings from external repositories if possible. +build --features=external_include_paths +build --host_features=external_include_paths + +# FIXME: This shouldn’t be necessary. File bug against Bazel. +build:windows --copts='/external:W3' --host_copts='/external:W3' + # Run Pylint by default. build --aspects='//private:defs.bzl%check_python' build --output_groups='+check_python'