brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.7 KiB · a901ff2 Raw
162 lines · plain
1import("//clang-tools-extra/clangd/quality/gen_decision_forest.gni")2import("//third-party/unittest/unittest.gni")3 4gen_decision_forest("DecisionForestRuntimeTest") {5  model = "decision_forest_model"6  filename = "DecisionForestRuntimeTest"7  cpp_class = "::ns1::ns2::test::Example"8}9 10unittest("ClangdTests") {11  configs += [ "//llvm/utils/gn/build:clang_code" ]12  deps = [13    ":DecisionForestRuntimeTest",14    "//clang-tools-extra/clang-tidy",15    "//clang-tools-extra/clangd",16    "//clang-tools-extra/clangd:features",17    "//clang-tools-extra/clangd/refactor/tweaks",18    "//clang/lib/AST",19    "//clang/lib/Basic",20    "//clang/lib/Format",21    "//clang/lib/Frontend",22    "//clang/lib/Index",23    "//clang/lib/Lex",24    "//clang/lib/Sema",25    "//clang/lib/Serialization",26    "//clang/lib/Testing",27    "//clang/lib/Tooling",28    "//clang/lib/Tooling/Core",29    "//clang/lib/Tooling/Inclusions",30    "//clang/lib/Tooling/Syntax",31    "//llvm/include/llvm/Config:llvm-config",32    "//llvm/lib/Support",33    "//llvm/lib/Testing/Annotations",34    "//llvm/lib/Testing/Support",35  ]36  include_dirs = [37    ".",38    "//clang-tools-extra/clangd",39 40    # For "clang-include-cleaner/..." includes.41    "//clang-tools-extra/include-cleaner/include",42 43    # To pick up the generated inc files.44    "$target_gen_dir/../../clangd/tool",45 46    # To pick up the generated DecisionForestRuntimeTest.h file.47    target_gen_dir,48  ]49  sources = [50    "ASTSignalsTests.cpp",51    "ASTTests.cpp",52    "Annotations.cpp",53    "BackgroundIndexTests.cpp",54    "CallHierarchyTests.cpp",55    "CanonicalIncludesTests.cpp",56    "ClangdLSPServerTests.cpp",57    "ClangdTests.cpp",58    "CodeCompleteTests.cpp",59    "CodeCompletionStringsTests.cpp",60    "CollectMacrosTests.cpp",61    "CompileCommandsTests.cpp",62    "CompilerTests.cpp",63    "ConfigCompileTests.cpp",64    "ConfigProviderTests.cpp",65    "ConfigYAMLTests.cpp",66    "DecisionForestTests.cpp",67    "DexTests.cpp",68    "DiagnosticsTests.cpp",69    "DraftStoreTests.cpp",70    "DumpASTTests.cpp",71    "ExpectedTypeTest.cpp",72    "FSTests.cpp",73    "FeatureModulesRegistryTests.cpp",74    "FeatureModulesTests.cpp",75    "FileDistanceTests.cpp",76    "FileIndexTests.cpp",77    "FindSymbolsTests.cpp",78    "FindTargetTests.cpp",79    "FormatTests.cpp",80    "FuzzyMatchTests.cpp",81    "GlobalCompilationDatabaseTests.cpp",82    "HeaderSourceSwitchTests.cpp",83    "HeadersTests.cpp",84    "HoverTests.cpp",85    "IncludeCleanerTests.cpp",86    "IndexActionTests.cpp",87    "IndexTests.cpp",88    "InlayHintTests.cpp",89    "InsertionPointTests.cpp",90    "JSONTransportTests.cpp",91    "LSPBinderTests.cpp",92    "LSPClient.cpp",93    "LoggerTests.cpp",94    "ModulesTests.cpp",95    "ParsedASTTests.cpp",96    "PathMappingTests.cpp",97    "PreambleTests.cpp",98    "PrerequisiteModulesTest.cpp",99    "PrintASTTests.cpp",100    "ProjectAwareIndexTests.cpp",101    "QualityTests.cpp",102    "RIFFTests.cpp",103    "RenameTests.cpp",104    "ReplayPeambleTests.cpp",105    "SelectionTests.cpp",106    "SemanticHighlightingTests.cpp",107    "SemanticSelectionTests.cpp",108    "SerializationTests.cpp",109    "SourceCodeTests.cpp",110    "StdLibTests.cpp",111    "SymbolCollectorTests.cpp",112    "SymbolDocumentationTests.cpp",113    "SymbolInfoTests.cpp",114    "SyncAPI.cpp",115    "TUSchedulerTests.cpp",116    "TestFS.cpp",117    "TestIndex.cpp",118    "TestTU.cpp",119    "TestWorkspace.cpp",120    "ThreadCrashReporterTests.cpp",121    "TidyProviderTests.cpp",122    "TypeHierarchyTests.cpp",123    "URITests.cpp",124    "XRefsTests.cpp",125    "support/CancellationTests.cpp",126    "support/ContextTests.cpp",127    "support/FileCacheTests.cpp",128    "support/FunctionTests.cpp",129    "support/MarkupTests.cpp",130    "support/MemoryTreeTests.cpp",131    "support/PathTests.cpp",132    "support/TestTracer.cpp",133    "support/ThreadingTests.cpp",134    "support/TraceTests.cpp",135    "tweaks/AddUsingTests.cpp",136    "tweaks/AnnotateHighlightingsTests.cpp",137    "tweaks/DefineInlineTests.cpp",138    "tweaks/DefineOutlineTests.cpp",139    "tweaks/DumpASTTests.cpp",140    "tweaks/DumpRecordLayoutTests.cpp",141    "tweaks/DumpSymbolTests.cpp",142    "tweaks/ExpandDeducedTypeTests.cpp",143    "tweaks/ExpandMacroTests.cpp",144    "tweaks/ExtractFunctionTests.cpp",145    "tweaks/ExtractVariableTests.cpp",146    "tweaks/MemberwiseConstructorTests.cpp",147    "tweaks/ObjCLocalizeStringLiteralTests.cpp",148    "tweaks/ObjCMemberwiseInitializerTests.cpp",149    "tweaks/OverridePureVirtualsTests.cpp",150    "tweaks/PopulateSwitchTests.cpp",151    "tweaks/RawStringLiteralTests.cpp",152    "tweaks/RemoveUsingNamespaceTests.cpp",153    "tweaks/ScopifyEnumTests.cpp",154    "tweaks/ShowSelectionTreeTests.cpp",155    "tweaks/SpecialMembersTests.cpp",156    "tweaks/SwapBinaryOperandsTests.cpp",157    "tweaks/SwapIfBranchesTests.cpp",158    "tweaks/TweakTesting.cpp",159    "tweaks/TweakTests.cpp",160  ]161}162