2016-05-27 23:02:50 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := libreactnativefb
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2016-08-03 22:58:45 +00:00
|
|
|
CxxNativeModule.cpp \
|
2016-07-14 22:23:53 +00:00
|
|
|
Executor.cpp \
|
2016-05-27 23:02:50 +00:00
|
|
|
Instance.cpp \
|
|
|
|
JSCExecutor.cpp \
|
2016-12-05 00:09:12 +00:00
|
|
|
JSBundleType.cpp \
|
2016-05-27 23:02:50 +00:00
|
|
|
JSCLegacyProfiler.cpp \
|
|
|
|
JSCLegacyTracing.cpp \
|
|
|
|
JSCMemory.cpp \
|
2016-10-11 14:19:31 +00:00
|
|
|
JSCNativeModules.cpp \
|
2016-05-27 23:02:50 +00:00
|
|
|
JSCPerfStats.cpp \
|
|
|
|
JSCTracing.cpp \
|
|
|
|
JSCWebWorker.cpp \
|
2016-12-05 00:09:12 +00:00
|
|
|
JSIndexedRAMBundle.cpp \
|
2016-05-27 23:02:50 +00:00
|
|
|
MethodCall.cpp \
|
|
|
|
ModuleRegistry.cpp \
|
|
|
|
NativeToJsBridge.cpp \
|
|
|
|
Platform.cpp \
|
2016-11-01 18:38:43 +00:00
|
|
|
JSCUtils.cpp \
|
2016-05-27 23:02:50 +00:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := \
|
|
|
|
-DLOG_TAG=\"ReactNative\"
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -fexceptions -frtti
|
|
|
|
CXX11_FLAGS := -std=c++11
|
|
|
|
LOCAL_CFLAGS += $(CXX11_FLAGS)
|
|
|
|
LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS)
|
|
|
|
|
2016-11-01 18:38:43 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := jschelpers
|
2016-05-27 23:02:50 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := libfb libfolly_json libjsc libglog
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,fb)
|
|
|
|
$(call import-module,folly)
|
|
|
|
$(call import-module,jsc)
|
|
|
|
$(call import-module,glog)
|
2016-11-01 18:38:43 +00:00
|
|
|
$(call import-module,jschelpers)
|