Home | History | Annotate | Download | only in Rewrite
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_TBLGEN_VARS)
      4 
      5 TBLGEN_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 
     15 clang_rewrite_SRC_FILES := \
     16   DeltaTree.cpp \
     17   HTMLRewrite.cpp \
     18   RewriteRope.cpp \
     19   Rewriter.cpp \
     20   TokenRewriter.cpp
     21 
     22 # For the host
     23 # =====================================================
     24 include $(CLEAR_VARS)
     25 
     26 LOCAL_SRC_FILES := $(clang_rewrite_SRC_FILES)
     27 LOCAL_MODULE:= libclangRewrite
     28 LOCAL_MODULE_TAGS := optional
     29 
     30 include $(CLANG_HOST_BUILD_MK)
     31 include $(CLANG_TBLGEN_RULES_MK)
     32 include $(BUILD_HOST_STATIC_LIBRARY)
     33 
     34 # For the target
     35 # =====================================================
     36 include $(CLEAR_VARS)
     37 
     38 LOCAL_SRC_FILES := $(clang_rewrite_SRC_FILES)
     39 LOCAL_MODULE:= libclangRewrite
     40 LOCAL_MODULE_TAGS := optional
     41 
     42 include $(CLANG_DEVICE_BUILD_MK)
     43 include $(CLANG_TBLGEN_RULES_MK)
     44 include $(BUILD_STATIC_LIBRARY)
     45