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:
Lukas Lihotzki 2021-04-30 14:51:47 +02:00 committed by Hubert Chathi
parent 2949811917
commit 1e55032377

View file

@ -15,18 +15,12 @@ android {
externalNativeBuild {
cmake {
arguments '-DANDROID_STL=c++_static',
'-DCMAKE_C_FLAGS=-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wall',
'-DCMAKE_CXX_FLAGS=-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wall',
'-DCMAKE_SHARED_LINKER_FLAGS=-z relro -z now',
arguments '-DCMAKE_C_FLAGS=-fstack-protector-all -Wall',
'-DCMAKE_CXX_FLAGS=-fstack-protector-all -Wall',
'-DOLM_ANDROID_JNI=on',
'-DOLM_TESTS=off'
}
}
ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86'
}
}
buildTypes {
debug {