Rename reactnative.a -> react_cxxreact.a (#43859)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43859

This frees up the `reactnative` CMake target so we could use it as single .so
for the CMake build.

Changelog:
[Internal] [Changed] - Rename reactnative.a -> react_cxxreact.a

Reviewed By: javache

Differential Revision: D55745640

fbshipit-source-id: 3cad512cc07a277af2a0cea696863c85a17dabc1
This commit is contained in:
Nicola Corti
2024-04-05 08:02:35 -07:00
committed by Facebook GitHub Bot
parent 041bca4227
commit 03c75c22fa
8 changed files with 17 additions and 14 deletions
@@ -204,6 +204,7 @@ add_executable(reactnative_unittest
hermes-engine::libhermes
hermes_inspector_modern
jsi
react_cxxreact
react_codegen_rncore
react_debug
react_render_animations
@@ -217,7 +218,6 @@ add_executable(reactnative_unittest
react_render_textlayoutmanager
react_render_uimanager
react_utils
reactnative
rrc_modal
rrc_scrollview
rrc_text
@@ -35,8 +35,8 @@ target_link_libraries(reactnativejni
folly_runtime
glog_init
logger
react_cxxreact
react_render_runtimescheduler
reactnative
runtimeexecutor
yoga
)
@@ -13,12 +13,12 @@ add_compile_options(
-Wno-unused-lambda-capture
-DLOG_TAG=\"ReactNative\")
file(GLOB reactnative_SRC CONFIGURE_DEPENDS *.cpp)
add_library(reactnative STATIC ${reactnative_SRC})
file(GLOB react_cxxreact_SRC CONFIGURE_DEPENDS *.cpp)
add_library(react_cxxreact STATIC ${react_cxxreact_SRC})
target_include_directories(reactnative PUBLIC ${REACT_COMMON_DIR})
target_include_directories(react_cxxreact PUBLIC ${REACT_COMMON_DIR})
target_link_libraries(reactnative
target_link_libraries(react_cxxreact
boost
callinvoker
folly_runtime
@@ -20,7 +20,7 @@ add_library(jsireact
target_include_directories(jsireact PUBLIC .)
target_link_libraries(jsireact
reactnative
react_cxxreact
reactperflogger
folly_runtime
glog
@@ -21,7 +21,8 @@ target_include_directories(react_nativemodule_dom PUBLIC ${REACT_COMMON_DIR})
target_link_libraries(react_nativemodule_dom
rrc_root
react_codegen_rncore
react_cxxreact
react_render_dom
react_render_uimanager
react_codegen_rncore
reactnative)
)
@@ -20,6 +20,7 @@ add_library(react_nativemodule_featureflags SHARED ${react_nativemodule_featuref
target_include_directories(react_nativemodule_featureflags PUBLIC ${REACT_COMMON_DIR})
target_link_libraries(react_nativemodule_featureflags
react_featureflags
react_codegen_rncore
reactnative)
react_cxxreact
react_featureflags
)
@@ -21,4 +21,5 @@ target_include_directories(react_nativemodule_microtasks PUBLIC ${REACT_COMMON_D
target_link_libraries(react_nativemodule_microtasks
react_codegen_rncore
reactnative)
react_cxxreact
)
@@ -24,6 +24,8 @@ target_link_libraries(react_render_uimanager
glog
folly_runtime
jsi
react_config
react_cxxreact
react_debug
react_featureflags
react_render_componentregistry
@@ -36,8 +38,6 @@ target_link_libraries(react_render_uimanager
react_render_leakchecker
react_render_runtimescheduler
react_render_mounting
react_config
reactnative
rrc_root
rrc_view
runtimeexecutor