From 724fe11472cb874ce89657b2c3e7842feff04205 Mon Sep 17 00:00:00 2001 From: Adam Ernst Date: Tue, 13 Aug 2019 11:09:56 -0700 Subject: [PATCH] Add reexport_all_header_dependencies to (yet more) misc rules Summary: Currently this is the default, but I plan to toggle the default to False shortly. False is better for build speed, as it forces you to separate deps and exported_deps. Reviewed By: williamtwilson Differential Revision: D16785991 fbshipit-source-id: 8cb73b87f1dfa50f21c0c12df1579054cdc99e6e --- Libraries/FBReactNativeSpec/BUCK | 1 + React/CoreModules/BUCK | 1 + 2 files changed, 2 insertions(+) diff --git a/Libraries/FBReactNativeSpec/BUCK b/Libraries/FBReactNativeSpec/BUCK index 8f50011bf24..1cff97d2bea 100644 --- a/Libraries/FBReactNativeSpec/BUCK +++ b/Libraries/FBReactNativeSpec/BUCK @@ -14,6 +14,7 @@ fb_apple_library( "Foundation", "UIKit", ], + reexport_all_header_dependencies = True, deps = [ "fbsource//xplat/js/react-native-github:RCTTypeSafety", "fbsource//xplat/js/react-native-github/Libraries/RCTRequired:RCTRequired", diff --git a/React/CoreModules/BUCK b/React/CoreModules/BUCK index 96039ea82f6..223b70f324e 100644 --- a/React/CoreModules/BUCK +++ b/React/CoreModules/BUCK @@ -44,6 +44,7 @@ rn_apple_library( preprocessor_flags = OBJC_ARC_PREPROCESSOR_FLAGS + get_debug_preprocessor_flags() + rn_debug_flags() + [ "-DRN_DISABLE_OSS_PLUGIN_HEADER", ], + reexport_all_header_dependencies = True, visibility = ["PUBLIC"], exported_deps = [ "fbsource//xplat/js/react-native-github:ReactInternalApple",