mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Separate folly into runtime + folly_futures specific for hermes inspector
Summary: Rearranges folly_futures configuration into a static library only required for `hermes-inspector` + `folly_runtime` which merges `folly_json` and mutex-related implementations `folly_futures` was used for. As `hermes-executor-debug` is removed by `vmCleanup` configurations later, it allows to shave additional 300KB from the release APK size. Changelog: [Internal] - Rearrange folly build to reduce APK size Reviewed By: cortinico Differential Revision: D34342514 fbshipit-source-id: b646680343e6b9a7674019506b87b96f6007caf2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0a004927ad
commit
5d5addd661
@@ -21,7 +21,7 @@ LOCAL_STATIC_LIBRARIES := libjsireact
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
libfbjni \
|
||||
libfolly_json \
|
||||
libfolly_runtime \
|
||||
libhermes \
|
||||
libjsi \
|
||||
libreactnativejni
|
||||
|
||||
@@ -22,7 +22,7 @@ ifeq ($(APP_OPTIM),debug)
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
libfbjni \
|
||||
libfolly_json \
|
||||
libfolly_runtime \
|
||||
libhermes \
|
||||
libjsi \
|
||||
libreactnativejni
|
||||
|
||||
@@ -14,8 +14,6 @@ LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/react/common/mapbuffer/*.cpp)
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
libfbjni \
|
||||
libfolly_futures \
|
||||
libfolly_json \
|
||||
libglog \
|
||||
libglog_init \
|
||||
libreact_debug \
|
||||
|
||||
@@ -15,8 +15,7 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libbutter \
|
||||
libfb \
|
||||
libfbjni \
|
||||
libfolly_futures \
|
||||
libfolly_json \
|
||||
libfolly_runtime \
|
||||
libglog \
|
||||
libglog_init \
|
||||
libjsi \
|
||||
|
||||
@@ -19,7 +19,7 @@ LOCAL_STATIC_LIBRARIES := libjsireact jscruntime
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
libfbjni \
|
||||
libfolly_json \
|
||||
libfolly_runtime \
|
||||
libjsi \
|
||||
libreactnativejni
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ LOCAL_STATIC_LIBRARIES := libjsireact
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
libfbjni \
|
||||
libfolly_json \
|
||||
libfolly_runtime \
|
||||
libjsi \
|
||||
libreactnativejni
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libfb \
|
||||
libfbjni \
|
||||
libfolly_futures \
|
||||
libfolly_json \
|
||||
libglog \
|
||||
libglog_init \
|
||||
librrc_native \
|
||||
|
||||
Reference in New Issue
Block a user