Index: llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn +++ llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn @@ -0,0 +1,13 @@ +static_library("AsmParser") { + output_name = "LLVMAsmParser" + deps = [ + "//llvm/lib/BinaryFormat", + "//llvm/lib/IR", + "//llvm/lib/Support", + ] + sources = [ + "LLLexer.cpp", + "LLParser.cpp", + "Parser.cpp", + ] +} Index: llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn +++ llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn @@ -0,0 +1,17 @@ +static_library("MIRParser") { + output_name = "LLVMMIRParser" + deps = [ + "//llvm/lib/AsmParser", + "//llvm/lib/BinaryFormat", + "//llvm/lib/CodeGen", + "//llvm/lib/IR", + "//llvm/lib/MC", + "//llvm/lib/Support", + "//llvm/lib/Target", + ] + sources = [ + "MILexer.cpp", + "MIParser.cpp", + "MIRParser.cpp", + ] +} Index: llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn +++ llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn @@ -0,0 +1,12 @@ +static_library("IRReader") { + output_name = "LLVMIRReader" + deps = [ + "//llvm/lib/AsmParser", + "//llvm/lib/Bitcode/Reader", + "//llvm/lib/IR", + "//llvm/lib/Support", + ] + sources = [ + "IRReader.cpp", + ] +} Index: llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn +++ llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn @@ -0,0 +1,14 @@ +static_library("MCDisassembler") { + output_name = "LLVMMCDisassembler" + deps = [ + "//llvm/lib/MC", + "//llvm/lib/Support", + ] + sources = [ + "Disassembler.cpp", + "MCDisassembler.cpp", + "MCExternalSymbolizer.cpp", + "MCRelocationInfo.cpp", + "MCSymbolizer.cpp", + ] +} Index: llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn +++ llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn @@ -0,0 +1,21 @@ +static_library("Vectorize") { + output_name = "LLVMVectorize" + deps = [ + "//llvm/lib/Analysis", + "//llvm/lib/IR", + "//llvm/lib/Support", + "//llvm/lib/Transforms/Utils", + ] + sources = [ + "LoadStoreVectorizer.cpp", + "LoopVectorizationLegality.cpp", + "LoopVectorize.cpp", + "SLPVectorizer.cpp", + "VPlan.cpp", + "VPlanHCFGBuilder.cpp", + "VPlanHCFGTransforms.cpp", + "VPlanSLP.cpp", + "VPlanVerifier.cpp", + "Vectorize.cpp", + ] +}