Commit 1e550323 authored by Lukas Lihotzki's avatar Lukas Lihotzki Committed by Hubert Chathi
Browse files

Simplify olm-sdk/build.gradle by using defaults



This doesn't change the output.

Signed-off-by: default avatarLukas Lihotzki <lukas@lihotzki.de>
parent 29498119
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment