Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 6004844

Browse files
authored
com_google_benchmark should be com_github_google_benchmark. (#172)
Must be defined before grpc_deps().
1 parent 3734f90 commit 6004844

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

WORKSPACE

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ http_archive(
2929
urls = ["https://github.com/google/googletest/archive/master.zip"],
3030
)
3131

32+
# Google Benchmark library.
33+
# Only needed for benchmarks, not to build the OpenCensus library.
34+
http_archive(
35+
name = "com_github_google_benchmark",
36+
urls = ["https://github.com/google/benchmark/archive/master.zip"],
37+
strip_prefix = "benchmark-master",
38+
)
39+
3240
# gRPC
3341
http_archive(
3442
name = "com_github_grpc_grpc",
@@ -50,14 +58,6 @@ bind(
5058
actual = "@com_github_grpc_grpc//:grpc_cpp_plugin",
5159
)
5260

53-
# Google Benchmark library.
54-
# Only needed for benchmarks, not to build the OpenCensus library.
55-
http_archive(
56-
name = "com_google_benchmark",
57-
urls = ["https://github.com/google/benchmark/archive/master.zip"],
58-
strip_prefix = "benchmark-master",
59-
)
60-
6161
# Prometheus client library - used by Prometheus exporter.
6262
http_archive(
6363
name = "com_github_jupp0r_prometheus_cpp",

opencensus/common/internal/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ cc_binary(
7878
linkstatic = 1,
7979
deps = [
8080
":random_lib",
81-
"@com_google_benchmark//:benchmark",
81+
"@com_github_google_benchmark//:benchmark",
8282
],
8383
)
8484

opencensus/stats/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,6 @@ cc_binary(
268268
"@com_google_absl//absl/memory",
269269
"@com_google_absl//absl/strings",
270270
"@com_google_absl//absl/time",
271-
"@com_google_benchmark//:benchmark",
271+
"@com_github_google_benchmark//:benchmark",
272272
],
273273
)

opencensus/trace/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ cc_binary(
279279
linkstatic = 1,
280280
deps = [
281281
":trace",
282-
"@com_google_benchmark//:benchmark",
282+
"@com_github_google_benchmark//:benchmark",
283283
],
284284
)
285285

@@ -292,7 +292,7 @@ cc_binary(
292292
linkstatic = 1,
293293
deps = [
294294
":trace",
295-
"@com_google_benchmark//:benchmark",
295+
"@com_github_google_benchmark//:benchmark",
296296
],
297297
)
298298

@@ -305,6 +305,6 @@ cc_binary(
305305
linkstatic = 1,
306306
deps = [
307307
":trace",
308-
"@com_google_benchmark//:benchmark",
308+
"@com_github_google_benchmark//:benchmark",
309309
],
310310
)

0 commit comments

Comments
 (0)