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