mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Move react_render_debug to be consumed via prefab (#34802)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34802 This removes the old way of consuming `libreact_render_debug.so` from `Android-prebuilt.cmake` to using Prefab which is natively supported by the Android pipeline. Changelog: [Internal] [Changed] - Move `react_render_debug` to be consumed via prefab Reviewed By: cipolleschi Differential Revision: D39849622 fbshipit-source-id: 45451dfe92ecce94d1b466094baae05a75ed803f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
80b8cefb26
commit
49b14cc603
@@ -39,6 +39,10 @@ target_include_directories(${CMAKE_PROJECT_NAME}
|
||||
|
||||
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -Wall -Werror -fexceptions -frtti -std=c++17 -DWITH_INSPECTOR=1 -DLOG_TAG=\"ReactNative\")
|
||||
|
||||
# Prefab packages
|
||||
find_package(ReactAndroid REQUIRED CONFIG)
|
||||
add_library(react_render_debug ALIAS ReactAndroid::react_render_debug)
|
||||
|
||||
target_link_libraries(${CMAKE_PROJECT_NAME}
|
||||
fabricjni
|
||||
fbjni
|
||||
@@ -51,7 +55,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
|
||||
react_newarchdefaults
|
||||
react_render_componentregistry
|
||||
react_render_core
|
||||
react_render_debug
|
||||
react_render_debug # prefab ready
|
||||
react_render_graphics
|
||||
react_render_mapbuffer
|
||||
rrc_view
|
||||
|
||||
Reference in New Issue
Block a user