llvm-for-llvmta/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn

30 lines
649 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/unittest/unittest.gni")
tablegen("AutomataAutomata") {
visibility = [ ":TableGenTests" ]
args = [ "-gen-automata" ]
td_file = "Automata.td"
}
tablegen("AutomataTables") {
visibility = [ ":TableGenTests" ]
args = [ "-gen-searchable-tables" ]
td_file = "Automata.td"
}
unittest("TableGenTests") {
deps = [
":AutomataAutomata",
":AutomataTables",
"//llvm/lib/Support",
"//llvm/lib/TableGen",
"//llvm/utils/TableGen/GlobalISel",
]
include_dirs = [ "//llvm/utils/TableGen" ]
sources = [
"AutomataTest.cpp",
"CodeExpanderTest.cpp",
]
}