Allowing Flipper to be included in non debug react native builds
Summary: Allowing Flipper react native code also when FB_SONARKIT_ENABLED is defined Reviewed By: lblasa Differential Revision: D40224308 fbshipit-source-id: e9cf1c0e04b5748ffb5bb97fe9fd9046956b32b5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9cbf35dea8
commit
f65364c79c
@@ -5,7 +5,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED)
|
||||
#import "FlipperModule.h"
|
||||
|
||||
#import "FlipperReactNativeJavaScriptPluginManager.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#if DEBUG
|
||||
#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED)
|
||||
#import <FlipperKit/FlipperConnection.h>
|
||||
#import <FlipperKit/FlipperPlugin.h>
|
||||
|
||||
@@ -30,4 +30,4 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#endif
|
||||
#endif // DEBUG || FB_SONARKIT_ENABLED
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#if DEBUG
|
||||
#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED)
|
||||
|
||||
#import "FlipperReactNativeJavaScriptPlugin.h"
|
||||
|
||||
@@ -64,4 +64,4 @@
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
#endif // DEBUG || FB_SONARKIT_ENABLED
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED)
|
||||
|
||||
#import <React/RCTBridgeModule.h>
|
||||
|
||||
@@ -47,4 +47,4 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#endif
|
||||
#endif // DEBUG || FB_SONARKIT_ENABLED
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
#if defined(DEBUG) || defined(FB_SONARKIT_ENABLED)
|
||||
|
||||
#import "FlipperReactNativeJavaScriptPluginManager.h"
|
||||
#import <FlipperKit/FlipperClient.h>
|
||||
@@ -150,4 +150,4 @@ static uint32_t FlipperResponderKeyGenerator = 0;
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
#endif // DEBUG || FB_SONARKIT_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user