1LOCAL_PATH:= $(call my-dir)
2
3# For the host only
4# =====================================================
5include $(CLEAR_VARS)
6include $(CLEAR_TBLGEN_VARS)
7
8LOCAL_MODULE:= libclangRewriteFrontend
9
10LOCAL_MODULE_TAGS := optional
11
12TBLGEN_TABLES := \
13  AttrList.inc \
14  Attrs.inc \
15  AttrParsedAttrList.inc \
16  CommentCommandList.inc \
17  CommentNodes.inc \
18  DeclNodes.inc \
19  DiagnosticCommonKinds.inc \
20  DiagnosticFrontendKinds.inc \
21  StmtNodes.inc
22
23clang_rewrite_frontend_SRC_FILES := \
24  FixItRewriter.cpp \
25  FrontendActions.cpp \
26  HTMLPrint.cpp \
27  InclusionRewriter.cpp \
28  RewriteMacros.cpp \
29  RewriteModernObjC.cpp \
30  RewriteObjC.cpp \
31  RewriteTest.cpp
32
33LOCAL_SRC_FILES := $(clang_rewrite_frontend_SRC_FILES)
34
35
36include $(CLANG_HOST_BUILD_MK)
37include $(CLANG_TBLGEN_RULES_MK)
38include $(BUILD_HOST_STATIC_LIBRARY)
39