2019-10-15 10:30:08 -07:00
|
|
|
/*
|
2019-09-10 08:15:12 -07:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion rootProject.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
|
|
|
|
|
|
ndk {
|
|
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
|
|
|
}
|
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_static'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path 'src/main/cpp/CMakeLists.txt'
|
2019-09-15 13:50:56 -07:00
|
|
|
version '3.6.0-rc2'
|
2019-09-10 08:15:12 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'com.facebook.soloader:soloader:0.5.1'
|
|
|
|
}
|
|
|
|
}
|