Android.mk revision 87119a571ff5beacb3596bf7b9219bf855676ff7
1LOCAL_PATH:= $(call my-dir)
2
3# For the host only
4# =====================================================
5include $(CLEAR_VARS)
6include $(CLEAR_TBLGEN_VARS)
7
8TBLGEN_TABLES :=    \
9	Attrs.inc	\
10	AttrList.inc	\
11	CC1Options.inc	\
12	DeclNodes.inc	\
13	DiagnosticASTKinds.inc	\
14	DiagnosticCommonKinds.inc	\
15	DiagnosticDriverKinds.inc	\
16	DiagnosticFrontendKinds.inc	\
17	DiagnosticLexKinds.inc	\
18	DiagnosticSemaKinds.inc	\
19	StmtNodes.inc
20
21clang_frontend_SRC_FILES :=	\
22	ASTConsumers.cpp	\
23	ASTMerge.cpp	\
24	ASTUnit.cpp	\
25	Android.mk	\
26	BoostConAction.cpp	\
27	CMakeLists.txt	\
28	CacheTokens.cpp	\
29	CompilerInstance.cpp	\
30	CompilerInvocation.cpp	\
31	DeclXML.cpp	\
32	DependencyFile.cpp	\
33	DiagChecker.cpp	\
34	DocumentXML.cpp	\
35	FrontendAction.cpp	\
36	FrontendActions.cpp	\
37	FrontendOptions.cpp	\
38	InitHeaderSearch.cpp	\
39	InitPreprocessor.cpp	\
40	LangStandards.cpp	\
41	PrintPreprocessedOutput.cpp	\
42	StmtXML.cpp	\
43	TextDiagnosticBuffer.cpp	\
44	TextDiagnosticPrinter.cpp	\
45	TypeXML.cpp	\
46	VerifyDiagnosticsClient.cpp	\
47	Warnings.cpp
48
49LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES)
50
51LOCAL_MODULE:= libclangFrontend
52LOCAL_MODULE_TAGS:= optional
53
54include $(CLANG_HOST_BUILD_MK)
55include $(CLANG_VERSION_INC_MK)
56include $(CLANG_TBLGEN_RULES_MK)
57include $(LLVM_GEN_INTRINSICS_MK)
58include $(BUILD_HOST_STATIC_LIBRARY)
59