Add reactRuntime target (#51690)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51690

This change adds the reactRuntime target to SwiftPM

## Changelog:
[Internal] - Add reactRuntime

Reviewed By: cortinico

Differential Revision: D75638242

fbshipit-source-id: 900a1254e3084a78f41aec5e51f7513724c152ec
This commit is contained in:
Riccardo Cipolleschi
2025-05-30 07:21:25 -07:00
committed by Facebook GitHub Bot
parent 48b2dd355b
commit cb6d388603
+9 -1
View File
@@ -144,6 +144,13 @@ let reactRendererDebug = RNTarget(
dependencies: [.reactDebug, .reactNativeDependencies]
)
let reactRuntimeExecutor = RNTarget(
name: .reactRuntimeExecutor,
path: "ReactCommon/runtimeexecutor/platform/ios",
searchPaths: [RuntimeExecutorPath],
dependencies: [.jsi]
)
/// React-jsinspectortracing.podspec
let reactJsInspectorTracing = RNTarget(
name: .reactJsInspectorTracing,
@@ -230,7 +237,7 @@ let reactRuntimeScheduler = RNTarget(
path: "ReactCommon/react/renderer/runtimescheduler",
searchPaths: ["ReactCommon", RuntimeExecutorPath, CallInvokerPath],
excludedPaths: ["tests"],
dependencies: [.reactNativeDependencies, .reactFeatureFlags, .reactCxxReact, .reactPerfLogger, .reactPerformanceTimeline, .reactRendererConsistency, .reactUtils]
dependencies: [.reactNativeDependencies, .reactFeatureFlags, .reactCxxReact, .reactPerfLogger, .reactPerformanceTimeline, .reactRendererConsistency, .reactUtils, .reactRuntimeExecutor]
)
/// ReactCommon.podspec
@@ -607,6 +614,7 @@ let targets = [
reactNativeModuleDom,
reactAppDelegate,
reactSettings,
reactRuntimeExecutor,
]
// MARK: Package object