Home | History | Annotate | Download | only in Rewrite
      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   AttrParsedAttrList.inc \
     16   DiagnosticCommonKinds.inc \
     17   DiagnosticFrontendKinds.inc \
     18   DeclNodes.inc \
     19   StmtNodes.inc
     20 
     21 clang_rewrite_SRC_FILES := \
     22   DeltaTree.cpp \
     23   FixItRewriter.cpp \
     24   FrontendActions.cpp \
     25   HTMLPrint.cpp \
     26   HTMLRewrite.cpp \
     27   RewriteMacros.cpp \
     28   RewriteModernObjC.cpp \
     29   RewriteObjC.cpp \
     30   RewriteRope.cpp \
     31   RewriteTest.cpp \
     32   Rewriter.cpp \
     33   TokenRewriter.cpp
     34 
     35 LOCAL_SRC_FILES := $(clang_rewrite_SRC_FILES)
     36 
     37 
     38 include $(CLANG_HOST_BUILD_MK)
     39 include $(CLANG_TBLGEN_RULES_MK)
     40 include $(BUILD_HOST_STATIC_LIBRARY)
     41