File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,11 @@ kover = "0.9.1"
2020ktlint = " 11.0.0"
2121licensee = " 1.7.0"
2222lifecycle = " 2.4.0"
23+ litert = " 1.4.0"
2324mockk = " 1.13.4"
2425robolectric = " 4.14.1"
2526roborazzi = " 1.43.1"
2627serialization = " 1.3.3"
27- tensorflow = " 2.0.0"
28- tensorflow-support = " 0.3.0"
2928turbine = " 1.0.0"
3029zxing = " 3.5.2"
3130
@@ -64,8 +63,8 @@ kotlin-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serializat
6463kotlin-coroutines = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-android" , version.ref = " coroutines" }
6564
6665# TensorFlow
67- tensorflow = { module = " org.tensorflow:tensorflow-lite " , version.ref = " tensorflow " }
68- tensorflow -support = {module = " org.tensorflow:tensorflow-lite- support" , version.ref = " tensorflow-support " }
66+ litert = { module = " com.google.ai.edge.litert:litert " , version.ref = " litert " }
67+ litert -support = { module = " com.google.ai.edge.litert:litert- support" , version.ref = " litert " }
6968
7069# Other
7170zxing = { module = " com.google.zxing:core" , version.ref = " zxing" }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ android {
99 externalNativeBuild {
1010 cmake {
1111 cppFlags + = " -std=c++17"
12- arguments + = " -DCMAKE_VERBOSE_MAKEFILE=ON"
12+ arguments + = listOf ( " -DCMAKE_VERBOSE_MAKEFILE=ON" , " -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON " )
1313 }
1414 }
1515 buildConfigField(
@@ -58,8 +58,8 @@ dependencies {
5858
5959 implementation(libs.kotlin.serialization.json)
6060
61- implementation(libs.tensorflow )
62- implementation(libs.tensorflow .support)
61+ implementation(libs.litert )
62+ implementation(libs.litert .support)
6363
6464 coreLibraryDesugaring(libs.android.desugar)
6565
You can’t perform that action at this time.
0 commit comments