Skip to content

Commit 1d0316e

Browse files
committed
Adding setting to compress the model correctly for all builds
1 parent 5bc3904 commit 1d0316e

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

mode/templates/VRBuild.gradle.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ android {
2424
}
2525
lintOptions {
2626
abortOnError false
27+
}
28+
aaptOptions {
29+
noCompress "tflite"
30+
noCompress "lite"
2731
}
2832
}
2933

mode/templates/VRBuildECJ.gradle.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ android {
2424
}
2525
lintOptions {
2626
abortOnError false
27+
}
28+
aaptOptions {
29+
noCompress "tflite"
30+
noCompress "lite"
2731
}
2832

2933
// We create a variant of the compile task, where we use the Eclipse Compiler for Java

mode/templates/WearBuild.gradle.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ android {
2424
}
2525
lintOptions {
2626
abortOnError false
27+
}
28+
aaptOptions {
29+
noCompress "tflite"
30+
noCompress "lite"
2731
}
2832
}
2933

mode/templates/WearBuildECJ.gradle.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ android {
2424
}
2525
lintOptions {
2626
abortOnError false
27+
}
28+
aaptOptions {
29+
noCompress "tflite"
30+
noCompress "lite"
2731
}
2832

2933
// We create a variant of the compile task, where we use the Eclipse Compiler for Java

0 commit comments

Comments
 (0)