[gn build] manually port 4d293f215d (LLVMDiff lib)

This commit is contained in:
Nico Weber 2021-08-05 22:09:02 +02:00
parent 0f50ffb336
commit ddb26e2e00
2 changed files with 17 additions and 6 deletions

View File

@ -1,13 +1,9 @@
executable("llvm-diff") {
deps = [
"lib",
"//llvm/lib/IR",
"//llvm/lib/IRReader",
"//llvm/lib/Support",
]
sources = [
"DiffConsumer.cpp",
"DiffLog.cpp",
"DifferenceEngine.cpp",
"llvm-diff.cpp",
]
sources = [ "llvm-diff.cpp" ]
}

View File

@ -0,0 +1,15 @@
static_library("lib") {
output_name = "LLVMDiff"
deps = [
"//llvm/lib/IR",
"//llvm/lib/Support",
]
sources = [
"DiffConsumer.cpp",
"DiffConsumer.h",
"DifferenceEngine.cpp",
"DifferenceEngine.h",
"DiffLog.cpp",
"DiffLog.h",
]
}