static_library("Frontend") { output_name = "clangFrontend" configs += [ "//llvm/utils/gn/build:clang_code" ] deps = [ "//clang/include/clang/Config", "//clang/lib/AST", "//clang/lib/Basic", "//clang/lib/Driver", "//clang/lib/Edit", "//clang/lib/Lex", "//clang/lib/Parse", "//clang/lib/Sema", "//clang/lib/Serialization", "//llvm/include/llvm/Config:llvm-config", "//llvm/lib/Bitcode/Reader", "//llvm/lib/Option", "//llvm/lib/ProfileData", "//llvm/lib/Support", ] sources = [ "ASTConsumers.cpp", "ASTMerge.cpp", "ASTUnit.cpp", "ChainedDiagnosticConsumer.cpp", "ChainedIncludesSource.cpp", "CompilerInstance.cpp", "CompilerInvocation.cpp", "CreateInvocationFromCommandLine.cpp", "DependencyFile.cpp", "DependencyGraph.cpp", "DiagnosticRenderer.cpp", "FrontendAction.cpp", "FrontendActions.cpp", "FrontendOptions.cpp", "HeaderIncludeGen.cpp", "InitPreprocessor.cpp", "InterfaceStubFunctionsConsumer.cpp", "LayoutOverrideSource.cpp", "LogDiagnosticPrinter.cpp", "ModuleDependencyCollector.cpp", "MultiplexConsumer.cpp", "PrecompiledPreamble.cpp", "PrintPreprocessedOutput.cpp", "SerializedDiagnosticPrinter.cpp", "SerializedDiagnosticReader.cpp", "TestModuleFileExtension.cpp", "TextDiagnostic.cpp", "TextDiagnosticBuffer.cpp", "TextDiagnosticPrinter.cpp", "VerifyDiagnosticConsumer.cpp", ] }