File tree 4 files changed +21
-4
lines changed
4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 1
- 4.1 .0
1
+ 6.5 .0
Original file line number Diff line number Diff line change 14
14
15
15
load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
16
16
load ("@emsdk//:deps.bzl" , emsdk_deps = "deps" )
17
+ load ("@rules_python//python:repositories.bzl" , "py_repositories" )
17
18
18
19
# Requires proxy_wasm_cpp_sdk_repositories() to be loaded first.
19
20
def proxy_wasm_cpp_sdk_dependencies ():
21
+ py_repositories ()
20
22
protobuf_deps ()
21
23
emsdk_deps ()
Original file line number Diff line number Diff line change @@ -24,12 +24,21 @@ def proxy_wasm_cpp_sdk_repositories():
24
24
url = "https://github.com/emscripten-core/emsdk/archive/refs/tags/3.1.67.tar.gz" ,
25
25
)
26
26
27
+ # protobuf depends on rules_python py_repositories
28
+ maybe (
29
+ http_archive ,
30
+ name = "rules_python" ,
31
+ sha256 = "778aaeab3e6cfd56d681c89f5c10d7ad6bf8d2f1a72de9de55b23081b2d31618" ,
32
+ strip_prefix = "rules_python-0.34.0" ,
33
+ url = "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz" ,
34
+ )
35
+
27
36
maybe (
28
37
http_archive ,
29
38
name = "com_google_protobuf" ,
30
- sha256 = "77ad26d3f65222fd96ccc18b055632b0bfedf295cb748b712a98ba1ac0b704b2 " ,
31
- strip_prefix = "protobuf-3.17.3 " ,
32
- url = "https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3 /protobuf-all-3.17.3 .tar.gz" ,
39
+ sha256 = "4fc5ff1b2c339fb86cd3a25f0b5311478ab081e65ad258c6789359cd84d421f8 " ,
40
+ strip_prefix = "protobuf-26.1 " ,
41
+ url = "https://github.com/protocolbuffers/protobuf/releases/download/v26.1 /protobuf-26.1 .tar.gz" ,
33
42
)
34
43
35
44
maybe (
Original file line number Diff line number Diff line change
1
+ PROXY_WASM_CPP_SDK =/sdk
2
+
3
+ PROTOBUF = # full / lite / none
4
+ WASM_DEPS= # absl_base re2 ...
5
+
6
+ include ${PROXY_WASM_CPP_SDK}/Makefile
You can’t perform that action at this time.
0 commit comments