mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46059 This merges all the remaining dynamic libraries into libreactnative.so. Sadly I couldn't split this in smaller diffs as all the libraries are connected with each other. I also had to introduce 2 other SOs: `libhermestooling.so` and `libjsctooling.so` which contains all the necessary libs used when loading either JSC or Hermes. They need to be isolated as RNGP will remove those libraries based on the library the user decides to pick. Changelog: [Android] [Breaking] - Merge all the remaining .so libraries into libreactnative.so Reviewed By: hezi Differential Revision: D61376496 fbshipit-source-id: ab9e725b7acbebdfd8fa3ff36ad34d080044bf0e
33 lines
822 B
CMake
33 lines
822 B
CMake
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
set(CMAKE_VERBOSE_MAKEFILE on)
|
|
|
|
add_compile_options(
|
|
-fexceptions
|
|
-frtti
|
|
-std=c++20
|
|
-Wno-unused-lambda-capture
|
|
-DLOG_TAG=\"ReactNative\")
|
|
|
|
file(GLOB react_cxxreact_SRC CONFIGURE_DEPENDS *.cpp)
|
|
add_library(react_cxxreact OBJECT ${react_cxxreact_SRC})
|
|
|
|
target_include_directories(react_cxxreact PUBLIC ${REACT_COMMON_DIR})
|
|
|
|
target_link_libraries(react_cxxreact
|
|
boost
|
|
callinvoker
|
|
folly_runtime
|
|
glog
|
|
jsi
|
|
jsinspector
|
|
logger
|
|
reactperflogger
|
|
runtimeexecutor
|
|
react_timing
|
|
react_debug)
|