Move react_renderer_mapbuffer to be consumed via prefab

Summary:
This removes the old way of consuming `libreact_renderer_mapbuffer.so` from
`Android-prebuilt.cmake` to using Prefab which is natively supported
by the Android pipeline.

Changelog:
[Internal] [Changed] - Move `react_renderer_mapbuffer` to be consumed via prefab

Reviewed By: cipolleschi

Differential Revision: D39927266

fbshipit-source-id: e82c2bda02c85a2a6747b92a3f20f2a5118bda65
This commit is contained in:
Nicola Corti
2022-09-29 07:08:21 -07:00
committed by Facebook GitHub Bot
parent f37b3bc052
commit 8717d2d672
3 changed files with 11 additions and 10 deletions
@@ -114,13 +114,5 @@ set_target_properties(react_render_mounting
${REACT_NDK_EXPORT_DIR}/${ANDROID_ABI}/libreact_render_mounting.so)
target_include_directories(react_render_mounting INTERFACE ${REACT_COMMON_DIR}/react/renderer/mounting)
## react_render_mapbuffer
add_library(react_render_mapbuffer SHARED IMPORTED GLOBAL)
set_target_properties(react_render_mapbuffer
PROPERTIES
IMPORTED_LOCATION
${REACT_NDK_EXPORT_DIR}/${ANDROID_ABI}/libreact_render_mapbuffer.so)
target_include_directories(react_render_mapbuffer INTERFACE ${REACT_COMMON_DIR}/react/renderer/mapbuffer)
## fbjni
add_subdirectory(${FIRST_PARTY_NDK_DIR}/fbjni fbjni_build)