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:= libclangRewriteCore 9 10 LOCAL_MODULE_TAGS := optional 11 12 TBLGEN_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 22 clang_rewrite_core_SRC_FILES := \ 23 DeltaTree.cpp \ 24 HTMLRewrite.cpp \ 25 RewriteRope.cpp \ 26 Rewriter.cpp \ 27 TokenRewriter.cpp 28 29 LOCAL_SRC_FILES := $(clang_rewrite_core_SRC_FILES) 30 31 32 include $(CLANG_HOST_BUILD_MK) 33 include $(CLANG_TBLGEN_RULES_MK) 34 include $(BUILD_HOST_STATIC_LIBRARY) 35