diff --git a/MODULE.bazel b/MODULE.bazel index ad50af76c6..4ca1787dd1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -15,7 +15,7 @@ bazel_dep(name = "rules_cc", version = "0.0.9") bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "platforms", version = "0.0.10") -bazel_dep(name = "google_benchmark", version = "1.8.4", dev_dependency = True, repo_name = "com_github_google_benchmark") +bazel_dep(name = "google_benchmark", version = "1.8.4", dev_dependency = True) bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True, repo_name = "com_google_googletest") bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "github_nlohmann_json") diff --git a/bazel/otel_cc_benchmark.bzl b/bazel/otel_cc_benchmark.bzl index 778c6977c6..10f5a0da66 100644 --- a/bazel/otel_cc_benchmark.bzl +++ b/bazel/otel_cc_benchmark.bzl @@ -25,7 +25,7 @@ def otel_cc_benchmark(name, srcs, deps, tags = [""]): native.cc_binary( name = name, srcs = srcs, - deps = deps + ["@com_github_google_benchmark//:benchmark"], + deps = deps + ["@google_benchmark//:benchmark"], tags = tags + ["manual"], ) @@ -44,7 +44,7 @@ def otel_cc_benchmark(name, srcs, deps, tags = [""]): native.cc_test( name = name + "_smoketest", srcs = srcs, - deps = deps + ["@com_github_google_benchmark//:benchmark"], + deps = deps + ["@google_benchmark//:benchmark"], args = ["--benchmark_min_time=1x"], tags = tags + ["benchmark"], )