Add NDK build for libfb

Summary:
This enables using gradle for building libfb using the NDK. This is 1/3 of what
we need to do. We also need to build yoga itself (which is the easiest as it's
just a static library without external dependencies) and yogajni which relies on
the other two.

Hopefully, this should also make it more obvious why the previous moves were
necessary.

Reviewed By: emilsjolander

Differential Revision: D4913360

fbshipit-source-id: 47658328532fd1ec15f10f8e31ea04691c481011
This commit is contained in:
Pascal Hartig
2017-04-19 12:22:07 -07:00
committed by Facebook Github Bot
parent 9f76fb6980
commit 8c50347f3c
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
include ':yoga', ':yoga-layout', ':yoga:proguard-annotations'
include ':yoga', ':yoga-layout', ':yoga:proguard-annotations', ':libfb'
project(':yoga').projectDir = file('java')
project(':yoga:proguard-annotations').projectDir = file('java/proguard-annotations')
project(':yoga-layout').projectDir = file('android')
project(':libfb').projectDir = file('lib/fb')