mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This essentially changes the header namespace to `<ReactCommon/` Relevant efforts: https://github.com/facebook/react-native/pull/25619 https://github.com/facebook/react-native/pull/25393 Reviewed By: PeteTheHeat Differential Revision: D16233125 fbshipit-source-id: 83eda4cc50ebb01efd1ce3eb18f47c97a049cffa
28 lines
789 B
Makefile
28 lines
789 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 := jscallinvoker
|
|
|
|
# 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)
|