• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3# For the host only
4# =====================================================
5include $(CLEAR_VARS)
6include $(CLEAR_TBLGEN_VARS)
7
8TBLGEN_TABLES := \
9  AttrList.inc \
10  Attrs.inc \
11  AttrParsedAttrList.inc \
12  AttrVisitor.inc \
13  CC1Options.inc \
14  CommentCommandList.inc \
15  CommentNodes.inc \
16  DiagnosticASTKinds.inc \
17  DiagnosticCommonKinds.inc \
18  DiagnosticDriverKinds.inc \
19  DiagnosticFrontendKinds.inc \
20  DiagnosticLexKinds.inc \
21  DiagnosticSemaKinds.inc \
22  DeclNodes.inc \
23  StmtNodes.inc
24
25clang_frontend_SRC_FILES := \
26  ASTConsumers.cpp \
27  ASTMerge.cpp \
28  ASTUnit.cpp \
29  CacheTokens.cpp \
30  ChainedDiagnosticConsumer.cpp \
31  ChainedIncludesSource.cpp \
32  CompilerInstance.cpp \
33  CompilerInvocation.cpp \
34  CreateInvocationFromCommandLine.cpp \
35  DependencyFile.cpp \
36  DependencyGraph.cpp \
37  DiagnosticRenderer.cpp \
38  FrontendAction.cpp \
39  FrontendActions.cpp \
40  FrontendOptions.cpp \
41  HeaderIncludeGen.cpp \
42  InitHeaderSearch.cpp \
43  InitPreprocessor.cpp \
44  LangStandards.cpp \
45  LayoutOverrideSource.cpp \
46  LogDiagnosticPrinter.cpp \
47  ModuleDependencyCollector.cpp \
48  MultiplexConsumer.cpp \
49  PrintPreprocessedOutput.cpp \
50  SerializedDiagnosticPrinter.cpp \
51  TextDiagnostic.cpp \
52  TextDiagnosticBuffer.cpp \
53  TextDiagnosticPrinter.cpp \
54  VerifyDiagnosticConsumer.cpp
55
56LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES)
57
58LOCAL_MODULE:= libclangFrontend
59LOCAL_MODULE_TAGS:= optional
60
61LOCAL_MODULE_TAGS := optional
62
63include $(CLANG_HOST_BUILD_MK)
64include $(CLANG_TBLGEN_RULES_MK)
65include $(CLANG_VERSION_INC_MK)
66include $(BUILD_HOST_STATIC_LIBRARY)
67