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 AttrList.inc \ 10 Attrs.inc \ 11 DeclNodes.inc \ 12 DiagnosticASTKinds.inc \ 13 DiagnosticSemaKinds.inc \ 14 DiagnosticParseKinds.inc \ 15 DiagnosticCommonKinds.inc \ 16 StmtNodes.inc \ 17 arm_neon.inc 18 19 clang_sema_SRC_FILES := \ 20 AnalysisBasedWarnings.cpp \ 21 AttributeList.cpp \ 22 CodeCompleteConsumer.cpp \ 23 DeclSpec.cpp \ 24 IdentifierResolver.cpp \ 25 DelayedDiagnostic.cpp \ 26 JumpDiagnostics.cpp \ 27 Scope.cpp \ 28 Sema.cpp \ 29 SemaAccess.cpp \ 30 SemaAttr.cpp \ 31 SemaCXXCast.cpp \ 32 SemaCXXScopeSpec.cpp \ 33 SemaChecking.cpp \ 34 SemaCodeComplete.cpp \ 35 SemaDecl.cpp \ 36 SemaDeclAttr.cpp \ 37 SemaDeclCXX.cpp \ 38 SemaDeclObjC.cpp \ 39 SemaExceptionSpec.cpp \ 40 SemaExpr.cpp \ 41 SemaExprCXX.cpp \ 42 SemaExprMember.cpp \ 43 SemaExprObjC.cpp \ 44 SemaInit.cpp \ 45 SemaLookup.cpp \ 46 SemaObjCProperty.cpp \ 47 SemaOverload.cpp \ 48 SemaStmt.cpp \ 49 SemaTemplate.cpp \ 50 SemaTemplateDeduction.cpp \ 51 SemaTemplateInstantiate.cpp \ 52 SemaTemplateInstantiateDecl.cpp \ 53 SemaTemplateVariadic.cpp \ 54 SemaType.cpp \ 55 TargetAttributesSema.cpp 56 57 LOCAL_SRC_FILES := $(clang_sema_SRC_FILES) 58 59 LOCAL_MODULE:= libclangSema 60 LOCAL_MODULE_TAGS := optional 61 62 LOCAL_MODULE_TAGS := optional 63 64 include $(CLANG_HOST_BUILD_MK) 65 include $(CLANG_TBLGEN_RULES_MK) 66 include $(BUILD_HOST_STATIC_LIBRARY) 67