71 lines · plain
1static_library("Clang") {2 output_name = "lldbPluginExpressionParserClang"3 configs += [4 "//llvm/utils/gn/build:clang_code",5 "//llvm/utils/gn/build:lldb_code",6 ]7 deps = [8 "//clang/lib/AST",9 "//clang/lib/CodeGen",10 "//clang/lib/Driver",11 "//clang/lib/Edit",12 "//clang/lib/Frontend",13 "//clang/lib/Frontend/Rewrite",14 "//clang/lib/Lex",15 "//clang/lib/Parse",16 "//clang/lib/Rewrite",17 "//clang/lib/Sema",18 "//clang/lib/Serialization",19 "//lldb/source/Core",20 "//lldb/source/Expression",21 "//lldb/source/Host",22 "//lldb/source/Interpreter",23 24 #"//lldb/source/Plugins/Language/CPlusPlus", # 3-hop dependency cycle25 "//lldb/source/Plugins/LanguageRuntime/CPlusPlus",26 "//lldb/source/Plugins/LanguageRuntime/ObjC",27 "//lldb/source/Symbol",28 "//lldb/source/Target",29 "//lldb/source/Utility",30 "//lldb/source/ValueObject",31 "//llvm/lib/ExecutionEngine",32 "//llvm/lib/ExecutionEngine/MCJIT",33 34 #"//lldb/source/Plugins/TypeSystem/Clang", # Dependency cycle35 "//llvm/lib/IR",36 "//llvm/lib/Support",37 "//llvm/lib/TargetParser",38 "//llvm/lib/Transforms/IPO",39 ]40 41 # Uses source-relative paths for own includes (!)42 include_dirs = [ "//lldb/source" ]43 sources = [44 "ASTResultSynthesizer.cpp",45 "ASTStructExtractor.cpp",46 "ASTUtils.cpp",47 "ClangASTImporter.cpp",48 "ClangASTMetadata.cpp",49 "ClangASTSource.cpp",50 "ClangExpressionDeclMap.cpp",51 "ClangExpressionHelper.cpp",52 "ClangExpressionParser.cpp",53 "ClangExpressionSourceCode.cpp",54 "ClangExpressionUtil.cpp",55 "ClangExpressionVariable.cpp",56 "ClangExternalASTSourceCallbacks.cpp",57 "ClangFunctionCaller.cpp",58 "ClangHost.cpp",59 "ClangModulesDeclVendor.cpp",60 "ClangPersistentVariables.cpp",61 "ClangUserExpression.cpp",62 "ClangUtil.cpp",63 "ClangUtilityFunction.cpp",64 "CppModuleConfiguration.cpp",65 "CxxModuleHandler.cpp",66 "IRDynamicChecks.cpp",67 "IRForTarget.cpp",68 "NameSearchContext.cpp",69 ]70}71