Summary: Compile against a static version of OpenSSL for better compatibility with apps that already use OpenSSL in some fashion. Pull Request resolved: https://github.com/facebook/Sonar/pull/149 Reviewed By: priteshrnandgaonkar Differential Revision: D8804169 Pulled By: passy fbshipit-source-id: 4de66a77806a3b3f01b2cf5f253916f2cf6f48e8
33 lines
716 B
Groovy
33 lines
716 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments '-DANDROID_TOOLCHAIN=clang'
|
|
}
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path './CMakeLists.txt'
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile './AndroidManifest.xml'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':rsocket')
|
|
implementation project(':folly')
|
|
}
|
|
}
|