mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: We have `LOCAL_SHARED_LIBRARIES` that are getting longer and are making reviewing them on Diffs quite hard. Having all the list of the dependency on a single line is suboptimal and it makes hard to find duplicated entries. I've updated the longest `LOCAL_SHARED_LIBRARIES` to be multilines and I've sorted the entries here. Changelog: [Internal] [Changed] - LOCAL_SHARED_LIBRARIES Reviewed By: ShikaSD Differential Revision: D32695127 fbshipit-source-id: f5b381c501ddff083ef9f4baaca6c4c8c9523368
35 lines
959 B
Makefile
35 lines
959 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)
|
|
REACT_NATIVE := $(LOCAL_PATH)/../../..
|
|
|
|
include $(REACT_NATIVE)/ReactCommon/common.mk
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := hermes-inspector
|
|
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp $(LOCAL_PATH)/detail/*.cpp $(LOCAL_PATH)/chrome/*.cpp)
|
|
|
|
LOCAL_C_ROOT := $(LOCAL_PATH)/../..
|
|
|
|
LOCAL_CFLAGS := -DHERMES_ENABLE_DEBUGGER=1 -DHERMES_INSPECTOR_FOLLY_KLUDGE=1
|
|
LOCAL_C_INCLUDES := $(LOCAL_C_ROOT) $(REACT_NATIVE)/ReactCommon/jsi $(call find-node-module,$(LOCAL_PATH),hermes-engine)/android/include
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_ROOT)
|
|
|
|
LOCAL_CPP_FEATURES := exceptions
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
jsinspector \
|
|
libfb \
|
|
libfbjni \
|
|
libfolly_futures \
|
|
libfolly_json \
|
|
libglog \
|
|
libhermes \
|
|
libjsi
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|