mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 15:18:10 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/22231 - Use clang instead of the deprecated gcc - Use libc++ instead of the deprecated gnustl - Updated gradle and android plugin version - Fixed missing arch in local-cli template - `clean` task should now always succeed - `clean` task deletes build artifacts - No need to specify buildToolsVersion. It's derived. - Elvis operator for more readable code Pull Request resolved: https://github.com/facebook/react-native/pull/22263 Reviewed By: hramos Differential Revision: D13004499 Pulled By: DanielZlotin fbshipit-source-id: da54bb744cedb4c6f3bda590f8c25d0ad64086ef
32 lines
771 B
Makefile
32 lines
771 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 := reactnative
|
|
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
|
|
|
LOCAL_CFLAGS := \
|
|
-DLOG_TAG=\"ReactNative\"
|
|
|
|
LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture
|
|
|
|
LOCAL_STATIC_LIBRARIES := boost
|
|
LOCAL_SHARED_LIBRARIES := jsinspector libfolly_json glog
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
$(call import-module,fb)
|
|
$(call import-module,folly)
|
|
$(call import-module,jsc)
|
|
$(call import-module,glog)
|
|
$(call import-module,jsinspector)
|