diff --git a/.gitignore b/.gitignore index ed9f7eda..1db2b1aa 100644 --- a/.gitignore +++ b/.gitignore @@ -81,4 +81,6 @@ android/gradle/ !.yarn/plugins !.yarn/releases !.yarn/sdks -!.yarn/versions \ No newline at end of file +!.yarn/versions + +android/c_sources \ No newline at end of file diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index b83f4863..8df9623a 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -75,12 +75,7 @@ find_library(LOG_LIB log) # Add user defined files if (USER_DEFINED_SOURCE_FILES) -# string(REPLACE ";" "\n" user_source_files "${USER_DEFINED_SOURCE_FILES}") - message(WARNING "User source files: ${user_source_files}") - message(WARNING "TOKENIZERS_HEADER_PATH ${USER_DEFINED_TOKENIZERS_HEADER_PATH}") - target_sources(${PACKAGE_NAME} PRIVATE ${USER_DEFINED_SOURCE_FILES}) -# add_definitions("-DTOKENIZER_LIST=${USER_DEFINED_TOKENIZER_INIT_STRINGS}") add_definitions("-DTOKENIZERS_HEADER_PATH=\"${USER_DEFINED_TOKENIZERS_HEADER_PATH}\"") endif() diff --git a/android/build.gradle b/android/build.gradle index 046e97d5..fd98bcf9 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -177,8 +177,6 @@ android { } sourceFiles = fileTree(dir: destDir, include: ["**/*.cpp", "**/*.h"]).files.join(";") tokenizersHeaderPath = "../c_sources/tokenizers.h" - println("tokenizers header path $tokenizersHeaderPath") - } cppFlags "-O2", "-fexceptions", "-DONANDROID" @@ -190,7 +188,6 @@ android { "-DUSE_LIBSQL=${useLibsql ? 1 : 0}", "-DUSE_SQLITE_VEC=${useSqliteVec ? 1 : 0}", "-DUSER_DEFINED_SOURCE_FILES=${sourceFiles}", - // "-DUSER_DEFINED_TOKENIZER_INIT_STRINGS='${tokenizerInitStrings}'", "-DUSER_DEFINED_TOKENIZERS_HEADER_PATH='${tokenizersHeaderPath}'" } } diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 035df6fc..7bbf4747 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -10,7 +10,7 @@ PODS: - hermes-engine (0.76.1): - hermes-engine/Pre-built (= 0.76.1) - hermes-engine/Pre-built (0.76.1) - - op-sqlite (10.0.0-tokenizers-beta8): + - op-sqlite (10.0.0-tokenizers-beta9): - DoubleConversion - glog - hermes-engine @@ -1785,7 +1785,7 @@ SPEC CHECKSUMS: GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4 glog: 08b301085f15bcbb6ff8632a8ebaf239aae04e6a hermes-engine: 46f1ffbf0297f4298862068dd4c274d4ac17a1fd - op-sqlite: d694c00d61984c2f7245b915e17d05187533ec6e + op-sqlite: c57328a22832c1f6093c01f13281b66cf5ee49d5 RCT-Folly: bf5c0376ffe4dd2cf438dcf86db385df9fdce648 RCTDeprecation: fde92935b3caa6cb65cbff9fbb7d3a9867ffb259 RCTRequired: 75c6cee42d21c1530a6f204ba32ff57335d19007