Home | History | Annotate | Download | only in Frontend
      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   AttrList.inc \
     10   Attrs.inc \
     11   AttrParsedAttrList.inc \
     12   AttrVisitor.inc \
     13   CC1Options.inc \
     14   CommentCommandList.inc \
     15   CommentNodes.inc \
     16   DiagnosticASTKinds.inc \
     17   DiagnosticCommonKinds.inc \
     18   DiagnosticDriverKinds.inc \
     19   DiagnosticFrontendKinds.inc \
     20   DiagnosticLexKinds.inc \
     21   DiagnosticSemaKinds.inc \
     22   DeclNodes.inc \
     23   StmtNodes.inc
     24 
     25 clang_frontend_SRC_FILES := \
     26   ASTConsumers.cpp \
     27   ASTMerge.cpp \
     28   ASTUnit.cpp \
     29   CacheTokens.cpp \
     30   ChainedDiagnosticConsumer.cpp \
     31   ChainedIncludesSource.cpp \
     32   CompilerInstance.cpp \
     33   CompilerInvocation.cpp \
     34   CreateInvocationFromCommandLine.cpp \
     35   DependencyFile.cpp \
     36   DependencyGraph.cpp \
     37   DiagnosticRenderer.cpp \
     38   FrontendAction.cpp \
     39   FrontendActions.cpp \
     40   FrontendOptions.cpp \
     41   HeaderIncludeGen.cpp \
     42   InitHeaderSearch.cpp \
     43   InitPreprocessor.cpp \
     44   LangStandards.cpp \
     45   LayoutOverrideSource.cpp \
     46   LogDiagnosticPrinter.cpp \
     47   ModuleDependencyCollector.cpp \
     48   MultiplexConsumer.cpp \
     49   PrintPreprocessedOutput.cpp \
     50   SerializedDiagnosticPrinter.cpp \
     51   TextDiagnostic.cpp \
     52   TextDiagnosticBuffer.cpp \
     53   TextDiagnosticPrinter.cpp \
     54   VerifyDiagnosticConsumer.cpp
     55 
     56 LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES)
     57 
     58 LOCAL_MODULE:= libclangFrontend
     59 LOCAL_MODULE_TAGS:= optional
     60 
     61 LOCAL_MODULE_TAGS := optional
     62 
     63 include $(CLANG_HOST_BUILD_MK)
     64 include $(CLANG_TBLGEN_RULES_MK)
     65 include $(CLANG_VERSION_INC_MK)
     66 include $(BUILD_HOST_STATIC_LIBRARY)
     67