Skip to content

Commit 1ed654c

Browse files
authored
Merge pull request #762 from AppDevNext/UseLatestNDK
Strip native libs
2 parents 95a5773 + 096957b commit 1ed654c

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

app/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ android {
4646
testOptions {
4747
animationsDisabled = true
4848
}
49+
packaging {
50+
jniLibs {
51+
// androidx.graphics:graphics-path ships a .so that llvm-strip cannot process;
52+
// keep it as-is to silence "Unable to strip" warnings.
53+
keepDebugSymbols += "**/libandroidx.graphics.path.so"
54+
}
55+
}
4956
}
5057

5158
dependencies {

chartLib/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ android {
4040
testOptions {
4141
unitTests.isReturnDefaultValues = true // this prevents "not mocked" error
4242
}
43+
packaging {
44+
jniLibs {
45+
// androidx.graphics:graphics-path ships a .so that llvm-strip cannot process;
46+
// keep it as-is to silence "Unable to strip" warnings.
47+
keepDebugSymbols += "**/libandroidx.graphics.path.so"
48+
}
49+
}
4350
}
4451

4552
dependencies {

chartLibCompose/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ android {
4242
testOptions {
4343
unitTests.isReturnDefaultValues = true // this prevents "not mocked" error
4444
}
45+
packaging {
46+
jniLibs {
47+
// androidx.graphics:graphics-path ships a .so that llvm-strip cannot process;
48+
// keep it as-is to silence "Unable to strip" warnings.
49+
keepDebugSymbols += "**/libandroidx.graphics.path.so"
50+
}
51+
}
4552
}
4653

4754
dependencies {

0 commit comments

Comments
 (0)