Handle filesDependenciesUpdated in BuildSystemManager instead of the build system

The implementation of which file’s dependencies have been updated is common across all build systems and thus build systems shouldn’t need to implement this logic. This also allows us to remove `BuildSystemDelegate`.
This commit is contained in:
Alex Hoppen
2024-09-11 14:42:24 -07:00
parent 9d94fe36a9
commit 022a6de6c3
10 changed files with 76 additions and 190 deletions

View File

@@ -67,14 +67,6 @@ package actor BuildServerBuildSystem: MessageHandler {
package private(set) var indexDatabasePath: AbsolutePath?
package private(set) var indexStorePath: AbsolutePath?
/// Delegate to handle any build system events.
package weak var delegate: BuildSystemDelegate?
/// - Note: Needed to set the delegate from a different actor isolation context
package func setDelegate(_ delegate: BuildSystemDelegate?) async {
self.delegate = delegate
}
package weak var messageHandler: BuiltInBuildSystemMessageHandler?
/// The build settings that have been received from the build server.