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:= libclangRewrite 9 10 LOCAL_MODULE_TAGS := optional 11 12 TBLGEN_TABLES := \ 13 AttrList.inc \ 14 Attrs.inc \ 15 DiagnosticCommonKinds.inc \ 16 DiagnosticFrontendKinds.inc \ 17 DeclNodes.inc \ 18 StmtNodes.inc 19 20 clang_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 33 LOCAL_SRC_FILES := $(clang_rewrite_SRC_FILES) 34 35 36 include $(CLANG_HOST_BUILD_MK) 37 include $(CLANG_TBLGEN_RULES_MK) 38 include $(BUILD_HOST_STATIC_LIBRARY) 39