@@ -33,18 +33,19 @@ http_archive(
3333# Only needed for benchmarks, not to build the OpenCensus library.
3434http_archive (
3535 name = "com_github_google_benchmark" ,
36- urls = ["https://github.com/google/benchmark/archive/master.zip" ],
3736 strip_prefix = "benchmark-master" ,
37+ urls = ["https://github.com/google/benchmark/archive/master.zip" ],
3838)
3939
4040# gRPC
4141http_archive (
4242 name = "com_github_grpc_grpc" ,
43+ strip_prefix = "grpc-master" ,
4344 urls = ["https://github.com/grpc/grpc/archive/master.tar.gz" ],
44- strip_prefix = "grpc-master"
4545)
4646
4747load ("@com_github_grpc_grpc//bazel:grpc_deps.bzl" , "grpc_deps" )
48+
4849grpc_deps ()
4950
5051# These bind()s are needed for the cc_grpc_library() rule to work.
@@ -73,10 +74,8 @@ load_civetweb()
7374# Curl library - used by zipkin exporter.
7475new_http_archive (
7576 name = "com_github_curl" ,
76- urls = ["https://github.com/curl/curl/archive/master.zip" ],
77- strip_prefix = "curl-master" ,
7877 build_file_content =
79- """
78+ """
8079load("@io_opencensus_cpp//opencensus:curl.bzl", "CURL_COPTS")
8180package(features = ['no_copts_tokenization'])
8281
@@ -108,16 +107,16 @@ cc_library(
108107 ],
109108 visibility = ["//visibility:public"],
110109)
111- """
110+ """ ,
111+ strip_prefix = "curl-master" ,
112+ urls = ["https://github.com/curl/curl/archive/master.zip" ],
112113)
113114
114115# Rapidjson library - used by zipkin exporter.
115116new_http_archive (
116117 name = "com_github_rapidjson" ,
117- urls = ["https://github.com/Tencent/rapidjson/archive/master.zip" ],
118- strip_prefix = "rapidjson-master" ,
119118 build_file_content =
120- """
119+ """
121120cc_library(
122121 name = "rapidjson",
123122 srcs = [],
@@ -130,5 +129,7 @@ cc_library(
130129 defines = ["RAPIDJSON_HAS_STDSTRING=1",],
131130 visibility = ["//visibility:public"],
132131)
133- """
132+ """ ,
133+ strip_prefix = "rapidjson-master" ,
134+ urls = ["https://github.com/Tencent/rapidjson/archive/master.zip" ],
134135)
0 commit comments