Make native method binding configurable

Summary:
Moves binding of native methods into a separate native method that can be parameterized.

This will be used to experiment with JNI-related technology.

Reviewed By: priteshrnandgaonkar

Differential Revision: D9943870

fbshipit-source-id: 661f15537d5bbf7a3eef7717e3d99fed2de23904
This commit is contained in:
David Aurelio
2018-09-25 15:44:40 -07:00
committed by Facebook Github Bot
parent 328ec7dc4d
commit 554d8cdf76
4 changed files with 134 additions and 100 deletions

View File

@@ -18,7 +18,7 @@ import javax.annotation.Nullable;
public class YogaNode implements Cloneable {
static {
SoLoader.loadLibrary("yoga");
YogaJNI.init();
}
/**