mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 12:56:06 +00:00
[gn] port 71ddde8ba52a (LLVMExegesisRISCVTests)
This commit is contained in:
parent
ae6a7809b7
commit
911880e8a7
@ -102,7 +102,10 @@ group("unittests") {
|
||||
]
|
||||
}
|
||||
if (llvm_build_RISCV) {
|
||||
deps += [ "Target/RISCV:RISCVTests" ]
|
||||
deps += [
|
||||
"Target/RISCV:RISCVTests",
|
||||
"tools/llvm-exegesis/RISCV:LLVMExegesisRISCVTests",
|
||||
]
|
||||
}
|
||||
if (llvm_build_SystemZ) {
|
||||
deps += [ "MC/SystemZ:SystemZAsmLexerTests" ]
|
||||
|
@ -0,0 +1,26 @@
|
||||
import("//third-party/unittest/unittest.gni")
|
||||
|
||||
unittest("LLVMExegesisRISCVTests") {
|
||||
deps = [
|
||||
"//llvm/lib/DebugInfo/Symbolize",
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/MC/MCParser",
|
||||
"//llvm/lib/Object",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target/RISCV",
|
||||
|
||||
# Exegesis reaches inside the Target/RISCV tablegen internals and must
|
||||
# depend on these Target/RISCV-internal build targets.
|
||||
"//llvm/lib/Target/RISCV/MCTargetDesc",
|
||||
"//llvm/tools/llvm-exegesis/lib",
|
||||
"//llvm/tools/llvm-exegesis/lib/RISCV",
|
||||
]
|
||||
include_dirs = [
|
||||
"//llvm/lib/Target/RISCV",
|
||||
"//llvm/tools/llvm-exegesis/lib",
|
||||
]
|
||||
sources = [
|
||||
"SnippetGeneratorTest.cpp",
|
||||
"TargetTest.cpp",
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user