Skip to content

Commit 1db7b9e

Browse files
committed
Upgrade gRPC-C++ to 1.25.0
This unblocks nanopb changes proposed in #4264.
1 parent bd5c72f commit 1db7b9e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

FirebaseFirestore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
7171
s.dependency 'abseil/time', abseil_version
7272
s.dependency 'abseil/types', abseil_version
7373

74-
s.dependency 'gRPC-C++', '0.0.9'
74+
s.dependency 'gRPC-C++', '~> 1.25.0'
7575
s.dependency 'leveldb-library', '~> 1.22'
7676
s.dependency 'nanopb', '~> 0.3.901'
7777

cmake/external/grpc.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ if(TARGET grpc)
1818
return()
1919
endif()
2020

21+
set(version 1.25.0)
22+
2123
ExternalProject_Add(
2224
grpc-download
2325

2426
DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
25-
DOWNLOAD_NAME grpc-1.24.3.tar.gz
26-
URL https://github.com/grpc/grpc/archive/v1.24.3.tar.gz
27-
URL_HASH SHA256=c84b3fa140fcd6cce79b3f9de6357c5733a0071e04ca4e65ba5f8d306f10f033
27+
DOWNLOAD_NAME grpc-${version}.tar.gz
28+
URL https://github.com/grpc/grpc/archive/v${version}.tar.gz
29+
URL_HASH SHA256=ffbe61269160ea745e487f79b0fd06b6edd3d50c6d9123f053b5634737cf2f69
2830

2931
PREFIX ${PROJECT_BINARY_DIR}
3032
SOURCE_DIR ${PROJECT_BINARY_DIR}/src/grpc

0 commit comments

Comments
 (0)