mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: public This adds the ability to load “unbundles” in RN android apps. Unbundles are created by invoking the packager with the `unbundle` command rather than `bundle`. The code detects usage of an “unbundle” by checking for the existence of a specific asset. Reviewed By: astreet Differential Revision: D2739596 fb-gh-sync-id: d0813c003fe0fa7b47798b970f56707079bfa5d7
35 lines
714 B
Makefile
35 lines
714 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libreactnative
|
|
|
|
LOCAL_SRC_FILES := \
|
|
Bridge.cpp \
|
|
JSCExecutor.cpp \
|
|
JSCHelpers.cpp \
|
|
JSCWebWorker.cpp \
|
|
JSModulesUnbundle.cpp \
|
|
MethodCall.cpp \
|
|
Value.cpp \
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
|
|
|
LOCAL_CFLAGS := \
|
|
-DLOG_TAG=\"ReactNative\"
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -fexceptions
|
|
CXX11_FLAGS := -std=c++11
|
|
LOCAL_CFLAGS += $(CXX11_FLAGS)
|
|
LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS)
|
|
|
|
LOCAL_SHARED_LIBRARIES := libfb libfbjni libfolly_json libjsc
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
$(call import-module,fb)
|
|
$(call import-module,jni)
|
|
$(call import-module,folly)
|
|
$(call import-module,jsc)
|