Add Yoga JNI bindings to libcoldstart

Summary:
Yoga's JNI bindings are usually loaded during class loading, and can stall the UI thread.

Here, we try to mitigate the problem by adding the bindings to libcoldstart.

Reviewed By: michalgr

Differential Revision: D12956818

fbshipit-source-id: 9dda5cb6d26c2bae64606bc2d7c98ab8f7c05a30
This commit is contained in:
David Aurelio
2018-11-07 09:33:33 -08:00
committed by Facebook Github Bot
parent a0b3586fb3
commit 7a60399b2b
3 changed files with 8 additions and 3 deletions

View File

@@ -174,6 +174,8 @@ def yoga_cxx_binary(*args, **kwargs):
def yoga_cxx_library(*args, **kwargs):
# Currently unused
kwargs.pop("platforms", None)
kwargs.pop("allow_jni_merging", None)
native.cxx_library(*args, **kwargs)
def yoga_cxx_test(*args, **kwargs):