Home | History | Annotate | Download | only in ARCMigrate
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 include $(CLEAR_TBLGEN_VARS)
      4 
      5 TBLGEN_TABLES := \
      6   Attrs.inc \
      7   AttrList.inc \
      8   AttrParsedAttrList.inc    \
      9   AttrVisitor.inc \
     10   CommentCommandList.inc \
     11   CommentNodes.inc \
     12   DeclNodes.inc \
     13   DiagnosticCommonKinds.inc \
     14   DiagnosticGroups.inc \
     15   DiagnosticSemaKinds.inc \
     16   StmtNodes.inc
     17 
     18 clang_arc_migrate_SRC_FILES := \
     19   ARCMT.cpp \
     20   ARCMTActions.cpp \
     21   FileRemapper.cpp \
     22   ObjCMT.cpp \
     23   PlistReporter.cpp \
     24   TransAPIUses.cpp \
     25   TransARCAssign.cpp \
     26   TransAutoreleasePool.cpp \
     27   TransBlockObjCVariable.cpp \
     28   TransEmptyStatementsAndDealloc.cpp \
     29   TransformActions.cpp \
     30   Transforms.cpp \
     31   TransGCAttrs.cpp \
     32   TransGCCalls.cpp \
     33   TransProperties.cpp \
     34   TransProtectedScope.cpp \
     35   TransRetainReleaseDealloc.cpp \
     36   TransUnbridgedCasts.cpp \
     37   TransUnusedInitDelegate.cpp \
     38   TransZeroOutPropsInDealloc.cpp
     39 
     40 # For the host
     41 # =====================================================
     42 include $(CLEAR_VARS)
     43 
     44 LOCAL_SRC_FILES := $(clang_arc_migrate_SRC_FILES)
     45 LOCAL_MODULE := libclangARCMigrate
     46 LOCAL_MODULE_TAGS := optional
     47 
     48 include $(CLANG_HOST_BUILD_MK)
     49 include $(CLANG_VERSION_INC_MK)
     50 include $(CLANG_TBLGEN_RULES_MK)
     51 include $(BUILD_HOST_STATIC_LIBRARY)
     52 
     53 # For the target
     54 # ============================
     55 include $(CLEAR_VARS)
     56 
     57 LOCAL_SRC_FILES := $(clang_arc_migrate_SRC_FILES)
     58 LOCAL_MODULE := libclangARCMigrate
     59 LOCAL_MODULE_TAGS := optional
     60 
     61 include $(CLANG_DEVICE_BUILD_MK)
     62 include $(CLANG_VERSION_INC_MK)
     63 include $(CLANG_TBLGEN_RULES_MK)
     64 include $(BUILD_STATIC_LIBRARY)
     65