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 AttrHasAttributeImpl.inc \ 10 DiagnosticASTKinds.inc \ 11 DiagnosticAnalysisKinds.inc \ 12 DiagnosticCommentKinds.inc \ 13 DiagnosticCommonKinds.inc \ 14 DiagnosticDriverKinds.inc \ 15 DiagnosticFrontendKinds.inc \ 16 DiagnosticGroups.inc \ 17 DiagnosticIndexName.inc \ 18 DiagnosticLexKinds.inc \ 19 DiagnosticParseKinds.inc \ 20 DiagnosticSemaKinds.inc \ 21 DiagnosticSerializationKinds.inc \ 22 arm_neon.inc 23 24 clang_format_SRC_FILES := \ 25 BreakableToken.cpp \ 26 ContinuationIndenter.cpp \ 27 Format.cpp \ 28 FormatToken.cpp \ 29 TokenAnnotator.cpp \ 30 UnwrappedLineParser.cpp \ 31 WhitespaceManager.cpp 32 33 LOCAL_SRC_FILES := $(clang_format_SRC_FILES) 34 35 LOCAL_MODULE:= libclangFormat 36 LOCAL_MODULE_TAGS := optional 37 38 LOCAL_MODULE_TAGS := optional 39 40 include $(CLANG_HOST_BUILD_MK) 41 include $(CLANG_VERSION_INC_MK) 42 include $(CLANG_TBLGEN_RULES_MK) 43 include $(BUILD_HOST_STATIC_LIBRARY) 44