blob: d3dc13b149c8954c3f7ee805a75d369fb3091ed7 [file] [log] [blame]
Tao Baodb719ce2015-02-19 14:45:44 -08001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_TBLGEN_VARS)
4
5TBLGEN_TABLES := \
6 AttrList.inc \
7 Attrs.inc \
8 CommentCommandList.inc \
9 DeclNodes.inc \
10 DiagnosticCommonKinds.inc \
11 DiagnosticDriverKinds.inc \
12 DiagnosticFrontendKinds.inc \
13 StmtNodes.inc \
14
15clang_tooling_SRC_FILES := \
16 ArgumentsAdjusters.cpp \
17 CommonOptionsParser.cpp \
18 CompilationDatabase.cpp \
19 Core/Replacement.cpp \
20 FileMatchTrie.cpp \
21 JSONCompilationDatabase.cpp \
22 Refactoring.cpp \
23 RefactoringCallbacks.cpp \
24 Tooling.cpp \
25
26# For the host
27# =====================================================
28include $(CLEAR_VARS)
29
30LOCAL_SRC_FILES := $(clang_tooling_SRC_FILES)
31LOCAL_MODULE:= libclangTooling
32LOCAL_MODULE_TAGS := optional
33
34include $(CLANG_HOST_BUILD_MK)
35include $(CLANG_VERSION_INC_MK)
36include $(CLANG_TBLGEN_RULES_MK)
37include $(BUILD_HOST_STATIC_LIBRARY)
38
39# For the target
40# =====================================================
41include $(CLEAR_VARS)
42
43LOCAL_SRC_FILES := $(clang_tooling_SRC_FILES)
44LOCAL_MODULE:= libclangTooling
45LOCAL_MODULE_TAGS := optional
46
47include $(CLANG_DEVICE_BUILD_MK)
48include $(CLANG_VERSION_INC_MK)
49include $(CLANG_TBLGEN_RULES_MK)
50include $(BUILD_STATIC_LIBRARY)