Fabric: componentregistry module was decoupled from uimanager

Summary:
We need to break up the `uimanager` module in order to solve circular dependencies problem (which future diff would have otherwise).

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: JoshuaGross

Differential Revision: D20885163

fbshipit-source-id: 08eb1ba1d408fc0948e8d0da62380786a40973af
This commit is contained in:
Valentin Shergin
2020-04-18 15:00:21 -07:00
committed by Facebook GitHub Bot
parent e1eef24321
commit e56950dc65
39 changed files with 102 additions and 30 deletions
@@ -29,6 +29,7 @@ rn_xplat_cxx_library(
react_native_xplat_target("better:better"),
react_native_xplat_target("config:config"),
react_native_xplat_target("fabric/uimanager:uimanager"),
react_native_xplat_target("fabric/componentregistry:componentregistry"),
react_native_xplat_target("fabric/components/scrollview:scrollview"),
react_native_xplat_target("utils:utils"),
react_native_target("jni/react/jni:jni"),
@@ -15,12 +15,12 @@
#include <fbjni/fbjni.h>
#include <jsi/JSIDynamic.h>
#include <jsi/jsi.h>
#include <react/componentregistry/ComponentDescriptorFactory.h>
#include <react/components/scrollview/ScrollViewProps.h>
#include <react/core/EventBeat.h>
#include <react/core/EventEmitter.h>
#include <react/core/conversions.h>
#include <react/debug/SystraceSection.h>
#include <react/uimanager/ComponentDescriptorFactory.h>
#include <react/uimanager/Scheduler.h>
#include <react/uimanager/SchedulerDelegate.h>
#include <react/uimanager/SchedulerToolbox.h>
@@ -9,7 +9,7 @@
#include <android/log.h>
#include <fbjni/fbjni.h>
#include <jsi/jsi.h>
#include <react/uimanager/ComponentDescriptorRegistry.h>
#include <react/componentregistry/ComponentDescriptorRegistry.h>
using namespace facebook::jsi;
@@ -9,7 +9,7 @@
#include <fbjni/fbjni.h>
#include <jsi/jsi.h>
#include <react/uimanager/ComponentDescriptorRegistry.h>
#include <react/componentregistry/ComponentDescriptorRegistry.h>
#include <react/uimanager/Scheduler.h>
#include <react/utils/ContextContainer.h>
#include <mutex>