Set up Yoga experiment
Reviewed By: priteshrnandgaonkar Differential Revision: D9943869 fbshipit-source-id: 6b6550f453ab4e0ab8305401b299f2d0ed415f72
This commit is contained in:
committed by
Facebook Github Bot
parent
6e46eec58f
commit
357ca78f9f
@@ -20,6 +20,9 @@ yoga_cxx_library(
|
||||
"-std=c++11",
|
||||
],
|
||||
platforms = ANDROID,
|
||||
preprocessor_flags = [
|
||||
"-DFBJNI_WITH_FAST_CALLS",
|
||||
],
|
||||
soname = "libyoga.$(ext)",
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
|
@@ -10,6 +10,10 @@ package com.facebook.yoga;
|
||||
import com.facebook.soloader.SoLoader;
|
||||
|
||||
public class YogaJNI {
|
||||
|
||||
// Known constants. 1-3 used in previous experiments. Do not reuse.
|
||||
public static int JNI_FAST_CALLS = 4;
|
||||
|
||||
// set before loading any other Yoga code
|
||||
public static boolean useFastCall = false;
|
||||
|
||||
|
Reference in New Issue
Block a user