mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix React-Fabric podspec to only use the sources for iOS (#52295)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52295 The current setup for several of our podspecs abuses the `**` globbing mechanism, forcing us to specify some excluded folders. By excplicitly mention the folders that we want to use on iOS, we can avoid the usage of the `exclude_files` property. This should make the setup more reliable and it will also avoid to leak to OSS the presence of some folders we only use internally like `platform/macos` and `platform/windows` ## Changelog: [Internal] - Reviewed By: huntie Differential Revision: D77381512 fbshipit-source-id: 4cb9118bf9f0ecd253d7d871341f733564d84c83
This commit is contained in:
committed by
Facebook GitHub Bot
parent
895f9b444a
commit
afb2afec26
@@ -120,8 +120,7 @@ Pod::Spec.new do |s|
|
||||
ss.subspec "view" do |sss|
|
||||
sss.dependency "React-renderercss"
|
||||
sss.dependency "Yoga"
|
||||
sss.source_files = podspec_sources("react/renderer/components/view/**/*.{m,mm,cpp,h}", "react/renderer/components/view/**/*.{h}")
|
||||
sss.exclude_files = "react/renderer/components/view/tests", "react/renderer/components/view/platform/android", "react/renderer/components/view/platform/windows"
|
||||
sss.source_files = podspec_sources(["react/renderer/components/view/*.{m,mm,cpp,h}", "react/renderer/components/view/platform/cxx/**/*.{m,mm,cpp,h}"], ["react/renderer/components/view/*.{h}", "react/renderer/components/view/platform/cxx/**/*.{h}"])
|
||||
sss.header_dir = "react/renderer/components/view"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user