This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,13 @@ workspace(name = "io_opencensus_cpp")
1616
1717load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
1818
19+ # Build rules for C++ projects.
20+ http_archive (
21+ name = "rules_cc" ,
22+ strip_prefix = "rules_cc-master" ,
23+ urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip" ],
24+ )
25+
1926# We depend on Abseil.
2027http_archive (
2128 name = "com_google_absl" ,
@@ -39,6 +46,20 @@ http_archive(
3946 urls = ["https://github.com/google/benchmark/archive/master.zip" ],
4047)
4148
49+ # Used by gRPC.
50+ http_archive (
51+ name = "build_bazel_rules_apple" ,
52+ strip_prefix = "rules_apple-master" ,
53+ urls = ["https://github.com/bazelbuild/rules_apple/archive/master.zip" ],
54+ )
55+
56+ load (
57+ "@build_bazel_rules_apple//apple:repositories.bzl" ,
58+ "apple_rules_dependencies" ,
59+ )
60+
61+ apple_rules_dependencies ()
62+
4263# Used by gRPC.
4364http_archive (
4465 name = "build_bazel_apple_support" ,
Original file line number Diff line number Diff line change @@ -51,10 +51,12 @@ def workspace_rule(self):
5151
5252# grep -A1 http_archive\( WORKSPACE
5353PROJECTS = [
54+ GitHubProject ('rules_cc' , 'bazelbuild' , 'rules_cc' ),
5455 GitHubProject ('com_google_absl' , 'abseil' , 'abseil-cpp' ),
5556 GitHubProject ('com_google_googletest' , 'google' , 'googletest' ),
5657 GitHubProject ('com_github_google_benchmark' , 'google' , 'benchmark' ),
5758 GitHubProject ('build_bazel_apple_support' , 'bazelbuild' , 'apple_support' ),
59+ GitHubProject ('build_bazel_rules_apple' , 'bazelbuild' , 'rules_apple' ),
5860 GitHubProject ('com_github_grpc_grpc' , 'grpc' , 'grpc' ),
5961 GitHubProject ('com_github_jupp0r_prometheus_cpp' , 'jupp0r' , 'prometheus-cpp' ),
6062 GitHubProject ('com_github_curl' , 'curl' , 'curl' ),
You can’t perform that action at this time.
0 commit comments