1LOCAL_PATH:= $(call my-dir) 2 3# For the host only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8TBLGEN_TABLES := \ 9 AttrList.inc \ 10 Attrs.inc \ 11 CC1Options.inc \ 12 DiagnosticASTKinds.inc \ 13 DiagnosticCommonKinds.inc \ 14 DiagnosticDriverKinds.inc \ 15 DiagnosticFrontendKinds.inc \ 16 DiagnosticLexKinds.inc \ 17 DiagnosticSemaKinds.inc \ 18 DeclNodes.inc \ 19 StmtNodes.inc 20 21clang_frontend_SRC_FILES := \ 22 ASTConsumers.cpp \ 23 ASTMerge.cpp \ 24 ASTUnit.cpp \ 25 CacheTokens.cpp \ 26 CompilerInstance.cpp \ 27 CompilerInvocation.cpp \ 28 CreateInvocationFromCommandLine.cpp \ 29 DependencyFile.cpp \ 30 FrontendAction.cpp \ 31 FrontendActions.cpp \ 32 FrontendOptions.cpp \ 33 HeaderIncludeGen.cpp \ 34 InitHeaderSearch.cpp \ 35 InitPreprocessor.cpp \ 36 LangStandards.cpp \ 37 LogDiagnosticPrinter.cpp \ 38 MultiplexConsumer.cpp \ 39 PrintPreprocessedOutput.cpp \ 40 TextDiagnosticBuffer.cpp \ 41 TextDiagnosticPrinter.cpp \ 42 VerifyDiagnosticsClient.cpp \ 43 Warnings.cpp 44 45LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES) 46 47LOCAL_MODULE:= libclangFrontend 48LOCAL_MODULE_TAGS:= optional 49 50LOCAL_MODULE_TAGS := optional 51 52include $(CLANG_HOST_BUILD_MK) 53include $(CLANG_TBLGEN_RULES_MK) 54include $(CLANG_VERSION_INC_MK) 55include $(BUILD_HOST_STATIC_LIBRARY) 56