Summary: This uses OpenSSL 1.1.0h to build and link against. The `.so`s are precompiled and hand-patched from [this repository](https://github.com/passy/android-database-sqlcipher). The patching was necessary to fix the `SONAME` and corresponding `NEEDED` flags to *not* contain a `.1.1` version suffix as Gradle will refuse to bundle those. We basically only use the headers for the remaining part. The precompiled version contains ABI support for `arm64-v8a`, `armeabi`, `armeabi-v7a`, `x86` and most importantly `x86_64`. HOWEVER, `x86_64` is still excluded for now because folly fails to compile due to a missing compiler flag: ``` error: needs target feature pclmul ``` This should be easily fixable by ensuring that `-mpclmul` is added to the CFLAGS if we're compiling for an `x86_64` target in the `CMakeLists.txt` for Folly. Closes #113. Closes https://github.com/facebook/Sonar/pull/125 Reviewed By: priteshrnandgaonkar Differential Revision: D8723636 Pulled By: passy fbshipit-source-id: 41c61047d2793ebaef5793a3c937c4d628471d6a
33 lines
1.2 KiB
Groovy
33 lines
1.2 KiB
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* The settings file is used to specify which projects to include in your build.
|
|
*
|
|
* Detailed information about configuring a multi-project build in Gradle can be found
|
|
* in the user guide at https://docs.gradle.org/4.7/userguide/multi_project_builds.html
|
|
*/
|
|
|
|
rootProject.name = 'sonar-kit'
|
|
|
|
include ':android'
|
|
include ':folly'
|
|
include ':fbjni'
|
|
include ':easywsclient'
|
|
include ':sonarcpp'
|
|
include ':sample'
|
|
include ':doubleconversion'
|
|
include ':glog'
|
|
include ':libevent'
|
|
include ':rsocket'
|
|
|
|
project(':fbjni').projectDir = file('libs/fbjni')
|
|
project(':easywsclient').projectDir = file('libs/easywsclient')
|
|
project(':sonarcpp').projectDir = file('xplat')
|
|
project(':sample').projectDir = file('android/sample')
|
|
project(':android').projectDir = file('android')
|
|
project(':doubleconversion').projectDir = file('android/build/third-party-ndk/double-conversion/')
|
|
project(':glog').projectDir = file('android/build/third-party-ndk/glog/')
|
|
project(':folly').projectDir = file('android/build/third-party-ndk/folly/')
|
|
project(':libevent').projectDir = file('android/build/third-party-ndk/LibEvent/')
|
|
project(':rsocket').projectDir = file('android/build/third-party-ndk/RSocket')
|