@@ -22,6 +22,7 @@ bazel_dep(name = "rules_license", version = "1.0.0")
2222bazel_dep (name = "rules_jvm_external" , version = "6.8" )
2323bazel_dep (name = "rules_java" , version = "8.15.1" )
2424bazel_dep (name = "rules_go" , version = "0.57.0" , repo_name = "io_bazel_rules_go" )
25+ bazel_dep (name = "rules_foreign_cc" , version = "0.15.0" ) # specified to ensure more recent version than @grpc/@opencensus-cpp/@google_benchmark
2526bazel_dep (name = "rules_cc" , version = "0.2.0" )
2627bazel_dep (name = "protobuf" , version = PROTOBUF_VERSION , repo_name = "com_google_protobuf" )
2728bazel_dep (name = "package_metadata" , version = "0.0.5" )
@@ -60,50 +61,6 @@ http_archive(
6061 urls = ["https://github.com/protocolbuffers/protobuf-javascript/archive/861c8020a5c0cba9b7cdf915dffde96a4421a1f4.tar.gz" ],
6162)
6263
63- [
64- http_archive (
65- name = "prebuilt_protoc-" + asset ["arch" ],
66- build_file_content = """
67- filegroup(
68- name = "protoc",
69- srcs = ["bin/protoc%s"],
70- visibility = ["//visibility:public"],
71- )
72- """ % asset ["extension" ],
73- sha256 = asset ["sha256" ],
74- urls = ["https://github.com/google/protobuf/releases/download/v{version}/protoc-{version}-{arch}.zip" .format (
75- arch = asset ["arch" ],
76- version = asset ["version" ],
77- )],
78- )
79- for asset in [
80- {
81- "arch" : "linux-x86_64" ,
82- "sha256" : "7ca037bfe5e5cabd4255ccd21dd265f79eb82d3c010117994f5dc81d2140ee88" ,
83- "version" : PROTOBUF_VERSION ,
84- "extension" : "" ,
85- },
86- {
87- "arch" : "osx-x86_64" ,
88- "sha256" : "b4f36b18202d54d343a66eebc9f8ae60809a2a96cc2d1b378137550bbe4cf33c" ,
89- "version" : PROTOBUF_VERSION ,
90- "extension" : "" ,
91- },
92- {
93- "arch" : "osx-aarch_64" ,
94- "sha256" : "09a2c729cc821215cc0d4c564b761760961fe338c52f24b302fd7e18e7b675d1" ,
95- "version" : PROTOBUF_VERSION ,
96- "extension" : "" ,
97- },
98- {
99- "arch" : "win64" ,
100- "sha256" : "89c178e9f878cb6dd561f677688e1eb2e757cb9ac84ae30b64436bac19646996" ,
101- "version" : PROTOBUF_VERSION ,
102- "extension" : ".exe" ,
103- },
104- ]
105- ]
106-
10764http_archive (
10865 name = "com_github_grpc_grpc_node_packages_grpc_tools_src" ,
10966 build_file_content = """
0 commit comments