[xcodegen] Avoid tracking inferArgs per target/source

This is unnecessary since we never configure it
per target, just check the global setting.
This commit is contained in:
Hamish Knight
2025-01-01 13:34:48 +00:00
parent 38c1d28197
commit ddfe63bdc8
4 changed files with 18 additions and 41 deletions

View File

@@ -15,16 +15,13 @@ struct ClangTargetSource {
var name: String
var path: RelativePath
var mayHaveUnbuildableFiles: Bool
var inferArgs: Bool
init(
at path: RelativePath, named name: String,
mayHaveUnbuildableFiles: Bool,
inferArgs: Bool
mayHaveUnbuildableFiles: Bool
) {
self.name = name
self.path = path
self.mayHaveUnbuildableFiles = mayHaveUnbuildableFiles
self.inferArgs = inferArgs
}
}