BUILD.bazel 592 B

12345678910111213141516171819202122
  1. licenses(["notice"])
  2. exports_files(["COPYING"])
  3. load(":bazel/glog.bzl", "glog_library")
  4. glog_library()
  5. # platform() to build with clang-cl on Bazel CI. This is enabled with
  6. # the flags in .bazelci/presubmit.yml:
  7. #
  8. # --incompatible_enable_cc_toolchain_resolution
  9. # --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
  10. # --extra_execution_platforms=//:x64_windows-clang-cl
  11. platform(
  12. name = "x64_windows-clang-cl",
  13. constraint_values = [
  14. "@platforms//cpu:x86_64",
  15. "@platforms//os:windows",
  16. "@bazel_tools//tools/cpp:clang-cl",
  17. ],
  18. )