Skip to content

Commit e1866bd

Browse files
committed
Removal of commented lines
1 parent 45510dd commit e1866bd

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

android/CMakeLists.txt

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ target_include_directories(
6464
PRIVATE
6565
# --- fbjni ---
6666
"${LIBFBJNI_INCLUDE_DIR}"
67-
# --- Third Party (required by RN) ---
68-
# "${BUILD_DIR}/third-party-ndk/boost"
69-
# "${BUILD_DIR}/third-party-ndk/double-conversion"
70-
# "${BUILD_DIR}/third-party-ndk/folly"
71-
# "${BUILD_DIR}/third-party-ndk/glog"
7267
# --- React Native ---
7368
"${NODE_MODULES_DIR}/react-native/React"
7469
"${NODE_MODULES_DIR}/react-native/React/Base"
@@ -84,38 +79,12 @@ target_include_directories(
8479

8580
file (GLOB LIBRN_DIR "${BUILD_DIR}/react-native-0*/jni/${ANDROID_ABI}")
8681

87-
#if(${FOR_HERMES})
88-
# file (GLOB LIBHERMES_DIR "${BUILD_DIR}/third-party-ndk/hermes/jni/${ANDROID_ABI}")
89-
# # Use Hermes
90-
# find_library(
91-
# JS_ENGINE_LIB
92-
# hermes
93-
# PATHS ${LIBHERMES_DIR}
94-
# NO_CMAKE_FIND_ROOT_PATH
95-
# )
96-
#else()
97-
# file (GLOB LIBJSC_DIR "${BUILD_DIR}/android-jsc*.aar/jni/${ANDROID_ABI}")
98-
# # Use JSC
99-
# find_library(
100-
# JS_ENGINE_LIB
101-
# jscexecutor
102-
# PATHS ${LIBRN_DIR}
103-
# NO_CMAKE_FIND_ROOT_PATH
104-
# )
105-
#endif()
106-
10782
find_library(
10883
FBJNI_LIB
10984
fbjni
11085
PATHS ${LIBRN_DIR}
11186
NO_CMAKE_FIND_ROOT_PATH
11287
)
113-
#find_library(
114-
# FOLLY_JSON_LIB
115-
# folly_json
116-
# PATHS ${LIBRN_DIR}
117-
# NO_CMAKE_FIND_ROOT_PATH
118-
#)
11988

12089
find_library(
12190
REACT_NATIVE_JNI_LIB
@@ -146,9 +115,7 @@ target_link_libraries(
146115
${PACKAGE_NAME}
147116
${LOG_LIB}
148117
${JSI_LIB}
149-
# ${JS_ENGINE_LIB} # <-- Hermes or JSC
150118
${REACT_NATIVE_JNI_LIB}
151119
${FBJNI_LIB}
152-
# ${FOLLY_JSON_LIB}
153120
android
154121
)

0 commit comments

Comments
 (0)