mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9f120efcf4
Summary: For better cross-platform consistency, migrate usages of NDEBUG to REACT_NATIVE_DEBUG. See flags.h for explanation. Changelog: [Internal] Reviewed By: PeteTheHeat Differential Revision: D26695275 fbshipit-source-id: 85aae94105a2817d345d25f736386e545dff0a9a
28 lines
647 B
Makefile
28 lines
647 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)
|
|
|
|
LOCAL_MODULE := react_utils
|
|
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/../../
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../
|
|
|
|
LOCAL_CFLAGS := \
|
|
-DLOG_TAG=\"Fabric\"
|
|
|
|
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
|
|
|
|
LOCAL_STATIC_LIBRARIES :=
|
|
LOCAL_SHARED_LIBRARIES := libreact_debug
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
$(call import-module,react/debug)
|