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"
20
20
ktlint = " 11.0.0"
21
21
licensee = " 1.7.0"
22
22
lifecycle = " 2.4.0"
23
+ litert = " 1.4.0"
23
24
mockk = " 1.13.4"
24
25
robolectric = " 4.14.1"
25
26
roborazzi = " 1.43.1"
26
27
serialization = " 1.3.3"
27
- tensorflow = " 2.0.0"
28
- tensorflow-support = " 0.3.0"
29
28
turbine = " 1.0.0"
30
29
zxing = " 3.5.2"
31
30
@@ -64,8 +63,8 @@ kotlin-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serializat
64
63
kotlin-coroutines = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-android" , version.ref = " coroutines" }
65
64
66
65
# 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 " }
69
68
70
69
# Other
71
70
zxing = { module = " com.google.zxing:core" , version.ref = " zxing" }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ android {
9
9
externalNativeBuild {
10
10
cmake {
11
11
cppFlags + = " -std=c++17"
12
- arguments + = " -DCMAKE_VERBOSE_MAKEFILE=ON"
12
+ arguments + = listOf ( " -DCMAKE_VERBOSE_MAKEFILE=ON" , " -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON " )
13
13
}
14
14
}
15
15
buildConfigField(
@@ -58,8 +58,8 @@ dependencies {
58
58
59
59
implementation(libs.kotlin.serialization.json)
60
60
61
- implementation(libs.tensorflow )
62
- implementation(libs.tensorflow .support)
61
+ implementation(libs.litert )
62
+ implementation(libs.litert .support)
63
63
64
64
coreLibraryDesugaring(libs.android.desugar)
65
65
You can’t perform that action at this time.
0 commit comments