Skip to content

Commit 2f446de

Browse files
committed
use jsc-android 2026004.0.1 with JavaScriptCore/ header prefix
1 parent 164ebb9 commit 2f446de

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

packages/react-native/ReactCommon/jsc/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010
cmake_minimum_required(VERSION 3.13)
1111
set(CMAKE_VERBOSE_MAKEFILE on)
1212

13-
# Copy jsc headers into JavaScriptCore subdirectory
14-
get_target_property(JSC_PREFAB_INCLUDE_DIR jsc INTERFACE_INCLUDE_DIRECTORIES)
15-
set(JSC_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/include)
16-
file(MAKE_DIRECTORY ${JSC_INCLUDE_DIR})
17-
file(GLOB JSC_HEADERS "${JSC_PREFAB_INCLUDE_DIR}/*.h")
18-
foreach(HEADER ${JSC_HEADERS})
19-
file(COPY ${HEADER} DESTINATION "${JSC_INCLUDE_DIR}/JavaScriptCore")
20-
endforeach()
21-
2213
add_compile_options(
2314
-fexceptions
2415
-frtti
@@ -34,7 +25,6 @@ add_library(jscruntime
3425
JSCRuntime.cpp)
3526

3627
target_include_directories(jscruntime PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
37-
target_include_directories(jscruntime PRIVATE ${JSC_INCLUDE_DIR})
3828
target_merge_so(jscruntime)
3929

4030
target_link_libraries(jscruntime

packages/react-native/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fresco = "3.4.0"
2121
infer-annotation = "0.18.0"
2222
javax-annotation-api = "1.3.2"
2323
javax-inject = "1"
24-
jsc-android = "2026004.0.0"
24+
jsc-android = "2026004.0.1"
2525
jsr305 = "3.0.2"
2626
junit = "4.13.2"
2727
kotlin = "2.0.21"

0 commit comments

Comments
 (0)