1 LOCAL_PATH := $(call my-dir) 2 3 # For the host only 4 # ===================================================== 5 include $(CLEAR_VARS) 6 include $(CLEAR_TBLGEN_VARS) 7 8 TBLGEN_TABLES := \ 9 Attrs.inc \ 10 AttrList.inc \ 11 AttrParsedAttrList.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 TransRetainReleaseDealloc.cpp \ 35 TransUnbridgedCasts.cpp \ 36 TransUnusedInitDelegate.cpp \ 37 TransZeroOutPropsInDealloc.cpp 38 39 LOCAL_SRC_FILES := $(clang_arc_migrate_SRC_FILES) 40 41 LOCAL_MODULE := libclangARCMigrate 42 LOCAL_MODULE_TAGS := optional 43 44 include $(CLANG_HOST_BUILD_MK) 45 include $(CLANG_TBLGEN_RULES_MK) 46 include $(BUILD_HOST_STATIC_LIBRARY) 47