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  CommentNodes.inc \
17  DeclNodes.inc \
18  DiagnosticCommonKinds.inc \
19  DiagnosticFrontendKinds.inc \
20  StmtNodes.inc
21
22clang_rewrite_frontend_SRC_FILES := \
23  FixItRewriter.cpp \
24  FrontendActions.cpp \
25  HTMLPrint.cpp \
26  InclusionRewriter.cpp \
27  RewriteMacros.cpp \
28  RewriteModernObjC.cpp \
29  RewriteObjC.cpp \
30  RewriteTest.cpp
31
32LOCAL_SRC_FILES := $(clang_rewrite_frontend_SRC_FILES)
33
34
35include $(CLANG_HOST_BUILD_MK)
36include $(CLANG_TBLGEN_RULES_MK)
37include $(BUILD_HOST_STATIC_LIBRARY)
38