Commit Graph
28 Commits
Author SHA1 Message Date
Gil f413995c77 Disable warnings in the Abseil build (#3164) 2019-06-10 15:49:27 -07:00
Marek Gilbert e1d39275b5 Fix ABSL_ASSERT when compiling with -Wcomma 2019-05-06 06:57:43 -07:00
Marek Gilbert 09d1074028 Merge branch 'abseil-mirror' into merge 2019-05-06 06:57:19 -07:00
Marek Gilbert f75dc2d8b5 Update abseil-cpp to a new upstream
Update to ca3f87560a0eef716195cadf66dc6b938a579ec6 master@{2019-04-23}
2019-05-06 06:34:08 -07:00
Gil f250f50c53 Update abseil to master@{2018-11-06} (#2058)
* Update abseil-cpp to a new upstream

Update to 7990fd459e9339467814ddb95000c87cb1e4d945 master@{2018-11-06}

* Re-apply -Wcomma fix

* Update add_subdirectory for Abseil

* Remove references to Firestore/Port (which longer exists)

* Fix ABSL_HAVE_THREAD_LOCAL when targeting iOS 8 in Xcode 10

* Clean up abseil warnings

* Clean up a Firestore format string warning.

* Exclude third_party/abseil-cpp from whitespace checks
2018-11-09 10:27:31 -08:00
Marek Gilbert 526bb0431c Update abseil-cpp to a new upstream
Update to 7990fd459e9339467814ddb95000c87cb1e4d945 master@{2018-11-06}
2018-11-07 14:46:11 -08:00
Gil 78849d3f09 Fix abseil running in a Release build (#1672)
Fix abseil compilation error that occurs in release mode
2018-08-10 12:51:40 -07:00
Gil fb9f24eaee Convert googletest and nanopb CMake builds to add_subdirectory (#1522)
* Add a download-only boringssl ExternalProject

Match boringssl version to grpc submodule version

Note: not yet in use

* Split grpc into separate download and build tasks

This allows other external targets to download into the gRPC source tree
before grpc is actually built.

* Convert grpc to an http download

* Build googletest with add_subdirectory

Also:
  * Revert library-name modifications in the abseil-cpp build
  * Move abseil-cpp add_subdirectory build into place

* Build nanopb with add_subdirectory

* Force nanopb first to work around ODR violations

This is a temporary work-around for b/111328563.
2018-07-13 11:09:44 -07:00
Gil d03050653f Install googletest (#1461)
Also add FindGMock to Find gmock after installation
2018-06-26 14:57:40 -07:00
Marek Gilbert 37ad4f6991 Make abseil-cpp buildable on master 2018-04-15 16:50:15 -07:00
Marek Gilbert fdaf3cfa3c Merge branch 'abseil-update' into abseil-merge 2018-04-15 16:47:04 -07:00
Marek Gilbert dfb5c04cf8 Update abseil-cpp to a new upstream
Actually update to bf7fc9986e20f664958fc227547fd8d2fdcf863e

Change #754 didn't completely do this.

This makes the rest of the sources match optional, which was imported at
this change in #1083.

Also add:
  absl/types/optional_test.cc
  absl/types/CMakeLists.txt
  absl/utility/CMakeLists.txt
2018-04-15 16:45:50 -07:00
zxu c1061b7362 carbon-copy of the optional-relevant src from abseil (#1083) 2018-04-13 14:30:10 -04:00
Marek Gilbert ef59c11f82 Merge branch 'abseil-mirror' into merge
Add StrCat, StrJoin and the rest of //strings from abseil-cpp (#756)

From abseil-cpp version bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 10:06:42 -08:00
Marek Gilbert 53a125580d Merge commit 'abseil-mirror' into merge
Update abseil-cpp to a new upstream (#754)

Update to bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 09:43:24 -08:00
Gil 582e4baf37 Add StrCat, StrJoin and the rest of //strings from abseil-cpp (#756)
From abseil-cpp version bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 09:35:10 -08:00
Gil 28850292d4 Update abseil-cpp to a new upstream (#754)
Update to bf7fc9986e20f664958fc227547fd8d2fdcf863e
2018-02-06 09:28:30 -08:00
Gil 39d8252300 Port comparison to C++ (#678)
This reimplements our comparison functions as C++ Comparators and then provides compatibility shims for interoperating with existing Objective-C usage.

A few specialized comparators aren't suitable for porting but only have a single usage (e.g. CompareBytes for comparing NSData * instances). In these cases I've moved them into the caller.

* Use int32_t for typeof(ID) in FSTDocumentReference

* Migrate callers of FSTComparison.h to Objective-C++

* Port comparison to C++

* Migrate usages of FSTComparison.h to C++ equivalents

* Remove FSTComparison
2018-01-19 12:27:11 -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 3bc5488644 Add absl/base/internal/endian.h back into the build 2017-12-09 17:42:16 -08:00
Marek Gilbert 035411e3ab Merge branch 'master' into abseil-import 2017-12-09 17:41:58 -08:00
Marek Gilbert cd17b85587 Import absl/base/internal/endian.h 2017-12-09 17:29:26 -08:00
Marek Gilbert 56c8c06594 Fix whitespace 2017-12-08 09:43:13 -08:00
Marek Gilbert e00d46e8c9 Remove commented out code 2017-12-07 17:33:57 -08:00
Marek Gilbert 58ff30b73f Import a subset of abseil sources 2017-12-07 13:02:52 -08:00
Marek Gilbert 36cd94a04f Cut down absl CMakeLists to only include the things we use 2017-12-07 13:02:52 -08:00
Marek Gilbert 1641a0d791 Consume googletest in the standard CMake way 2017-12-07 13:02:52 -08:00
Marek Gilbert 3693d70a24 Remove use of absl::synchronization_internal::ThreadPool 2017-12-07 13:02:52 -08:00