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