1LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_TBLGEN_VARS)
4
5TBLGEN_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
18clang_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# =====================================================
42include $(CLEAR_VARS)
43
44LOCAL_SRC_FILES := $(clang_arc_migrate_SRC_FILES)
45LOCAL_MODULE := libclangARCMigrate
46LOCAL_MODULE_TAGS := optional
47
48include $(CLANG_HOST_BUILD_MK)
49include $(CLANG_VERSION_INC_MK)
50include $(CLANG_TBLGEN_RULES_MK)
51include $(BUILD_HOST_STATIC_LIBRARY)
52
53# For the target
54# ============================
55include $(CLEAR_VARS)
56
57LOCAL_SRC_FILES := $(clang_arc_migrate_SRC_FILES)
58LOCAL_MODULE := libclangARCMigrate
59LOCAL_MODULE_TAGS := optional
60
61include $(CLANG_DEVICE_BUILD_MK)
62include $(CLANG_VERSION_INC_MK)
63include $(CLANG_TBLGEN_RULES_MK)
64include $(BUILD_STATIC_LIBRARY)
65