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