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

Build fix: grpc needs build_bazel_apple_support. #371

Merged
merged 3 commits into from
Aug 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ http_archive(
urls = ["https://github.com/google/benchmark/archive/master.zip"],
)

# Used by gRPC.
http_archive(
name = "build_bazel_apple_support",
strip_prefix = "apple_support-master",
urls = ["https://github.com/bazelbuild/apple_support/archive/master.zip"],
)

load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)

apple_support_dependencies()

# gRPC
http_archive(
name = "com_github_grpc_grpc",
Expand Down
5 changes: 5 additions & 0 deletions tools/pin_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,20 @@ def workspace_rule(self):
commit, sha256)


# grep -A1 http_archive\( WORKSPACE
PROJECTS = [
GitHubProject('com_google_absl', 'abseil', 'abseil-cpp'),
GitHubProject('com_google_googletest', 'google', 'googletest'),
GitHubProject('com_github_google_benchmark', 'google', 'benchmark'),
GitHubProject('build_bazel_apple_support', 'bazelbuild', 'apple_support'),
GitHubProject('com_github_grpc_grpc', 'grpc', 'grpc'),
GitHubProject('com_github_jupp0r_prometheus_cpp', 'jupp0r', 'prometheus-cpp'),
GitHubProject('com_github_curl', 'curl', 'curl'),
GitHubProject('com_github_tencent_rapidjson', 'Tencent', 'rapidjson'),
GitHubProject('com_google_googleapis', 'googleapis', 'googleapis'),
# io_bazel_rules_go is pinned.
GitHubProject('grpc_java', 'grpc', 'grpc-java'),
GitHubProject('io_opencensus_proto', 'census-instrumentation', 'opencensus-proto'),
]

for project in PROJECTS:
Expand Down