mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Ensure internal builds don't use plugin stubs
Summary: We generate a stub for plugin system, so that TurboModules can work in OSS. Unless the `RN_DISABLE_OSS_PLUGIN_HEADER` define is seet, TurboModules will use the plugin stub. Therefore, for internal builds, we should set this define. Reviewed By: fkgozali, mdvacca Differential Revision: D17789993 fbshipit-source-id: a93735738513457236adb3064b80601053c95dd3
This commit is contained in:
committed by
Facebook Github Bot
parent
72c03900d2
commit
021a63d4da
@@ -9,8 +9,8 @@
|
||||
|
||||
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
||||
|
||||
// FB Internal: Plugins.h is autogenerated by the build system.
|
||||
#import "Plugins.h"
|
||||
// FB Internal: FBRCTBlobPlugins.h is autogenerated by the build system.
|
||||
#import "FBRCTBlobPlugins.h"
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
||||
|
||||
// FB Internal: Plugins.h is autogenerated by the build system.
|
||||
#import "Plugins.h"
|
||||
// FB Internal: FBRCTCameraRollPlugins.h is autogenerated by the build system.
|
||||
#import "FBRCTCameraRollPlugins.h"
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
||||
|
||||
// FB Internal: Plugins.h is autogenerated by the build system.
|
||||
#import "Plugins.h"
|
||||
// FB Internal: FBRCTSettingsPlugins.h is autogenerated by the build system.
|
||||
#import "FBRCTSettingsPlugins.h"
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
||||
|
||||
// FB Internal: Plugins.h is autogenerated by the build system.
|
||||
#import "Plugins.h"
|
||||
// FB Internal: FBRCTVibrationPlugins.h is autogenerated by the build system.
|
||||
#import "FBRCTVibrationPlugins.h"
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ rn_apple_library(
|
||||
name = "ActionSheetManager",
|
||||
native_class_func = "RCTActionSheetManagerCls",
|
||||
),
|
||||
plugins_header = "FBCoreModulesPlugins.h",
|
||||
preprocessor_flags = OBJC_ARC_PREPROCESSOR_FLAGS + get_debug_preprocessor_flags() + rn_extra_build_flags() + [
|
||||
"-DRN_DISABLE_OSS_PLUGIN_HEADER",
|
||||
],
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
||||
|
||||
// FB Internal: Plugins.h is autogenerated by the build system.
|
||||
#import "Plugins.h"
|
||||
// FB Internal: FBCoreModulesPlugins.h is autogenerated by the build system.
|
||||
#import "FBCoreModulesPlugins.h"
|
||||
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user