Fix build with Bazel@HEAD

With WORKSPACE being disabled at HEAD, all dependencies must be specified in MODULE.bazel

Fixing https://github.com/google/glog/issues/1127
This commit is contained in:
Yun Peng 2024-09-13 15:47:44 +02:00 committed by GitHub
parent b3b9eb987f
commit 56066523d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,3 +5,8 @@ module(
bazel_dep(name = "gflags", version = "2.2.2")
bazel_dep(name = "googletest", version = "1.14.0", dev_dependency = True)
bazel_dep(name = "platforms", version = "0.0.10")
# Required for Windows clang-cl build: --extra_toolchains=@local_config_cc//:cc-toolchain-arm64_windows
cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc")