22Main dependencies of cel-cpp.
33"""
44
5- load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
5+ load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" , "http_jar" )
66
77def base_deps ():
88 """Base evaluator and test dependencies."""
@@ -49,17 +49,17 @@ def base_deps():
4949 sha256 = RE2_SHA256 ,
5050 )
5151
52- PROTOBUF_VERSION = "3.19.2 "
53- PROTOBUF_SHA = "4dd35e788944b7686aac898f77df4e9a54da0ca694b8801bd6b2a9ffc1b3085e "
52+ PROTOBUF_VERSION = "3.21.1 "
53+ PROTOBUF_SHA = "a295dd3b9551d3e2749a9969583dea110c6cdcc39d02088f7c7bb1100077e081 "
5454 http_archive (
5555 name = "com_google_protobuf" ,
5656 sha256 = PROTOBUF_SHA ,
5757 strip_prefix = "protobuf-" + PROTOBUF_VERSION ,
5858 urls = ["https://github.com/protocolbuffers/protobuf/archive/v" + PROTOBUF_VERSION + ".tar.gz" ],
5959 )
6060
61- GOOGLEAPIS_GIT_SHA = "77066268d1fd5d72278afc2aef1ebc1d2112cca6 " # Oct 01, 2021
62- GOOGLEAPIS_SHA = "dca75efd11a6295618dba919ad52fe551ba8bb85778d331a38c2bca282234296 "
61+ GOOGLEAPIS_GIT_SHA = "f19049fdd8dfc8b6eba387f4ef6d1d8b4d0103e7 " # May 31, 2022
62+ GOOGLEAPIS_SHA = "cbda1073fe2eb3b7a5a41fd940a592cfe1861895580c13bf25066896f9e9bede "
6363 http_archive (
6464 name = "com_google_googleapis" ,
6565 sha256 = GOOGLEAPIS_SHA ,
@@ -69,15 +69,10 @@ def base_deps():
6969
7070def parser_deps ():
7171 """ANTLR dependency for the parser."""
72- http_archive (
73- name = "rules_antlr" ,
74- sha256 = "26e6a83c665cf6c1093b628b3a749071322f0f70305d12ede30909695ed85591" ,
75- strip_prefix = "rules_antlr-0.5.0" ,
76- urls = ["https://github.com/marcohu/rules_antlr/archive/0.5.0.tar.gz" ],
77- )
7872
79- ANTLR4_RUNTIME_GIT_SHA = "70b2edcf98eb612a92d3dbaedb2ce0b69533b0cb" # Dec 7, 2021
80- ANTLR4_RUNTIME_SHA = "fae73909f95e1320701e29ac03bab9233293fb5b90d3ce857279f1b46b614c83"
73+ # Apr 15, 2022
74+ ANTLR4_VERSION = "4.10.1"
75+
8176 http_archive (
8277 name = "antlr4_runtimes" ,
8378 build_file_content = """
@@ -89,9 +84,14 @@ cc_library(
8984 includes = ["runtime/Cpp/runtime/src"],
9085)
9186 """ ,
92- sha256 = ANTLR4_RUNTIME_SHA ,
93- strip_prefix = "antlr4-" + ANTLR4_RUNTIME_GIT_SHA ,
94- urls = ["https://github.com/antlr/antlr4/archive/" + ANTLR4_RUNTIME_GIT_SHA + ".tar.gz" ],
87+ sha256 = "a320568b738e42735946bebc5d9d333170e14a251c5734e8b852ad1502efa8a2" ,
88+ strip_prefix = "antlr4-" + ANTLR4_VERSION ,
89+ urls = ["https://github.com/antlr/antlr4/archive/v" + ANTLR4_VERSION + ".tar.gz" ],
90+ )
91+ http_jar (
92+ name = "antlr4_jar" ,
93+ urls = ["https://www.antlr.org/download/antlr-" + ANTLR4_VERSION + "-complete.jar" ],
94+ sha256 = "41949d41f20d31d5b8277187735dd755108df52b38db6c865108d3382040f918" ,
9595 )
9696
9797def flatbuffers_deps ():
@@ -124,10 +124,10 @@ def cel_spec_deps():
124124 ],
125125 )
126126
127- CEL_SPEC_GIT_SHA = "c9ae91b24fdaf869d7c59a9f64863249a6a2905e " # 9/22/2021
127+ CEL_SPEC_GIT_SHA = "6040c0a6df9601751e628405706bac18948b8eb3 " # 3/31/2022
128128 http_archive (
129129 name = "com_google_cel_spec" ,
130- sha256 = "a911c4a5c5cea1c29dc57463cfea5614025654e6bb67a6aeebc57af3d132c8e4 " ,
130+ sha256 = "6b4ca28de8d8a3038a96c393774c2ab65abd6a57cb50295dddea406b2eeafc9e " ,
131131 strip_prefix = "cel-spec-" + CEL_SPEC_GIT_SHA ,
132132 urls = ["https://github.com/google/cel-spec/archive/" + CEL_SPEC_GIT_SHA + ".zip" ],
133133 )
0 commit comments