blob: 25395f10ab98284028edc9711fb1c2ee1c8f2d2d [file] [log] [blame]
Tao Baodb719ce2015-02-19 14:45:44 -08001LOCAL_PATH:= $(call my-dir)
2
3
4include $(CLEAR_TBLGEN_VARS)
5
6TBLGEN_TABLES := \
7 AttrList.inc \
8 Attrs.inc \
9 AttrVisitor.inc \
10 CommentCommandList.inc \
11 DeclNodes.inc \
12 DiagnosticCommonKinds.inc \
13 StmtNodes.inc \
14
15clang_astmatchers_SRC_FILES := \
16 ASTMatchFinder.cpp \
17 ASTMatchersInternal.cpp
18
19# For the host
20# =====================================================
21#
22include $(CLEAR_VARS)
23
24LOCAL_SRC_FILES := $(clang_astmatchers_SRC_FILES)
25LOCAL_MODULE:= libclangASTMatchers
26LOCAL_MODULE_TAGS := optional
27
28include $(CLANG_HOST_BUILD_MK)
29include $(CLANG_VERSION_INC_MK)
30include $(CLANG_TBLGEN_RULES_MK)
31include $(BUILD_HOST_STATIC_LIBRARY)
32
33# For the target
34# =====================================================
35include $(CLEAR_VARS)
36LOCAL_SRC_FILES := $(clang_astmatchers_SRC_FILES)
37LOCAL_MODULE:= libclangASTMatchers
38LOCAL_MODULE_TAGS := optional
39
40include $(CLANG_DEVICE_BUILD_MK)
41include $(CLANG_VERSION_INC_MK)
42include $(CLANG_TBLGEN_RULES_MK)
43include $(BUILD_STATIC_LIBRARY)