Skip to content

Commit c2096bd

Browse files
wilhuffCorrob
authored andcommitted
Exclude sub-packages of abseil that are problematic (#2597)
1 parent c37f1c6 commit c2096bd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

FirebaseFirestore.podspec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,19 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
9595
'Firestore/third_party/abseil-cpp/**/*.cc'
9696
]
9797
ss.exclude_files = [
98+
# Exclude tests and benchmarks from the framework.
9899
'Firestore/third_party/abseil-cpp/**/*_benchmark.cc',
99100
'Firestore/third_party/abseil-cpp/**/*test*.cc',
100101
'Firestore/third_party/abseil-cpp/absl/hash/internal/print_hash_of.cc',
101-
'Firestore/third_party/abseil-cpp/absl/synchronization/internal/mutex_nonprod.cc',
102+
103+
# Avoid the debugging package which uses code that isn't portable to
104+
# ARM (see stack_consumption.cc) and uses syscalls not available on
105+
# tvOS (e.g. sigaltstack).
106+
'Firestore/third_party/abseil-cpp/absl/debugging/**/*.cc',
107+
108+
# Exclude the synchronization package because it's dead weight: we don't
109+
# write the kind of heavily threaded code that might benefit from it.
110+
'Firestore/third_party/abseil-cpp/absl/synchronization/**/*.cc',
102111
]
103112

104113
ss.library = 'c++'

0 commit comments

Comments
 (0)