From 33aa7b91617bb6e2b9689850e8740c97e01464de Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 17 Jun 2025 06:26:18 -0700 Subject: [PATCH] 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 --- .../ReactCommon/jsc/CMakeLists.txt | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 packages/react-native/ReactCommon/jsc/CMakeLists.txt diff --git a/packages/react-native/ReactCommon/jsc/CMakeLists.txt b/packages/react-native/ReactCommon/jsc/CMakeLists.txt deleted file mode 100644 index e1a07988638..00000000000 --- a/packages/react-native/ReactCommon/jsc/CMakeLists.txt +++ /dev/null @@ -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)