[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

@@ -206,9 +206,7 @@ extension ProjectSpec {
guard let path = mapPath(path, for: "Clang target") else { return }
let name = name ?? path.fileName
clangTargetSources.append(ClangTargetSource(
at: path, named: name,
mayHaveUnbuildableFiles: mayHaveUnbuildableFiles,
inferArgs: inferArgs
at: path, named: name, mayHaveUnbuildableFiles: mayHaveUnbuildableFiles
))
}