Home | History | Annotate | Download | only in Format
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_TBLGEN_VARS)
      4 
      5 TBLGEN_TABLES := \
      6   AttrHasAttributeImpl.inc \
      7   DiagnosticASTKinds.inc \
      8   DiagnosticAnalysisKinds.inc \
      9   DiagnosticCommentKinds.inc \
     10   DiagnosticCommonKinds.inc \
     11   DiagnosticDriverKinds.inc \
     12   DiagnosticFrontendKinds.inc \
     13   DiagnosticGroups.inc \
     14   DiagnosticIndexName.inc \
     15   DiagnosticLexKinds.inc \
     16   DiagnosticParseKinds.inc \
     17   DiagnosticSemaKinds.inc \
     18   DiagnosticSerializationKinds.inc \
     19   arm_neon.inc
     20 
     21 clang_format_SRC_FILES := \
     22   BreakableToken.cpp \
     23   ContinuationIndenter.cpp \
     24   Format.cpp \
     25   FormatToken.cpp \
     26   TokenAnnotator.cpp \
     27   UnwrappedLineFormatter.cpp \
     28   UnwrappedLineParser.cpp \
     29   WhitespaceManager.cpp
     30 
     31 # For the host
     32 # =====================================================
     33 include $(CLEAR_VARS)
     34 
     35 LOCAL_SRC_FILES := $(clang_format_SRC_FILES)
     36 LOCAL_MODULE:= libclangFormat
     37 LOCAL_MODULE_TAGS := optional
     38 
     39 include $(CLANG_HOST_BUILD_MK)
     40 include $(CLANG_VERSION_INC_MK)
     41 include $(CLANG_TBLGEN_RULES_MK)
     42 include $(BUILD_HOST_STATIC_LIBRARY)
     43 
     44 # For the target
     45 # =====================================================
     46 include $(CLEAR_VARS)
     47 
     48 LOCAL_SRC_FILES := $(clang_format_SRC_FILES)
     49 LOCAL_MODULE:= libclangFormat
     50 LOCAL_MODULE_TAGS := optional
     51 
     52 include $(CLANG_DEVICE_BUILD_MK)
     53 include $(CLANG_VERSION_INC_MK)
     54 include $(CLANG_TBLGEN_RULES_MK)
     55 include $(BUILD_STATIC_LIBRARY)
     56