mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
move fabric to ReactCommon/react/renderer
Summary: This diff moves fabric C++ code from ReactCommon/fabric to ReactCommon/react/renderer As part of this diff I also refactored components, codegen and callsites on CatalystApp, FB4A and venice Script: P137350694 changelog: [internal] internal refactor Reviewed By: fkgozali Differential Revision: D22852139 fbshipit-source-id: f85310ba858b6afd81abfd9cbe6d70b28eca7415
This commit is contained in:
committed by
Facebook GitHub Bot
parent
79d0a7d711
commit
3093010ea5
@@ -8,8 +8,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <jsi/jsi.h>
|
||||
#include <react/core/EventBeat.h>
|
||||
#include <react/uimanager/primitives.h>
|
||||
#include <react/renderer/core/EventBeat.h>
|
||||
#include <react/renderer/uimanager/primitives.h>
|
||||
|
||||
#include "EventBeatManager.h"
|
||||
|
||||
|
||||
@@ -29,11 +29,11 @@ rn_xplat_cxx_library(
|
||||
deps = [
|
||||
react_native_xplat_target("better:better"),
|
||||
react_native_xplat_target("config:config"),
|
||||
react_native_xplat_target("fabric/animations:animations"),
|
||||
react_native_xplat_target("fabric/uimanager:uimanager"),
|
||||
react_native_xplat_target("fabric/scheduler:scheduler"),
|
||||
react_native_xplat_target("fabric/componentregistry:componentregistry"),
|
||||
react_native_xplat_target("fabric/components/scrollview:scrollview"),
|
||||
react_native_xplat_target("react/renderer/animations:animations"),
|
||||
react_native_xplat_target("react/renderer/uimanager:uimanager"),
|
||||
react_native_xplat_target("react/renderer/scheduler:scheduler"),
|
||||
react_native_xplat_target("react/renderer/componentregistry:componentregistry"),
|
||||
react_native_xplat_target("react/renderer/components/scrollview:scrollview"),
|
||||
react_native_xplat_target("runtimeexecutor:runtimeexecutor"),
|
||||
react_native_target("jni/react/jni:jni"),
|
||||
"//xplat/fbsystrace:fbsystrace",
|
||||
|
||||
@@ -15,17 +15,17 @@
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <jsi/JSIDynamic.h>
|
||||
#include <jsi/jsi.h>
|
||||
#include <react/animations/LayoutAnimationDriver.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/scheduler/Scheduler.h>
|
||||
#include <react/scheduler/SchedulerDelegate.h>
|
||||
#include <react/scheduler/SchedulerToolbox.h>
|
||||
#include <react/uimanager/primitives.h>
|
||||
#include <react/renderer/animations/LayoutAnimationDriver.h>
|
||||
#include <react/renderer/componentregistry/ComponentDescriptorFactory.h>
|
||||
#include <react/renderer/components/scrollview/ScrollViewProps.h>
|
||||
#include <react/renderer/core/EventBeat.h>
|
||||
#include <react/renderer/core/EventEmitter.h>
|
||||
#include <react/renderer/core/conversions.h>
|
||||
#include <react/renderer/debug/SystraceSection.h>
|
||||
#include <react/renderer/scheduler/Scheduler.h>
|
||||
#include <react/renderer/scheduler/SchedulerDelegate.h>
|
||||
#include <react/renderer/scheduler/SchedulerToolbox.h>
|
||||
#include <react/renderer/uimanager/primitives.h>
|
||||
#include <react/utils/ContextContainer.h>
|
||||
|
||||
#include <Glog/logging.h>
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <react/animations/LayoutAnimationDriver.h>
|
||||
#include <react/jni/JMessageQueueThread.h>
|
||||
#include <react/jni/JRuntimeExecutor.h>
|
||||
#include <react/jni/ReadableNativeMap.h>
|
||||
#include <react/scheduler/Scheduler.h>
|
||||
#include <react/scheduler/SchedulerDelegate.h>
|
||||
#include <react/uimanager/LayoutAnimationStatusDelegate.h>
|
||||
#include <react/renderer/animations/LayoutAnimationDriver.h>
|
||||
#include <react/renderer/scheduler/Scheduler.h>
|
||||
#include <react/renderer/scheduler/SchedulerDelegate.h>
|
||||
#include <react/renderer/uimanager/LayoutAnimationStatusDelegate.h>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include "ComponentFactoryDelegate.h"
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
#include <android/log.h>
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <jsi/jsi.h>
|
||||
#include <react/componentregistry/ComponentDescriptorRegistry.h>
|
||||
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
|
||||
|
||||
using namespace facebook::jsi;
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <jsi/jsi.h>
|
||||
#include <react/componentregistry/ComponentDescriptorRegistry.h>
|
||||
#include <react/scheduler/Scheduler.h>
|
||||
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
|
||||
#include <react/renderer/scheduler/Scheduler.h>
|
||||
#include <react/utils/ContextContainer.h>
|
||||
#include <mutex>
|
||||
#include <unordered_set>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <ReactCommon/RuntimeExecutor.h>
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <react/core/EventBeat.h>
|
||||
#include <react/renderer/core/EventBeat.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
@@ -33,4 +33,4 @@ void EventEmitterWrapper::registerNatives() {
|
||||
}
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
||||
} // namespace facebook
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <react/core/EventEmitter.h>
|
||||
#include <react/jni/ReadableNativeMap.h>
|
||||
#include <react/renderer/core/EventEmitter.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <react/uimanager/primitives.h>
|
||||
#include <react/renderer/uimanager/primitives.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <react/core/State.h>
|
||||
#include <react/jni/ReadableNativeMap.h>
|
||||
#include <react/renderer/core/State.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <react/core/State.h>
|
||||
#include <react/jni/ReadableNativeMap.h>
|
||||
#include <react/renderer/core/State.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
Reference in New Issue
Block a user