Commit Graph
10 Commits
Author SHA1 Message Date
wu-hui ab606e002e Upgrade cmake build to grpc 162 (#12417) 2024-03-21 13:29:06 -04:00
Jon Simantov 6ae867d07e Patch abseil-cpp to ignore deprecated errors in new Xcode. (#12498) 2024-03-08 13:30:52 -08:00
wu-hui 5677db8d73 Upgrade to grpc 150 and c++14 for cmake build (#10651)
* Upgrade grpc to 150 and C++ to 14 on Cocoapods and SPM

* Minor fixes

* Upgrade to grpc 150 and c++14 for cmake build

* Add sha256

* Revert "Minor fixes"

This reverts commit 143a3ca733.

* Revert "Upgrade grpc to 150 and C++ to 14 on Cocoapods and SPM"

This reverts commit 820598484a.
2023-04-03 13:44:15 -04:00
wu-hui 126965bdd4 CMake grpc upgrade to 1.44.0 (#9488) 2022-05-02 15:52:02 -04:00
Jon Simantov 76e2cd7187 When downloading external projects, provide a GitHub token if there is one. (#8899)
When downloading external projects, if the GITHUB_TOKEN environment variable is set, pass it to the external download cmake function via HTTP_HEADER.

This will prevent GitHub throttling the HTTP requests. Unauthenticated requests are limited by GitHub to 60 per IP address per hour, whereas authenticated requests are limited to 5,000 per user per hour.

(GitHub Actions runners automatically have the GITHUB_TOKEN environment variable set.)
2021-11-01 14:10:44 -04:00
Gil 1df5574c4f Upgrade gRPC-C++ to 1.28.0 (#4312)
This unblocks nanopb changes proposed in #4264.

This upgrades everything in the gRPC constellation of dependencies to match gRPC at 1.28:

  * gRPC to 1.28.0 (note that gRPC 1.28.1, while released, is a fix for just the python binding and there's no gRPC-C++ CocoaPod at that version)
  * Abseil to 20200225 (as of gRPC 1.27 this is now a gRPC dependency too; there's a later patch but gRPC doesn't use it yet)
  * Protobuf C++ to 3.11.4 (only used for testing in Firestore)
  * C-Ares to 1.15.0
  * BoringSSL to match (no change between gRPC 1.27.0 and 1.28.0)

Also, this disables CFStream-based transport on Apple platforms. This works around b/133182964, wherein CFStream will occasionally fail to raise a has-bytes-available events, causing Firestore to appear to hang.
2020-04-22 14:03:34 -07:00
Gil 1953cc59a4 Integrate with Abseil via CocoaPods (#4097)
Use Abseil 0.20190808
2019-11-05 09:12:34 -08:00
Gil 0f6103e404 Port StringPrintf from //base (#624)
* Port StringPrintf from //base.

  Prefer this to approaches based on variadic templates. While the variadic
  template mechanisms are strictly safer, they result in binary bloat we
  can't afford.

  This is essentially the same StringPrintf previously open sourced as a
  part of protobuf, though updated for C++11 which saves a copy and a
  temporary buffer on the heap.

* Add abseil as a subdirectory of Firestore

  This saves having to redefine all the libraries that abseil defines as
  imported libraries.

* Rename firebase_firesture_util_log_* targets

  Cut the log out of the name to reflect that these will get more
  components besides just logging.
2018-01-08 08:57:36 -08:00
Marek Gilbert 56c8c06594 Fix whitespace 2017-12-08 09:43:13 -08:00
Marek Gilbert 82810a84ff Add abseil-cpp to the superbuild 2017-12-07 13:02:53 -08:00