Skip to content

Commit e8536cb

Browse files
committed
Set default visibility hidden and enabled symbols stripping for release mode
1 parent 3b3f235 commit e8536cb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tehreer-android/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ android {
6464
release {
6565
minifyEnabled false
6666
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
67+
68+
externalNativeBuild {
69+
ndkBuild {
70+
cFlags '-fvisibility=hidden'
71+
cppFlags '-fvisibility=hidden'
72+
arguments 'APP_LDFLAGS+=-s'
73+
}
74+
}
6775
}
6876
}
6977

0 commit comments

Comments
 (0)