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 AttrParsedAttrKinds.inc \ 12 AttrParsedAttrList.inc \ 13 AttrSpellingListIndex.inc \ 14 AttrTemplateInstantiate.inc \ 15 CommentCommandList.inc \ 16 CommentNodes.inc \ 17 DeclNodes.inc \ 18 DiagnosticASTKinds.inc \ 19 DiagnosticSemaKinds.inc \ 20 DiagnosticParseKinds.inc \ 21 DiagnosticCommentKinds.inc \ 22 DiagnosticCommonKinds.inc \ 23 StmtNodes.inc \ 24 arm_neon.inc 25 26clang_sema_SRC_FILES := \ 27 AnalysisBasedWarnings.cpp \ 28 AttributeList.cpp \ 29 CodeCompleteConsumer.cpp \ 30 DeclSpec.cpp \ 31 IdentifierResolver.cpp \ 32 DelayedDiagnostic.cpp \ 33 JumpDiagnostics.cpp \ 34 MultiplexExternalSemaSource.cpp \ 35 Scope.cpp \ 36 ScopeInfo.cpp \ 37 Sema.cpp \ 38 SemaAccess.cpp \ 39 SemaAttr.cpp \ 40 SemaCXXScopeSpec.cpp \ 41 SemaCast.cpp \ 42 SemaChecking.cpp \ 43 SemaCodeComplete.cpp \ 44 SemaConsumer.cpp \ 45 SemaDecl.cpp \ 46 SemaDeclAttr.cpp \ 47 SemaDeclCXX.cpp \ 48 SemaDeclObjC.cpp \ 49 SemaExceptionSpec.cpp \ 50 SemaExpr.cpp \ 51 SemaExprCXX.cpp \ 52 SemaExprMember.cpp \ 53 SemaExprObjC.cpp \ 54 SemaFixItUtils.cpp \ 55 SemaInit.cpp \ 56 SemaLambda.cpp \ 57 SemaLookup.cpp \ 58 SemaObjCProperty.cpp \ 59 SemaOverload.cpp \ 60 SemaPseudoObject.cpp \ 61 SemaStmt.cpp \ 62 SemaStmtAsm.cpp \ 63 SemaStmtAttr.cpp \ 64 SemaTemplate.cpp \ 65 SemaTemplateDeduction.cpp \ 66 SemaTemplateInstantiate.cpp \ 67 SemaTemplateInstantiateDecl.cpp \ 68 SemaTemplateVariadic.cpp \ 69 SemaType.cpp \ 70 TargetAttributesSema.cpp 71 72LOCAL_SRC_FILES := $(clang_sema_SRC_FILES) 73 74LOCAL_MODULE:= libclangSema 75LOCAL_MODULE_TAGS := optional 76 77LOCAL_MODULE_TAGS := optional 78 79include $(CLANG_HOST_BUILD_MK) 80include $(CLANG_TBLGEN_RULES_MK) 81include $(BUILD_HOST_STATIC_LIBRARY) 82