Skip to content

Commit afa6619

Browse files
authored
Delete Firestore public C++ API (#2050)
* Add firebase_cpp_sdk 5.4.0 ... to the Firestore CMake build. * Move C++ public API headers to cpp/include * Add Firebase C++ API tests. * Add support for building on Linux * Add clang-format configuration for Firestore/cpp * Add windows build support * Review feedback * Revert build changes to support Firebase C++ integration. It turns out the public Firebase C++ SDK doesn't include enough to actually build another component of that SDK externally so these changes don't really help. Eventually, once Firebase C++ is open source we'll integrate with that to actually test Firestore's public C++ API. * Delete Firestore/cpp and public C++ artifacts It's not yet feasible to build these components externally so there's no use in keeping them here.
1 parent 4aaf908 commit afa6619

21 files changed

+2
-3107
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ set(BUILD_TESTING ${old_build_testing} CACHE BOOL "Restore BUILD_TESTING" FORCE)
8989

9090

9191
# gRPC
92-
find_package(OpenSSL)
92+
find_package(OpenSSL QUIET)
9393
if(OPENSSL_FOUND)
9494
set(gRPC_SSL_PROVIDER package CACHE STRING "Use external OpenSSL")
9595
endif()
9696

97-
find_package(ZLIB)
97+
find_package(ZLIB QUIET)
9898
if(ZLIB_FOUND)
9999
set(gRPC_ZLIB_PROVIDER package CACHE STRING "Use external ZLIB")
100100
endif()

Firestore/core/include/firebase/firestore/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
# (see https://stackoverflow.com/questions/27039019/ and open issue on CMake
1717
# issue tracker: https://gitlab.kitware.com/cmake/cmake/issues/15234)
1818
add_custom_target(firebase_firestore_types_ide SOURCES
19-
document_reference.h
20-
event_listener.h
21-
firestore.h
2219
firestore_errors.h
2320
geo_point.h
2421
timestamp.h

Firestore/core/include/firebase/firestore/collection_reference.h

Lines changed: 0 additions & 185 deletions
This file was deleted.

Firestore/core/include/firebase/firestore/document_change.h

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)