mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unreferenced CMakeLists.txt for ReactCommon/jsc (#52078)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52078 This Cmake file is not imported anymore and can be removed now. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D76808417 fbshipit-source-id: 81824c7c46080bc16c891b5c11c3a8946f16c1b9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
560ac23001
commit
33aa7b9161
@@ -1,34 +0,0 @@
|
||||
# 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.
|
||||
|
||||
##################
|
||||
### jscruntime ###
|
||||
##################
|
||||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
include(${REACT_ANDROID_DIR}/src/main/jni/first-party/jni-lib-merge/SoMerging-utils.cmake)
|
||||
|
||||
add_library(jscruntime
|
||||
OBJECT
|
||||
JSCRuntime.h
|
||||
JSCRuntime.cpp)
|
||||
|
||||
target_include_directories(jscruntime PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_merge_so(jscruntime)
|
||||
|
||||
target_link_libraries(jscruntime
|
||||
jsc
|
||||
jsi
|
||||
reactnative)
|
||||
|
||||
if(NOT ${CMAKE_BUILD_TYPE} MATCHES Debug)
|
||||
target_compile_options(jscruntime PRIVATE -DNDEBUG)
|
||||
endif()
|
||||
|
||||
target_compile_reactnative_options(jscruntime PRIVATE)
|
||||
target_compile_options(jscruntime PRIVATE -O3 -Wno-unused-lambda-capture)
|
||||
Reference in New Issue
Block a user