Reorganize native dep download and extraction (#154)

Summary:
This moves the native setup to a separate gradle file and unpacks everything outside the build folder. That way we don't throw everything away on every incremental build.

This is an intermediate step to get to a more declarative setup like Fresco has it and get rid of the individual hacks we have for every download.
Pull Request resolved: https://github.com/facebook/Sonar/pull/154

Reviewed By: jknoxville

Differential Revision: D8833812

Pulled By: passy

fbshipit-source-id: 2424c9d6e22e6092c04af344e06939b4a6aba041
This commit is contained in:
Pascal Hartig
2018-07-16 09:15:08 -07:00
committed by Facebook Github Bot
parent d34aba9e21
commit cd6a5f9ff8
35 changed files with 316 additions and 279 deletions

View File

@@ -17,14 +17,16 @@ include ':doubleconversion'
include ':glog'
include ':libevent'
include ':rsocket'
include ':third-party'
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')
project(':doubleconversion').projectDir = file('android/third-party/external/double-conversion/')
project(':glog').projectDir = file('android/third-party/external/glog/')
project(':folly').projectDir = file('android/third-party/external/folly/')
project(':libevent').projectDir = file('android/third-party/external/LibEvent/')
project(':rsocket').projectDir = file('android/third-party/external/RSocket/')
project(':third-party').projectDir = file('android/third-party/')