Summary: Currently while building thru gradle got the error that armeabi is not supported.The supported ABI's by ndk are x86, x86_64, armeabi-v71, arm64 Reviewed By: danielbuechele Differential Revision: D8611628 fbshipit-source-id: 80d9449c35a69aab020412b523f5c21fe6661de8
43 lines
1.0 KiB
Groovy
43 lines
1.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
buildConfigField "boolean", "IS_INTERNAL_BUILD", 'true'
|
|
ndk {
|
|
abiFilters 'arm64-v8a', 'x86', 'armeabi-v7a'
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_shared'
|
|
}
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile './ApplicationManifest.xml'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path './CMakeLists.txt'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':glog')
|
|
//implementation project(':libevent')
|
|
implementation project(':doubleconversion')
|
|
implementation project(':openssl')
|
|
|
|
}
|
|
}
|