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