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  CC1Options.inc \
13  CommentNodes.inc \
14  DiagnosticASTKinds.inc \
15  DiagnosticCommonKinds.inc \
16  DiagnosticDriverKinds.inc \
17  DiagnosticFrontendKinds.inc \
18  DiagnosticLexKinds.inc \
19  DiagnosticSemaKinds.inc \
20  DeclNodes.inc \
21  StmtNodes.inc
22
23clang_frontend_SRC_FILES := \
24  ASTConsumers.cpp \
25  ASTMerge.cpp \
26  ASTUnit.cpp \
27  CacheTokens.cpp \
28  ChainedDiagnosticConsumer.cpp \
29  ChainedIncludesSource.cpp \
30  CompilerInstance.cpp \
31  CompilerInvocation.cpp \
32  CreateInvocationFromCommandLine.cpp \
33  DependencyFile.cpp \
34  DependencyGraph.cpp \
35  DiagnosticRenderer.cpp \
36  FrontendAction.cpp \
37  FrontendActions.cpp \
38  FrontendOptions.cpp \
39  HeaderIncludeGen.cpp \
40  InitHeaderSearch.cpp \
41  InitPreprocessor.cpp \
42  LangStandards.cpp \
43  LayoutOverrideSource.cpp \
44  LogDiagnosticPrinter.cpp \
45  MultiplexConsumer.cpp \
46  PrintPreprocessedOutput.cpp \
47  SerializedDiagnosticPrinter.cpp \
48  TextDiagnostic.cpp \
49  TextDiagnosticBuffer.cpp \
50  TextDiagnosticPrinter.cpp \
51  Warnings.cpp \
52  VerifyDiagnosticConsumer.cpp
53
54LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES)
55
56LOCAL_MODULE:= libclangFrontend
57LOCAL_MODULE_TAGS:= optional
58
59LOCAL_MODULE_TAGS := optional
60
61include $(CLANG_HOST_BUILD_MK)
62include $(CLANG_TBLGEN_RULES_MK)
63include $(CLANG_VERSION_INC_MK)
64include $(BUILD_HOST_STATIC_LIBRARY)
65