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 MultiInitializer.cpp \ 28 Scope.cpp \ 29 Sema.cpp \ 30 SemaAccess.cpp \ 31 SemaAttr.cpp \ 32 SemaCXXScopeSpec.cpp \ 33 SemaCast.cpp \ 34 SemaChecking.cpp \ 35 SemaCodeComplete.cpp \ 36 SemaDecl.cpp \ 37 SemaDeclAttr.cpp \ 38 SemaDeclCXX.cpp \ 39 SemaDeclObjC.cpp \ 40 SemaExceptionSpec.cpp \ 41 SemaExpr.cpp \ 42 SemaExprCXX.cpp \ 43 SemaExprMember.cpp \ 44 SemaExprObjC.cpp \ 45 SemaFixItUtils.cpp \ 46 SemaInit.cpp \ 47 SemaLookup.cpp \ 48 SemaObjCProperty.cpp \ 49 SemaOverload.cpp \ 50 SemaStmt.cpp \ 51 SemaTemplate.cpp \ 52 SemaTemplateDeduction.cpp \ 53 SemaTemplateInstantiate.cpp \ 54 SemaTemplateInstantiateDecl.cpp \ 55 SemaTemplateVariadic.cpp \ 56 SemaType.cpp \ 57 TargetAttributesSema.cpp 58 59 LOCAL_SRC_FILES := $(clang_sema_SRC_FILES) 60 61 LOCAL_MODULE:= libclangSema 62 LOCAL_MODULE_TAGS := optional 63 64 LOCAL_MODULE_TAGS := optional 65 66 include $(CLANG_HOST_BUILD_MK) 67 include $(CLANG_TBLGEN_RULES_MK) 68 include $(BUILD_HOST_STATIC_LIBRARY) 69