Skip to content

Commit 7e50de8

Browse files
dconeybejonsimantova-maurice
authored
Add RE2 library to desktop packaging & Update MSVC dependencies (#981)
* blastdoor configuration for re2 * Fix re2 library embed to only go into Firestore. * Remove extra namespaces - they are underneath re2:: * Add dbghelp and bcrypt to needed Firestore libs * Update readme.md * Release note change Co-authored-by: Jon Simantov <[email protected]> Co-authored-by: a-maurice <[email protected]>
1 parent f918b73 commit 7e50de8

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

build_scripts/desktop/package.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ readonly deps_hidden_firebase_firestore="
205205
*/firestore-build/*/grpc-build/${subdir}${prefix}*.${ext}
206206
*/firestore-build/*/grpc-build/third_party/cares/*${subdir}${prefix}*.${ext}
207207
*/firestore-build/*/grpc-build/third_party/abseil-cpp/*${subdir}${prefix}*.${ext}
208+
*/firestore-build/*/grpc-build/third_party/re2/*${subdir}${prefix}re2.${ext}
208209
"
209210

210211
# List of C++ namespaces to be renamed, so as to not conflict with the
@@ -228,7 +229,7 @@ readonly -a rename_namespaces=(flatbuffers flexbuffers reflection ZLib bssl uWS
228229
grpc_ssl_server_credentials grpc_tls_credential_reload_config
229230
grpc_tls_server_authorization_check_config GrpcUdpListener leveldb
230231
leveldb_filterpolicy_create_bloom leveldb_writebatch_iterate strings
231-
TlsCredentials TlsServerCredentials tsi snappy)
232+
TlsCredentials TlsServerCredentials tsi snappy re2)
232233

233234
# String to prepend to all hidden symbols.
234235
readonly rename_string=f_b_

firestore/integration_test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ else()
196196
"-framework SystemConfiguration"
197197
)
198198
elseif(MSVC)
199-
set(ADDITIONAL_LIBS advapi32 ws2_32 crypt32)
199+
set(ADDITIONAL_LIBS advapi32 ws2_32 crypt32 dbghelp bcrypt)
200200
else()
201201
set(ADDITIONAL_LIBS pthread)
202202
endif()

release_build_files/readme.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ information):
452452
Firebase C++ Library | Windows SDK library dependencies
453453
-------------------- | -----------------------------------------------------
454454
Authentication | `advapi32, ws2_32, crypt32`
455-
Firestore | `advapi32, ws2_32, crypt32, rpcrt4, ole32, shell32`
455+
Firestore | `advapi32, ws2_32, crypt32, rpcrt4, ole32, shell32, dbghelp, bcrypt`
456456
Functions | `advapi32, ws2_32, crypt32, rpcrt4, ole32`
457457
Realtime Database | `advapi32, ws2_32, crypt32, iphlpapi, psapi, userenv, shell32`
458458
Remote Config | `advapi32, ws2_32, crypt32, rpcrt4, ole32`
@@ -605,8 +605,11 @@ code.
605605
only using AdMob, Analytics, Remote Config, or Messaging.
606606
- Functions: Add a new method `GetHttpsCallableFromURL`, to create callables
607607
with URLs other than cloudfunctions.net.
608-
- Analytics (iOS): Added InitiateOnDeviceConversionMeasurementWithEmail function to facilitate the
609-
[on-device conversion measurement](https://support.google.com/google-ads/answer/12119136) API.
608+
- Analytics (iOS): Added InitiateOnDeviceConversionMeasurementWithEmail
609+
function to facilitate the [on-device conversion
610+
measurement](https://support.google.com/google-ads/answer/12119136) API.
611+
- Firestore (Desktop): On Windows, you must additionally link against the
612+
bcrypt and dbghelp system libraries.
610613

611614
### 9.0.0
612615
- Changes

0 commit comments

Comments
 (0)