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