-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds new dependency on org_golang_go_genproto for pre-compiled google/api protos. * Adds new dependency on a stripped copy of grpc_gateway for the actual google/api source protos. Fixes #77
- Loading branch information
Showing
3 changed files
with
45 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,37 @@ | ||
GOOGLEAPIS_BUILD_FILE = """ | ||
filegroup( | ||
name = "annotations_protos", | ||
srcs = [ | ||
"google/api/annotations.proto", | ||
"google/api/http.proto", | ||
], | ||
visibility = ["//visibility:public"] | ||
) | ||
""" | ||
|
||
DEPS = { | ||
|
||
"com_github_grpc_ecosystem_grpc_gateway": { | ||
"rule": "new_go_repository", | ||
"importpath": "github.com/grpc-ecosystem/grpc-gateway", | ||
"commit": "686368427ddb9a51628d63db6c74fbc96a206e1f", # Jan 24, 2017 | ||
"commit": "2ad234c172af14e85f3be9546f6c64c768d4eccd", # Apr 4, 2017 | ||
#"commit": "597c8c358cb7475bc9fc495af32f94065aa6b6e1", # Apr 24, 2017 | ||
# TODO: figure out why newest commit fails with `context.go:99: undefined: metadata.NewOutgoingContext` | ||
}, | ||
|
||
"com_github_grpc_ecosystem_grpc_gateway_googleapis": { | ||
"rule": "new_http_archive", | ||
"url": "http://github.com/grpc-ecosystem/grpc-gateway/archive/597c8c358cb7475bc9fc495af32f94065aa6b6e1.zip", | ||
"strip_prefix": "grpc-gateway-597c8c358cb7475bc9fc495af32f94065aa6b6e1/third_party/googleapis", # Apr 24, 2017 | ||
"sha256": "36d2f6f44271bc397c3ded20a35c3b78024e873615caf417fdafde08500ca78d", | ||
"build_file_content": GOOGLEAPIS_BUILD_FILE, | ||
}, | ||
|
||
"org_golang_google_genproto": { | ||
"rule": "new_go_repository", | ||
"importpath": "google.golang.org/genproto", | ||
"commit": "411e09b969b1170a9f0c467558eb4c4c110d9c77", # Apr 4, 2017 | ||
}, | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters