1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_TBLGEN_VARS)
4
5TBLGEN_TABLES := \
6  AttrVisitor.inc \
7  DiagnosticCommonKinds.inc \
8  DiagnosticDriverKinds.inc \
9  DiagnosticSemaKinds.inc \
10  Options.inc \
11  CC1Options.inc
12
13clang_driver_SRC_FILES := \
14  Action.cpp \
15  Compilation.cpp \
16  CrossWindowsToolChain.cpp \
17  Driver.cpp \
18  DriverOptions.cpp \
19  Job.cpp \
20  MinGWToolChain.cpp \
21  MSVCToolChain.cpp \
22  Multilib.cpp \
23  Phases.cpp \
24  SanitizerArgs.cpp \
25  ToolChain.cpp \
26  ToolChains.cpp \
27  Tool.cpp \
28  Tools.cpp \
29  Types.cpp
30
31# For the host
32# =====================================================
33include $(CLEAR_VARS)
34
35LOCAL_SRC_FILES := $(clang_driver_SRC_FILES)
36LOCAL_MODULE := libclangDriver
37LOCAL_MODULE_TAGS := optional
38
39include $(CLANG_HOST_BUILD_MK)
40include $(CLANG_TBLGEN_RULES_MK)
41include $(CLANG_VERSION_INC_MK)
42include $(BUILD_HOST_STATIC_LIBRARY)
43
44# For the target
45# =====================================================
46include $(CLEAR_VARS)
47
48LOCAL_SRC_FILES := $(clang_driver_SRC_FILES)
49LOCAL_MODULE := libclangDriver
50LOCAL_MODULE_TAGS := optional
51
52include $(CLANG_DEVICE_BUILD_MK)
53include $(CLANG_TBLGEN_RULES_MK)
54include $(CLANG_VERSION_INC_MK)
55include $(BUILD_STATIC_LIBRARY)
56