mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove fb/xplat_init dependency
Summary: This diff removes the fb/xplat_init dependency from fabric onLoad class This is necessary to make fabric compile in OSS changelog: [Internal] Internal Reviewed By: RSNara Differential Revision: D22874850 fbshipit-source-id: 0c61a366e09ab072215ba2fe651f96ef4c2e455a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
aee1ae9e92
commit
f78fcf4a3f
@@ -5,7 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#include <fb/xplat_init.h>
|
||||
#include <fbjni/fbjni.h>
|
||||
|
||||
#include "Binding.h"
|
||||
@@ -14,7 +13,7 @@
|
||||
#include "StateWrapperImpl.h"
|
||||
|
||||
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {
|
||||
return facebook::xplat::initialize(vm, [] {
|
||||
return facebook::jni::initialize(vm, [] {
|
||||
facebook::react::Binding::registerNatives();
|
||||
facebook::react::EventBeatManager::registerNatives();
|
||||
facebook::react::EventEmitterWrapper::registerNatives();
|
||||
|
||||
Reference in New Issue
Block a user