mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 22:58:19 +00:00
Summary: This diff includes a few changes: 1. Move the headers inside `jsiexecutor` into `jsiexecutor/jsireact`. As far as I'm aware, the Android ndk build system isn't flexible enough to support header namespaces, so we can't just expose the headers inside the `jsiexecutor` directory under the `jsireact` namespace. Therefore, I moved the headers to `jsiexecutor/jsireact`, and added `jsiexecutor` to the header search path. This was the easiest way to simulate `jsireact` namespace. 2. Setup the Android.mk files to get RNTester compiling and running. 3. Introduce a `jscexecutor` module to make `JSCExecutor.java` execute without throwing. **Note:** Moving the header files inside `jsiexecutor` probably breaks the iOS builds and internal builds. I'll fix those in subsequent diffs on this stack. Reviewed By: shergin Differential Revision: D9995429 fbshipit-source-id: 418a4ee91f585842c5e317af2f300227a51e9ba8
27 lines
566 B
Makefile
27 lines
566 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := reactnative
|
|
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
|
|
|
LOCAL_CFLAGS := \
|
|
-DLOG_TAG=\"ReactNative\"
|
|
|
|
LOCAL_CFLAGS += -fexceptions -frtti
|
|
|
|
LOCAL_STATIC_LIBRARIES := boost
|
|
LOCAL_SHARED_LIBRARIES := jsinspector libfolly_json glog
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
$(call import-module,fb)
|
|
$(call import-module,folly)
|
|
$(call import-module,jsc)
|
|
$(call import-module,glog)
|
|
$(call import-module,jsinspector)
|