2018-10-31 08:35:03 +00:00
|
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
#
|
|
|
|
# This source code is licensed under the MIT license found in the
|
|
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
|
2016-05-27 23:02:50 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2017-06-01 12:30:34 +00:00
|
|
|
LOCAL_MODULE := reactnative
|
2016-05-27 23:02:50 +00:00
|
|
|
|
2018-10-18 07:47:06 +00:00
|
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.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\"
|
|
|
|
|
2018-12-27 22:45:36 +00:00
|
|
|
LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture
|
2016-05-27 23:02:50 +00:00
|
|
|
|
2018-10-18 07:47:06 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := boost
|
|
|
|
LOCAL_SHARED_LIBRARIES := jsinspector libfolly_json glog
|
2016-05-27 23:02:50 +00:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,fb)
|
|
|
|
$(call import-module,folly)
|
|
|
|
$(call import-module,jsc)
|
|
|
|
$(call import-module,glog)
|
2017-11-27 15:05:22 +00:00
|
|
|
$(call import-module,jsinspector)
|