Lines Matching refs:spec
137 def IsValidTargetForWrapper(target_extras, executable_target_pattern, spec):
145 spec: Specifications for target.
147 target_name = spec.get("target_name")
153 if int(spec.get("mac_xctest_bundle", 0)) != 0 or (
154 spec.get("type", "") == "executable"
155 and spec.get("product_extension", "") != "bundle"
213 spec = target_dicts[old_qualified_target]
214 if IsValidTargetForWrapper(target_extras, executable_target_pattern, spec):
216 target_name = spec.get("target_name")
221 new_target_dicts[new_target_name] = _TargetFromSpec(spec, params)