From 4b370ceeb7170e95f7e4aa65ce9b9aaa7954a0e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Mon, 28 Feb 2022 04:56:36 -0800 Subject: [PATCH] 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: https://github.com/facebook/react-native/pull/33188 Test Plan: Include react-native-safe-area-context 4.0.1 with new architecture active. It will result in a xcode build error: Screenshot 2022-02-26 at 19 33 35 Reviewed By: cortinico Differential Revision: D34518841 Pulled By: motiz88 fbshipit-source-id: 1053fe204331a314427c793f28b2458e7b78e6c5 --- third-party-podspecs/RCT-Folly.podspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/third-party-podspecs/RCT-Folly.podspec b/third-party-podspecs/RCT-Folly.podspec index 0ae3060bdc8..700cd7e2cfb 100644 --- a/third-party-podspecs/RCT-Folly.podspec +++ b/third-party-podspecs/RCT-Folly.podspec @@ -91,7 +91,11 @@ Pod::Spec.new do |spec| 'folly/concurrency/CacheLocality.cpp', 'folly/detail/Futex.cpp', 'folly/synchronization/ParkingLot.cpp', - 'folly/portability/Malloc.cpp' + 'folly/portability/Malloc.cpp', + 'folly/concurrency/CacheLocality.h', + 'folly/synchronization/ParkingLot.h', + 'folly/synchronization/SanitizeThread.h', + 'folly/system/ThreadId.h' fabric.preserve_paths = 'folly/concurrency/CacheLocality.h', 'folly/synchronization/ParkingLot.h',