Home | History | Annotate | Download | only in Driver
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_TBLGEN_VARS)
      4 
      5 TBLGEN_TABLES := \
      6   AttrVisitor.inc \
      7   DiagnosticCommonKinds.inc \
      8   DiagnosticDriverKinds.inc \
      9   DiagnosticSemaKinds.inc \
     10   Options.inc \
     11   CC1Options.inc
     12 
     13 clang_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 # =====================================================
     33 include $(CLEAR_VARS)
     34 
     35 LOCAL_SRC_FILES := $(clang_driver_SRC_FILES)
     36 LOCAL_MODULE := libclangDriver
     37 LOCAL_MODULE_TAGS := optional
     38 
     39 include $(CLANG_HOST_BUILD_MK)
     40 include $(CLANG_TBLGEN_RULES_MK)
     41 include $(CLANG_VERSION_INC_MK)
     42 include $(BUILD_HOST_STATIC_LIBRARY)
     43 
     44 # For the target
     45 # =====================================================
     46 include $(CLEAR_VARS)
     47 
     48 LOCAL_SRC_FILES := $(clang_driver_SRC_FILES)
     49 LOCAL_MODULE := libclangDriver
     50 LOCAL_MODULE_TAGS := optional
     51 
     52 include $(CLANG_DEVICE_BUILD_MK)
     53 include $(CLANG_TBLGEN_RULES_MK)
     54 include $(CLANG_VERSION_INC_MK)
     55 include $(BUILD_STATIC_LIBRARY)
     56