import("//llvm/lib/Target/targets.gni") targets_with_mcas = [] foreach(target, llvm_targets_to_build) { if (target == "AMDGPU" || target == "X86") { targets_with_mcas += [ target ] } }