1LOCAL_PATH:= $(call my-dir) 2 3# For the host only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8LOCAL_MODULE:= libclangRewriteCore 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_core_SRC_FILES := \ 23 DeltaTree.cpp \ 24 HTMLRewrite.cpp \ 25 RewriteRope.cpp \ 26 Rewriter.cpp \ 27 TokenRewriter.cpp 28 29LOCAL_SRC_FILES := $(clang_rewrite_core_SRC_FILES) 30 31 32include $(CLANG_HOST_BUILD_MK) 33include $(CLANG_TBLGEN_RULES_MK) 34include $(BUILD_HOST_STATIC_LIBRARY) 35