Skip to content

Commit

Permalink
Add build dependencies for arenaz_sampler_test.
Browse files Browse the repository at this point in the history
We are seeing some GHA breakages; they may have been caused by
#20052 as the Bazel build rules
couldn't find the necessary headers.

PiperOrigin-RevId: 721895082
  • Loading branch information
tonyliaoss authored and copybara-github committed Jan 31, 2025
1 parent 0644388 commit 5befae0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/build_targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def build_targets(name):
"@com_google_absl//absl/log:absl_check",
"@com_google_absl//absl/log:absl_log",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
] + select({
"//conditions:default": [],
Expand Down
6 changes: 6 additions & 0 deletions src/google/protobuf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -1385,9 +1385,15 @@ cc_test(
srcs = ["arenaz_sampler_test.cc"],
deps = [
":arena",
":arena_allocation_policy",
":port",
":protobuf",
"//src/google/protobuf/stubs",
"@com_google_absl//absl/log:absl_check",
"@com_google_absl//absl/numeric:bits",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest",
"@com_google_googletest//:gtest_main",
],
Expand Down

0 comments on commit 5befae0

Please sign in to comment.