[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / tools / llvm-c-test / BUILD.gn
blob1bbe64dd8e783827877f36c6ba2f73cd454fc9d1
1 executable("llvm-c-test") {
2   deps = [
3     "//llvm/lib/Bitcode/Reader",
4     "//llvm/lib/IR",
5     "//llvm/lib/MC/MCDisassembler",
6     "//llvm/lib/Object",
7     "//llvm/lib/Support",
8     "//llvm/lib/Target",
9     "//llvm/lib/Target:TargetsToBuild",
10   ]
11   if (host_os != "win") {
12     cflags_c = [
13       "-std=gnu99",
14       "-Wstrict-prototypes",
15     ]
16   }
17   sources = [
18     "attributes.c",
19     "calc.c",
20     "debuginfo.c",
21     "diagnostic.c",
22     "disassemble.c",
23     "echo.cpp",
24     "helpers.c",
25     "include-all.c",
26     "main.c",
27     "metadata.c",
28     "module.c",
29     "object.c",
30     "targets.c",
31   ]