| 1 |
import("//third-party/unittest/unittest.gni") |
| 2 |
|
| 3 |
unittest("FrontendTests") { |
| 4 |
configs += [ "//llvm/utils/gn/build:clang_code" ] |
| 5 |
deps = [ |
| 6 |
"//clang/lib/AST", |
| 7 |
"//clang/lib/Basic", |
| 8 |
"//clang/lib/CodeGen", |
| 9 |
"//clang/lib/Frontend", |
| 10 |
"//clang/lib/FrontendTool", |
| 11 |
"//clang/lib/Lex", |
| 12 |
"//clang/lib/Sema", |
| 13 |
"//clang/lib/Tooling", |
| 14 |
"//llvm/lib/Support", |
| 15 |
"//llvm/lib/Target:AllTargetsDescs", |
| 16 |
"//llvm/lib/TargetParser", |
| 17 |
] |
| 18 |
sources = [ |
| 19 |
"ASTUnitTest.cpp", |
| 20 |
"CodeGenActionTest.cpp", |
| 21 |
"CompilerInstanceTest.cpp", |
| 22 |
"CompilerInvocationTest.cpp", |
| 23 |
"FixedPointString.cpp", |
| 24 |
"FrontendActionTest.cpp", |
| 25 |
"NoAlterCodeGenActionTest.cpp", |
| 26 |
"OutputStreamTest.cpp", |
| 27 |
"PCHPreambleTest.cpp", |
| 28 |
"ParsedSourceLocationTest.cpp", |
| 29 |
"ReparseWorkingDirTest.cpp", |
| 30 |
"SearchPathTest.cpp", |
| 31 |
"TextDiagnosticTest.cpp", |
| 32 |
"UtilsTest.cpp", |
| 33 |
] |
| 34 |
} |