Skip to content

Commit 4b370ce

Browse files
danilobuergerAndrei Shikov
authored and
Andrei Shikov
committedMar 16, 2022
Include folly fabric headers in source files (#33188)
Summary: See the main spec preserve_paths, they are all also included as source_files. Without this, the folly fabric header files won't be available for other pods. ## Changelog [iOS] [Fixed] - Include folly fabric headers in source files Pull Request resolved: #33188 Test Plan: Include react-native-safe-area-context 4.0.1 with new architecture active. It will result in a xcode build error: <img width="466" alt="Screenshot 2022-02-26 at 19 33 35" src="https://user-images.githubusercontent.com/996231/155855017-8ea5f473-42a0-4e56-8108-472e6224ae7e.png"> Reviewed By: cortinico Differential Revision: D34518841 Pulled By: motiz88 fbshipit-source-id: 1053fe204331a314427c793f28b2458e7b78e6c5
1 parent 63e4bd6 commit 4b370ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎third-party-podspecs/RCT-Folly.podspec

+5-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ Pod::Spec.new do |spec|
9191
'folly/concurrency/CacheLocality.cpp',
9292
'folly/detail/Futex.cpp',
9393
'folly/synchronization/ParkingLot.cpp',
94-
'folly/portability/Malloc.cpp'
94+
'folly/portability/Malloc.cpp',
95+
'folly/concurrency/CacheLocality.h',
96+
'folly/synchronization/ParkingLot.h',
97+
'folly/synchronization/SanitizeThread.h',
98+
'folly/system/ThreadId.h'
9599

96100
fabric.preserve_paths = 'folly/concurrency/CacheLocality.h',
97101
'folly/synchronization/ParkingLot.h',

0 commit comments

Comments
 (0)
Please sign in to comment.