mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update libruntimeexector to be a shared lib rather than a static lib
Summary: AGP 7.x is changing the path where we can find the precompiled static libraries. Therefore is getting complicated to share prebuilt `.a` files. I'm updating `libruntimeexecutor` to be a shared library instead so this will solve this issue for now. Changelog: [Internal] [Changed] - Update libruntimeexector to be a shared lib rather than a static lib Reviewed By: ShikaSD Differential Revision: D32646112 fbshipit-source-id: ce42e930076c1d3b5f54f3d8adcca1c38909d0fb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
272cfe5d13
commit
a5469f9d7f
@@ -19,9 +19,9 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
|
||||
|
||||
LOCAL_SHARED_LIBRARIES = libfb libfbjni libreactnativeutilsjni
|
||||
LOCAL_SHARED_LIBRARIES = libfb libfbjni libreactnativeutilsjni libruntimeexecutor
|
||||
|
||||
LOCAL_STATIC_LIBRARIES = libcallinvoker libreactperfloggerjni libruntimeexecutor
|
||||
LOCAL_STATIC_LIBRARIES = libcallinvoker libreactperfloggerjni
|
||||
|
||||
# Name of this module.
|
||||
LOCAL_MODULE := callinvokerholder
|
||||
|
||||
@@ -27,10 +27,10 @@ LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture
|
||||
LOCAL_LDLIBS += -landroid
|
||||
|
||||
# The dynamic libraries (.so files) that this module depends on.
|
||||
LOCAL_SHARED_LIBRARIES := libfolly_json libfb libfbjni libglog_init libyoga libreact_render_runtimescheduler
|
||||
LOCAL_SHARED_LIBRARIES := libfolly_json libfb libfbjni libglog_init libyoga libreact_render_runtimescheduler libruntimeexecutor
|
||||
|
||||
# The static libraries (.a files) that this module depends on.
|
||||
LOCAL_STATIC_LIBRARIES := libreactnative libcallinvokerholder libruntimeexecutor
|
||||
LOCAL_STATIC_LIBRARIES := libreactnative libcallinvokerholder
|
||||
|
||||
# Name of this module.
|
||||
#
|
||||
@@ -77,10 +77,10 @@ LOCAL_CFLAGS += -fexceptions -frtti -Wno-unused-lambda-capture
|
||||
LOCAL_LDLIBS += -landroid
|
||||
|
||||
# The dynamic libraries (.so files) that this module depends on.
|
||||
LOCAL_SHARED_LIBRARIES := libreactnativeutilsjni libfolly_json libfb libfbjni libglog_init libyoga logger libreact_render_runtimescheduler
|
||||
LOCAL_SHARED_LIBRARIES := libreactnativeutilsjni libfolly_json libfb libfbjni libglog_init libyoga logger libreact_render_runtimescheduler libruntimeexecutor
|
||||
|
||||
# The static libraries (.a files) that this module depends on.
|
||||
LOCAL_STATIC_LIBRARIES := libreactnative libruntimeexecutor libcallinvokerholder
|
||||
LOCAL_STATIC_LIBRARIES := libreactnative libcallinvokerholder
|
||||
|
||||
# Name of this module.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user