Skip to content

Commit e11ff37

Browse files
j-piaseckifacebook-github-bot
authored andcommitted
Use umbrellas instead of direct includes in react/runtime module
Summary: Changelog: [Internal] Update the react/runtime module to use the `React/CallInvoker.h`, `React/RuntimeExecutor.h`, and `React/JSBigString.h` umbrella includes instead of direct ones. Differential Revision: D120316197
1 parent bff2476 commit e11ff37

5 files changed

Lines changed: 8 additions & 9 deletions

File tree

‎packages/react-native/ReactCommon/react/runtime/BridgelessNativeMethodCallInvoker.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include <react/cxxstableapi/FrameworksGuard.h>
1111

12-
#include <ReactCommon/CallInvoker.h>
12+
#include <React/CallInvoker.h>
1313
#include <cxxreact/MessageQueueThread.h>
1414
#include <memory>
1515

‎packages/react-native/ReactCommon/react/runtime/BufferedRuntimeExecutor.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
#include <react/cxxstableapi/FrameworksGuard.h>
1111

12-
#include <ReactCommon/RuntimeExecutor.h>
13-
#include <ReactCommon/SchedulerPriority.h>
12+
#include <React/CallInvoker.h>
13+
#include <React/RuntimeExecutor.h>
1414
#include <jsi/jsi.h>
1515
#include <atomic>
1616
#include <memory>

‎packages/react-native/ReactCommon/react/runtime/CallInvokerImpl.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#include <react/cxxstableapi/FrameworksGuard.h>
1111

12-
#include <ReactCommon/CallInvoker.h>
13-
#include <ReactCommon/SchedulerPriority.h>
12+
#include <React/CallInvoker.h>
1413
#include <react/renderer/runtimescheduler/RuntimeScheduler.h>
1514
#include <react/runtime/BufferedRuntimeExecutor.h>
1615

‎packages/react-native/ReactCommon/react/runtime/ReactInstance.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
#include <react/cxxstableapi/FrameworksGuard.h>
1111

12-
#include <ReactCommon/CallInvoker.h>
13-
#include <ReactCommon/RuntimeExecutor.h>
14-
#include <cxxreact/JSBigString.h>
12+
#include <React/CallInvoker.h>
13+
#include <React/JSBigString.h>
14+
#include <React/RuntimeExecutor.h>
1515
#include <cxxreact/MessageQueueThread.h>
1616
#include <jserrorhandler/JsErrorHandler.h>
1717
#include <jsi/jsi.h>

‎packages/react-native/ReactCommon/react/runtime/TimerManager.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include <react/cxxstableapi/FrameworksGuard.h>
1111

12-
#include <ReactCommon/RuntimeExecutor.h>
12+
#include <React/RuntimeExecutor.h>
1313
#include <unordered_map>
1414
#include <vector>
1515

0 commit comments

Comments
 (0)