1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_TBLGEN_VARS) 4 5TBLGEN_TABLES := \ 6 DiagnosticLexKinds.inc \ 7 DiagnosticCommonKinds.inc 8 9clang_lex_SRC_FILES := \ 10 HeaderMap.cpp \ 11 HeaderSearch.cpp \ 12 Lexer.cpp \ 13 LiteralSupport.cpp \ 14 MacroArgs.cpp \ 15 MacroInfo.cpp \ 16 ModuleMap.cpp \ 17 PPCaching.cpp \ 18 PPCallbacks.cpp \ 19 PPConditionalDirectiveRecord.cpp \ 20 PPDirectives.cpp \ 21 PPExpressions.cpp \ 22 PPLexerChange.cpp \ 23 PPMacroExpansion.cpp \ 24 PTHLexer.cpp \ 25 Pragma.cpp \ 26 PreprocessingRecord.cpp \ 27 Preprocessor.cpp \ 28 PreprocessorLexer.cpp \ 29 ScratchBuffer.cpp \ 30 TokenConcatenation.cpp \ 31 TokenLexer.cpp 32 33# For the host 34# ===================================================== 35include $(CLEAR_VARS) 36 37LOCAL_SRC_FILES := $(clang_lex_SRC_FILES) 38LOCAL_MODULE:= libclangLex 39LOCAL_MODULE_TAGS := optional 40 41include $(CLANG_HOST_BUILD_MK) 42include $(CLANG_TBLGEN_RULES_MK) 43include $(BUILD_HOST_STATIC_LIBRARY) 44 45# For the target 46# ===================================================== 47include $(CLEAR_VARS) 48 49LOCAL_SRC_FILES := $(clang_lex_SRC_FILES) 50LOCAL_MODULE:= libclangLex 51LOCAL_MODULE_TAGS := optional 52 53include $(CLANG_DEVICE_BUILD_MK) 54include $(CLANG_TBLGEN_RULES_MK) 55include $(BUILD_STATIC_LIBRARY) 56