Refactor headers to work with Android NDK

This commit is contained in:
Leland Richardson
2017-02-06 18:17:48 -08:00
parent 44eedabf52
commit 85535e60cb
4 changed files with 18 additions and 0 deletions
+5
View File
@@ -11,8 +11,13 @@
#import <sys/stat.h>
#if defined(__APPLE__)
#import <React/JSBundleType.h>
#import <React/JavaScriptCore.h>
#else
#import <cxxreact/JSBundleType.h>
#import <jschelpers/JavaScriptCore.h>
#endif
#import "RCTBridge.h"
#import "RCTConvert.h"
+4
View File
@@ -9,7 +9,11 @@
#include "RCTJSCErrorHandling.h"
#if defined(__APPLE__)
#import <React/JavaScriptCore.h>
#else
#import <jschelpers/JavaScriptCore.h>
#endif
#import "RCTAssert.h"
#import "RCTJSStackFrame.h"
+5
View File
@@ -17,8 +17,13 @@
#import <UIKit/UIDevice.h>
#if defined(__APPLE__)
#import <React/JSBundleType.h>
#import <React/JavaScriptCore.h>
#else
#import <cxxreact/JSBundleType.h>
#import <jschelpers/JavaScriptCore.h>
#endif
#import "JSCSamplingProfiler.h"
#import "RCTAssert.h"
+4
View File
@@ -9,7 +9,11 @@
#pragma once
#if defined(__APPLE__)
#include <React/JSCWrapper.h>
#else
#include <jschelpers/JSCWrapper.h>
#endif
#if defined(__APPLE__)