File tree 5 files changed +18
-0
lines changed
5 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 51
51
[submodule "third_party/protoc-gen-validate "]
52
52
path = third_party/protoc-gen-validate
53
53
url = https://github.com/lyft/protoc-gen-validate.git
54
+ [submodule "third_party/upb "]
55
+ path = third_party/upb
56
+ url = https://github.com/google/upb.git
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ def grpc_deps():
8
8
actual = "@com_github_nanopb_nanopb//:nanopb" ,
9
9
)
10
10
11
+ native .bind (
12
+ name = "upblib" ,
13
+ actual = "@upb//:upb" ,
14
+ )
15
+
11
16
native .bind (
12
17
name = "absl-base" ,
13
18
actual = "@com_google_absl//absl/base" ,
@@ -184,6 +189,13 @@ def grpc_deps():
184
189
url = "https://github.com/census-instrumentation/opencensus-cpp/archive/fdf0f308b1631bb4a942e32ba5d22536a6170274.tar.gz" ,
185
190
)
186
191
192
+ if "upb" not in native .existing_rules ():
193
+ native .http_archive (
194
+ name = "upb" ,
195
+ strip_prefix = "upb-9ce4a77f61c134bbed28bfd5be5cd7dc0e80f5e3" ,
196
+ url = "https://github.com/google/upb/archive/9ce4a77f61c134bbed28bfd5be5cd7dc0e80f5e3.tar.gz" ,
197
+ )
198
+
187
199
188
200
# TODO: move some dependencies from "grpc_deps" here?
189
201
def grpc_test_only_deps ():
Original file line number Diff line number Diff line change 42
42
_TWISTED_CONSTANTLY_DEP_NAME = 'com_github_twisted_constantly'
43
43
44
44
_GRPC_DEP_NAMES = [
45
+ 'upb' ,
45
46
'boringssl' ,
46
47
'com_github_madler_zlib' ,
47
48
'com_google_protobuf' ,
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ cat << EOF | awk '{ print $1 }' | sort > "$want_submodules"
40
40
9245d481eb3e890f708ff2d7dadf2a10c04748ba third_party/libcxxabi (heads/release_60)
41
41
48cb18e5c419ddd23d9badcfe4e9df7bde1979b2 third_party/protobuf (v3.6.0.1-37-g48cb18e5)
42
42
e143189bf6f37b3957fb31743df6a1bcf4a8c685 third_party/protoc-gen-validate (v0.0.10)
43
+ 9ce4a77f61c134bbed28bfd5be5cd7dc0e80f5e3 third_party/upb (heads/upbc-cpp)
43
44
cacf7f1d4e3d44d871b605da3b647f07d718623f third_party/zlib (v1.2.11)
44
45
EOF
45
46
You can’t perform that action at this time.
0 commit comments