1LOCAL_PATH:= $(call my-dir)
2
3# For the host only
4# =====================================================
5include $(CLEAR_VARS)
6include $(CLEAR_TBLGEN_VARS)
7
8TBLGEN_TABLES := \
9  DiagnosticCommonKinds.inc \
10  DiagnosticDriverKinds.inc \
11  Options.inc \
12  CC1Options.inc \
13  CC1AsOptions.inc
14
15clang_driver_SRC_FILES := \
16  Action.cpp \
17  Arg.cpp \
18  ArgList.cpp \
19  CC1Options.cpp \
20  CC1AsOptions.cpp \
21  Compilation.cpp \
22  Driver.cpp \
23  DriverOptions.cpp \
24  Job.cpp \
25  Option.cpp \
26  OptTable.cpp \
27  Phases.cpp \
28  Tool.cpp \
29  ToolChain.cpp \
30  ToolChains.cpp \
31  Tools.cpp \
32  Types.cpp \
33  WindowsToolChain.cpp
34
35LOCAL_SRC_FILES := $(clang_driver_SRC_FILES)
36
37LOCAL_MODULE := libclangDriver
38LOCAL_MODULE_TAGS := optional
39
40LOCAL_MODULE_TAGS := optional
41
42include $(CLANG_HOST_BUILD_MK)
43include $(CLANG_TBLGEN_RULES_MK)
44include $(CLANG_VERSION_INC_MK)
45include $(BUILD_HOST_STATIC_LIBRARY)
46