30 lines · plain
1import("//third-party/unittest/unittest.gni")2 3unittest("LexTests") {4 configs += [ "//llvm/utils/gn/build:clang_code" ]5 deps = [6 "//clang/lib/AST",7 "//clang/lib/Basic",8 "//clang/lib/Frontend",9 "//clang/lib/Lex",10 "//clang/lib/Parse",11 "//clang/lib/Sema",12 "//llvm/lib/Support",13 "//llvm/lib/Testing/Annotations",14 "//llvm/lib/Testing/Support",15 ]16 sources = [17 "DependencyDirectivesScannerTest.cpp",18 "HeaderMapTest.cpp",19 "HeaderSearchTest.cpp",20 "LexHLSLRootSignatureTest.cpp",21 "LexerTest.cpp",22 "ModuleDeclStateTest.cpp",23 "NoTrivialPPDirectiveTracerTest.cpp",24 "PPCallbacksTest.cpp",25 "PPConditionalDirectiveRecordTest.cpp",26 "PPDependencyDirectivesTest.cpp",27 "PPMemoryAllocationsTest.cpp",28 ]29}30