Skip to content

Commit 1fd027f

Browse files
authored
Merge pull request #314 from OP-Engineering/oscar/update-to-rn-81
Oscar/update to rn 81
2 parents f8c848d + 807c112 commit 1fd027f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2779
-7679
lines changed

.watchmanconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"prefer_split_fsevents_watcher": true
3-
}
1+
{}

android/.project

Lines changed: 0 additions & 17 deletions
This file was deleted.

android/.settings/org.eclipse.buildship.core.prefs

Lines changed: 0 additions & 13 deletions
This file was deleted.

android/CMakeLists.txt

Lines changed: 23 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -72,72 +72,33 @@ if (USER_DEFINED_SOURCE_FILES)
7272
endif()
7373

7474
if (USE_SQLCIPHER)
75-
if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
76-
target_link_libraries(
77-
${PACKAGE_NAME}
78-
${LOG_LIB}
79-
ReactAndroid::reactnative
80-
ReactAndroid::jsi
81-
fbjni::fbjni
82-
openssl::crypto
83-
)
84-
else()
85-
target_link_libraries(
86-
${PACKAGE_NAME}
87-
${LOG_LIB}
88-
fbjni::fbjni
89-
ReactAndroid::jsi
90-
ReactAndroid::turbomodulejsijni
91-
ReactAndroid::react_nativemodule_core
92-
android
93-
openssl::crypto
94-
)
95-
endif()
75+
target_link_libraries(
76+
${PACKAGE_NAME}
77+
${LOG_LIB}
78+
ReactAndroid::reactnative
79+
ReactAndroid::jsi
80+
fbjni::fbjni
81+
openssl::crypto
82+
)
9683
elseif (USE_LIBSQL)
9784
cmake_path(SET LIBSQL ${CMAKE_CURRENT_SOURCE_DIR}/jniLibs/${ANDROID_ABI}/libsql_experimental.a NORMALIZE)
9885
add_library(libsql STATIC IMPORTED)
9986
set_target_properties(libsql PROPERTIES IMPORTED_LOCATION ${LIBSQL})
10087

101-
if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
102-
target_link_libraries(
103-
${PACKAGE_NAME}
104-
${LOG_LIB}
105-
ReactAndroid::reactnative
106-
ReactAndroid::jsi
107-
fbjni::fbjni
108-
libsql
109-
)
110-
else()
111-
target_link_libraries(
112-
${PACKAGE_NAME}
113-
${LOG_LIB}
114-
fbjni::fbjni
115-
ReactAndroid::jsi
116-
ReactAndroid::turbomodulejsijni
117-
ReactAndroid::react_nativemodule_core
118-
android
119-
libsql
120-
)
121-
endif()
88+
target_link_libraries(
89+
${PACKAGE_NAME}
90+
${LOG_LIB}
91+
ReactAndroid::reactnative
92+
ReactAndroid::jsi
93+
fbjni::fbjni
94+
libsql
95+
)
12296
else ()
123-
# if (REACTNATIVE_MERGED_SO)
124-
if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
125-
target_link_libraries(
126-
${PACKAGE_NAME}
127-
${LOG_LIB}
128-
ReactAndroid::reactnative
129-
ReactAndroid::jsi
130-
fbjni::fbjni
131-
)
132-
else()
133-
target_link_libraries(
134-
${PACKAGE_NAME}
135-
${LOG_LIB}
136-
fbjni::fbjni
137-
ReactAndroid::jsi
138-
ReactAndroid::turbomodulejsijni
139-
ReactAndroid::react_nativemodule_core
140-
android
141-
)
142-
endif()
97+
target_link_libraries(
98+
${PACKAGE_NAME}
99+
${LOG_LIB}
100+
ReactAndroid::reactnative
101+
ReactAndroid::jsi
102+
fbjni::fbjni
103+
)
143104
endif()

0 commit comments

Comments
 (0)