[gn build] (manually) port 0c2b43ab8c (X86MCTests)

This commit is contained in:
Nico Weber 2022-03-07 13:36:44 -05:00
parent fbcd5236af
commit 336e3677ea
2 changed files with 13 additions and 0 deletions

View File

@ -93,6 +93,7 @@ group("unittests") {
}
if (llvm_build_X86) {
deps += [
"MC/X86:X86MCTests",
"Target/X86:X86Tests",
"tools/llvm-exegesis/X86:LLVMExegesisX86Tests",
]

View File

@ -0,0 +1,12 @@
import("//llvm/utils/unittest/unittest.gni")
unittest("X86MCTests") {
deps = [
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Target",
"//llvm/lib/Target/X86/MCTargetDesc",
"//llvm/lib/Target/X86/Disassembler",
]
sources = [ "X86MCDisassemblerTest.cpp" ]
}