1 LOCAL_PATH:= $(call my-dir) 2 3 # For the host only 4 # ===================================================== 5 include $(CLEAR_VARS) 6 include $(CLEAR_TBLGEN_VARS) 7 8 LOCAL_MODULE:= libclangRewriteFrontend 9 10 LOCAL_MODULE_TAGS := optional 11 12 TBLGEN_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 23 clang_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 33 LOCAL_SRC_FILES := $(clang_rewrite_frontend_SRC_FILES) 34 35 36 include $(CLANG_HOST_BUILD_MK) 37 include $(CLANG_TBLGEN_RULES_MK) 38 include $(BUILD_HOST_STATIC_LIBRARY) 39