Simplify olm-sdk/build.gradle by using defaults
This doesn't change the output. Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
This commit is contained in:
parent
2949811917
commit
1e55032377
1 changed files with 2 additions and 8 deletions
|
@ -15,18 +15,12 @@ android {
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
arguments '-DANDROID_STL=c++_static',
|
arguments '-DCMAKE_C_FLAGS=-fstack-protector-all -Wall',
|
||||||
'-DCMAKE_C_FLAGS=-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wall',
|
'-DCMAKE_CXX_FLAGS=-fstack-protector-all -Wall',
|
||||||
'-DCMAKE_CXX_FLAGS=-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wall',
|
|
||||||
'-DCMAKE_SHARED_LINKER_FLAGS=-z relro -z now',
|
|
||||||
'-DOLM_ANDROID_JNI=on',
|
'-DOLM_ANDROID_JNI=on',
|
||||||
'-DOLM_TESTS=off'
|
'-DOLM_TESTS=off'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ndk {
|
|
||||||
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
|
|
Loading…
Reference in a new issue