File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,13 @@ else()
174
174
set (ZLIB_ROOT_DIR ${FIREBASE_EXTERNAL_SOURCE_DIR} /zlib )
175
175
endif ()
176
176
177
+ find_package (re2 QUIET )
178
+ if (RE2_FOUND )
179
+ set (gRPC_RE2_PROVIDER package CACHE STRING "Use external re2" )
180
+ else ()
181
+ set (RE2_ROOT_DIR ${FIREBASE_EXTERNAL_SOURCE_DIR} /re2 )
182
+ endif ()
183
+
177
184
set (gRPC_BUILD_TESTS OFF CACHE BOOL "Disable gRPC tests" )
178
185
set (gRPC_BUILD_CODEGEN OFF CACHE BOOL "Disable gRPC codegen" )
179
186
set (gRPC_BUILD_CSHARP_EXT OFF CACHE BOOL "Disable gRPC C# extensions" )
Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ if(TARGET protobuf)
18
18
return ()
19
19
endif ()
20
20
21
- # Based on https://github.com/grpc/grpc/blob/v1.44.0/bazel/grpc_deps.bzl
22
- set (commit cb46755e6405e083b45481f5ea4754b180705529 )
21
+ # Based on https://github.com/grpc/grpc/blob/v1.27.0/bazel/grpc_deps.bzl
22
+ # v3.11.4, master@{2020-01-15}
23
+ set (commit 29cd005ce1fe1a8fabf11e325cb13006a6646d59 )
23
24
24
25
ExternalProject_Add (
25
26
protobuf
26
27
27
28
DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
28
29
DOWNLOAD_NAME protobuf-${commit}.tar.gz
29
30
URL https://github.com/protocolbuffers/protobuf/archive/${commit}.tar.gz
30
- URL_HASH SHA256=1f11c0cb85d5006da7032ac588f87e2e3eb28e9b095f81aba8956cb3635c8d4e
31
+ URL_HASH SHA256=51398b0b97b353c1c226d0ade0bae80c80380e691cba7c1a108918986784a1c7
31
32
32
33
PREFIX ${PROJECT_BINARY_DIR}
33
34
SOURCE_DIR ${PROJECT_BINARY_DIR} /src/protobuf
You can’t perform that action at this time.
0 commit comments