forked from OSchip/llvm-project
[gn build] manually port 4d293f215d
(LLVMDiff lib)
This commit is contained in:
parent
0f50ffb336
commit
ddb26e2e00
|
@ -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" ]
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue