Add Unsafe based storage backend

Summary:
@public

Adds another version of property storage for `YogaNode`, using `sun.misc.Unsafe`.

Adopts the stub concept from Litho for `Unsafe`, as it is hidden by the Android SDK.

Reviewed By: pasqualeanatriello

Differential Revision: D9140103

fbshipit-source-id: a4b376eca341b724a00f873467ae8bf8eaac69f4
This commit is contained in:
David Aurelio
2018-08-05 16:36:09 -07:00
committed by Facebook Github Bot
parent c5d4485db3
commit be78bfbd8c
10 changed files with 682 additions and 11 deletions

View File

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