Add jni bindings

Summary: Add jni bindings for csslayout. First step in many of removing LayoutEngine.java and performing all layout in native.

Reviewed By: lucasr

Differential Revision: D3648793

fbshipit-source-id: d0e696e196fa7c63109c9117a65645ca3d6c9c00
This commit is contained in:
Emil Sjolander
2016-08-04 08:19:59 -07:00
committed by Facebook Github Bot 9
parent 7af5e3d68d
commit c74eae50ac
13 changed files with 1164 additions and 33 deletions

20
lib/soloader/BUCK Normal file
View File

@@ -0,0 +1,20 @@
# Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
include_defs('//CSSLAYOUT_DEFS')
android_prebuilt_aar(
name = 'soloader',
aar = ':soloader-binary-aar',
visibility = [CSSLAYOUT_ROOT],
)
remote_file(
name = 'soloader-binary-aar',
url = 'mvn:com.facebook.soloader:soloader:aar:0.1.0',
sha1 = '918573465c94c6bc9bad48ef259f1e0cd6543c1b',
)