Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The vendored instance of googletest v1.11.0 is not supported by current Bazel version.
# It will cause errors in Bazel if not ignored
# A fixed version exists on the central Bazel registry that can be used on the Bazel side:
# https://registry.bazel.build/modules/googletest/1.11.0
# The vendored googletest contains BUILD.bazel files referencing @rules_python and
# @com_google_absl, which are not in this Bzlmod graph. Without this entry,
# bazel query //... crawls into the directory and fails. The module is exposed to
# Bazel via local_path_override in MODULE.bazel instead.
libs/3rdparty/googletest
5 changes: 5 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ bazel_dep(name = "bazel_skylib", version = "1.9.0")

bazel_dep(name = "buildifier_prebuilt", version = "8.5.1.1", dev_dependency = True)

local_path_override(
module_name = "googletest",
path = "libs/3rdparty/googletest",
)

register_toolchains(
"//bazel/toolchain:cc_toolchain_arm_none_eabi_gcc",
)
50 changes: 0 additions & 50 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions libs/3rdparty/googletest/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module(
name = "googletest",
version = "1.12.1",
compatibility_level = 1,
)

bazel_dep(name = "abseil-cpp", version = "20210324.2", repo_name = "com_google_absl")
bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "rules_cc", version = "0.0.1")
Loading
Loading