Skip to content

Commit bf8871b

Browse files
SessionHero01SessionHero01
andauthored
Optimised build flags (#26)
Co-authored-by: SessionHero01 <[email protected]>
1 parent a36e49f commit bf8871b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

library/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ android {
2121
externalNativeBuild {
2222
cmake {
2323
arguments += listOf("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON")
24+
targets("session_util")
2425
}
2526
}
2627
}
@@ -39,6 +40,12 @@ android {
3940
getDefaultProguardFile("proguard-android-optimize.txt"),
4041
"proguard-rules.pro"
4142
)
43+
44+
externalNativeBuild {
45+
cmake {
46+
arguments += listOf("-DCMAKE_BUILD_TYPE=Release")
47+
}
48+
}
4249
}
4350

4451
debug {

0 commit comments

Comments
 (0)