mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 06:22:39 +08:00
Make two separate yoga targets for QE
Reviewed By: emilsjolander Differential Revision: D7059278 fbshipit-source-id: dd11b018edc8ea930d5eba09c6c01e349bb8b63c
This commit is contained in:
committed by
Facebook Github Bot
parent
006b77f1ae
commit
af9d6479e5
@@ -17,7 +17,11 @@ import javax.annotation.Nullable;
|
||||
public class YogaNode implements Cloneable {
|
||||
|
||||
static {
|
||||
SoLoader.loadLibrary("yoga");
|
||||
if (YogaConstants.shouldUseFastMath) {
|
||||
SoLoader.loadLibrary("yogafastmath");
|
||||
} else {
|
||||
SoLoader.loadLibrary("yoga");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user