[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / targets_string.gni
blobdcf8c68d62bc09ec1243289ba776a39fdbd8aa19
1 import("//llvm/lib/Target/targets.gni")
3 # A single string with all built targets, separated by spaces.
4 llvm_targets_to_build_string = ""
5 foreach(target, llvm_targets_to_build) {
6   if (llvm_targets_to_build_string != "") {
7     llvm_targets_to_build_string += " "
8   }
9   llvm_targets_to_build_string += target