blob: a8e15f825734dc802b31a1b479339e0696fd2029 [file] [log] [blame]
# Make a local copy of the substitutions.
config.substitutions = list(config.substitutions)
config.substitutions.insert(0, ('%build-silgen-test-overlays',
'%target-swift-frontend(mock-sdk: -sdk %S/Inputs -I %t) -emit-module -enable-objc-interop -o %t %S/Inputs/ObjectiveC.swift && '
'%target-swift-frontend(mock-sdk: -sdk %S/Inputs -I %t) -emit-module -enable-objc-interop -o %t %S/Inputs/Dispatch.swift && '
'%target-swift-frontend(mock-sdk: -sdk %S/Inputs -I %t) -emit-module -enable-objc-interop -o %t %S/Inputs/Foundation.swift'))
config.substitutions.insert(0, ('%build-silgen-test-overlays-ios',
'%target-swift-frontend(mock-sdk: -sdk %S/Inputs -I %t) -emit-module -enable-objc-interop -o %t %S/Inputs/UIKit.swift'))