diff options
author | Gil <mcg@google.com> | 2018-01-01 17:17:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-01 17:17:53 -0800 |
commit | 1ede1c9cb3890b37199ead0f893da45dcc2bf2cf (patch) | |
tree | 3f99be8c3c0270a9450512e614008e224551b709 /FirebaseFirestore.podspec | |
parent | f851af5323b8ded1d609ced61ad319645337d6d5 (diff) |
Use the log_apple.mm logger from C++ on iOS (#593)
* Add all .mm files in Firestore/core to the build (which matches
log_apple.mm).
* Exclude log_stdio.cc
* Add log_test.cc to the project
Diffstat (limited to 'FirebaseFirestore.podspec')
-rw-r--r-- | FirebaseFirestore.podspec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/FirebaseFirestore.podspec b/FirebaseFirestore.podspec index 89292bf..5a3a1d6 100644 --- a/FirebaseFirestore.podspec +++ b/FirebaseFirestore.podspec @@ -32,17 +32,21 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling, 'Firestore/Source/**/*', 'Firestore/Port/**/*', 'Firestore/Protos/objc/**/*.[hm]', - 'Firestore/core/src/**/*.{h,cc}', + 'Firestore/core/src/**/*.{h,cc,mm}', 'Firestore/third_party/Immutable/*.[mh]', 'Firestore/third_party/abseil-cpp/absl/*.{h,cc}' ] s.requires_arc = [ 'Firestore/Source/**/*', + 'Firestore/core/src/**/*.mm', 'Firestore/third_party/Immutable/*.[mh]' ] s.exclude_files = [ 'Firestore/Port/*test.cc', - 'Firestore/third_party/Immutable/Tests/**' + 'Firestore/third_party/Immutable/Tests/**', + + # Exclude alternate implementations for other platforms + 'Firestore/core/src/firebase/firestore/util/log_stdio.cc' ] s.public_header_files = 'Firestore/Source/Public/*.h' |