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 {
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue