mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Unbreak iOS build due to header import failure
Summary: Changelog: [Internal] Reviewed By: p-sun, yungsters Differential Revision: D24749871 fbshipit-source-id: 70692b8a32f9b7a214d7192ba444c695568e2ccf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7324b92dc4
commit
8663ec4f42
@@ -37,9 +37,14 @@
|
||||
#import <jsireact/JSIExecutor.h>
|
||||
#import <reactperflogger/BridgeNativeModulePerfLogger.h>
|
||||
|
||||
#ifndef RCT_USE_HERMES
|
||||
#if __has_include(<hermes/hermes.h>)
|
||||
#define RCT_USE_HERMES 1
|
||||
#else
|
||||
#define RCT_USE_HERMES 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if RCT_USE_HERMES
|
||||
#import "HermesExecutorFactory.h"
|
||||
#else
|
||||
|
||||
@@ -7,9 +7,14 @@
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
#ifndef RCT_USE_HERMES
|
||||
#if __has_include(<hermes/hermes.h>)
|
||||
#define RCT_USE_HERMES 1
|
||||
#else
|
||||
#define RCT_USE_HERMES 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if RCT_USE_HERMES
|
||||
#import <React/HermesExecutorFactory.h>
|
||||
#else
|
||||
@@ -45,7 +50,6 @@
|
||||
#import <react/config/ReactNativeConfig.h>
|
||||
#endif
|
||||
|
||||
|
||||
#if DEBUG
|
||||
#ifdef FB_SONARKIT_ENABLED
|
||||
#import <FlipperKit/FlipperClient.h>
|
||||
|
||||
Reference in New Issue
Block a user