mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e3830ddffd
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/33472 Changes native build of ReactAndroid to CMake instead of ndk-build. Removes a few workarounds around AGP issues with ndk-build which seems to be working with CMake by default. Changelog: [Changed][Android] - Use CMake to build ReactAndroid module Reviewed By: cortinico Differential Revision: D35018803 fbshipit-source-id: af477937ed70a5ddfafef4e6260a397ee9911580
18 lines
533 B
CMake
18 lines
533 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++17 -Wall)
|
|
|
|
file(GLOB_RECURSE runtimeexecutor_SRC CONFIGURE_DEPENDS *.cpp *.h)
|
|
|
|
add_library(runtimeexecutor SHARED ${runtimeexecutor_SRC})
|
|
|
|
target_include_directories(runtimeexecutor PUBLIC .)
|
|
|
|
target_link_libraries(runtimeexecutor jsi)
|