Skip to content

Commit 8090ee3

Browse files
authored
Include RuntimeExecutor.h consistently (#12414)
* Include RuntimeExecutor.h consistently Most of ReactCommon and React Native mobile imports RuntimeExecutor.h as #include <ReactCommon/RuntimeExecutor.h>. This just cleans up a few remaining callsites in react-native-windows that uses an inconsistent #include. Please note, the AdditionalIncludeDirectory is already configured in React.Cpp.props. * Change files
1 parent 922e3bf commit 8090ee3

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Include RuntimeExecutor.h consistently",
4+
"packageName": "react-native-windows",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

vnext/Microsoft.ReactNative/AsynchronousEventBeat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <NativeModules.h>
2+
#include <ReactCommon/RuntimeExecutor.h>
23
#include <react/renderer/core/EventBeat.h>
3-
#include <runtimeexecutor/ReactCommon/RuntimeExecutor.h>
44

55
namespace Microsoft::ReactNative {
66

vnext/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <IReactContext.h>
1616
#include <IReactRootView.h>
1717
#include <JSI/jsi.h>
18+
#include <ReactCommon/RuntimeExecutor.h>
1819
#include <SchedulerSettings.h>
1920
#include <SynchronousEventBeat.h>
2021
#include <UI.Xaml.Controls.h>
@@ -27,7 +28,6 @@
2728
#include <react/renderer/scheduler/SchedulerToolbox.h>
2829
#include <react/utils/ContextContainer.h>
2930
#include <react/utils/CoreFeatures.h>
30-
#include <runtimeexecutor/ReactCommon/RuntimeExecutor.h>
3131
#include <winrt/Windows.Graphics.Display.h>
3232
#include <winrt/Windows.UI.Composition.Desktop.h>
3333
#include "Unicode.h"

vnext/Microsoft.ReactNative/SynchronousEventBeat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// Licensed under the MIT License.
33

44
#include <NativeModules.h>
5+
#include <ReactCommon/RuntimeExecutor.h>
56
#include <react/renderer/core/EventBeat.h>
67
#include <react/renderer/runtimescheduler/RuntimeScheduler.h>
7-
#include <runtimeexecutor/ReactCommon/RuntimeExecutor.h>
88

99
namespace Microsoft::ReactNative {
1010

0 commit comments

Comments
 (0)