1LOCAL_PATH := $(call my-dir)
2
3# For the host only
4# =====================================================
5include $(CLEAR_VARS)
6include $(CLEAR_TBLGEN_VARS)
7
8TBLGEN_TABLES := \
9  Attrs.inc \
10  AttrList.inc \
11  AttrParsedAttrList.inc    \
12  CommentNodes.inc \
13  DeclNodes.inc \
14  DiagnosticCommonKinds.inc \
15  DiagnosticGroups.inc \
16  DiagnosticSemaKinds.inc \
17  StmtNodes.inc
18
19clang_arc_migrate_SRC_FILES := \
20  ARCMT.cpp \
21  ARCMTActions.cpp \
22  FileRemapper.cpp \
23  ObjCMT.cpp \
24  PlistReporter.cpp \
25  TransAPIUses.cpp \
26  TransARCAssign.cpp \
27  TransAutoreleasePool.cpp \
28  TransBlockObjCVariable.cpp \
29  TransEmptyStatementsAndDealloc.cpp \
30  TransformActions.cpp \
31  Transforms.cpp \
32  TransGCAttrs.cpp \
33  TransGCCalls.cpp \
34  TransProperties.cpp \
35  TransRetainReleaseDealloc.cpp \
36  TransUnbridgedCasts.cpp \
37  TransUnusedInitDelegate.cpp \
38  TransZeroOutPropsInDealloc.cpp
39
40LOCAL_SRC_FILES := $(clang_arc_migrate_SRC_FILES)
41
42LOCAL_MODULE := libclangARCMigrate
43LOCAL_MODULE_TAGS := optional
44
45include $(CLANG_HOST_BUILD_MK)
46include $(CLANG_TBLGEN_RULES_MK)
47include $(BUILD_HOST_STATIC_LIBRARY)
48