Home | History | Annotate | Download | only in FrontendTool
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # For the host only
      4 # =====================================================
      5 include $(CLEAR_VARS)
      6 include $(CLEAR_TBLGEN_VARS)
      7 
      8 LOCAL_MODULE:= libclangFrontendTool
      9 
     10 LOCAL_MODULE_TAGS := optional
     11 
     12 TBLGEN_TABLES := \
     13   DiagnosticCommonKinds.inc \
     14   DiagnosticFrontendKinds.inc \
     15   CC1Options.inc
     16 
     17 clang_frontend_tool_SRC_FILES := \
     18   ExecuteCompilerInvocation.cpp
     19 
     20 LOCAL_CFLAGS += -DCLANG_ENABLE_STATIC_ANALYZER
     21 LOCAL_CFLAGS += -DCLANG_ENABLE_REWRITER
     22 
     23 LOCAL_SRC_FILES := $(clang_frontend_tool_SRC_FILES)
     24 
     25 include $(CLANG_HOST_BUILD_MK)
     26 include $(CLANG_TBLGEN_RULES_MK)
     27 include $(BUILD_HOST_STATIC_LIBRARY)
     28