mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4c998fd05d
Summary: ## Motivation The concept behind JSCallInvoker doesn't necessarily have to apply only to the JS thread. On Android, we need to re-use this abstraction to allow execution of async method calls on the NativeModules thread. Reviewed By: PeteTheHeat Differential Revision: D17377313 fbshipit-source-id: 3d9075cbfce0b908d800a366947cfd16a3013d1c
28 lines
787 B
Makefile
28 lines
787 B
Makefile
# 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.
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
# Header search path for all source files in this module.
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon
|
|
|
|
# Header search path for modules that depend on this module
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
|
|
|
|
LOCAL_STATIC_LIBRARIES = libreactnative
|
|
|
|
# Name of this module.
|
|
LOCAL_MODULE := callinvoker
|
|
|
|
# Compile all local c++ files under ./ReactCommon
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp)
|
|
|
|
# Build the files in this directory as a shared library
|
|
include $(BUILD_STATIC_LIBRARY)
|