1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_TBLGEN_VARS) 4 5 TBLGEN_TABLES := \ 6 AttrList.inc \ 7 Attrs.inc \ 8 AttrParsedAttrKinds.inc \ 9 AttrParsedAttrImpl.inc \ 10 AttrParsedAttrList.inc \ 11 AttrSpellingListIndex.inc \ 12 AttrTemplateInstantiate.inc \ 13 AttrVisitor.inc \ 14 CommentCommandList.inc \ 15 CommentNodes.inc \ 16 DeclNodes.inc \ 17 DiagnosticASTKinds.inc \ 18 DiagnosticSemaKinds.inc \ 19 DiagnosticParseKinds.inc \ 20 DiagnosticCommentKinds.inc \ 21 DiagnosticCommonKinds.inc \ 22 StmtNodes.inc \ 23 arm_neon.inc 24 25 clang_sema_SRC_FILES := \ 26 AnalysisBasedWarnings.cpp \ 27 AttributeList.cpp \ 28 CodeCompleteConsumer.cpp \ 29 DeclSpec.cpp \ 30 DelayedDiagnostic.cpp \ 31 IdentifierResolver.cpp \ 32 JumpDiagnostics.cpp \ 33 MultiplexExternalSemaSource.cpp \ 34 Scope.cpp \ 35 ScopeInfo.cpp \ 36 SemaAccess.cpp \ 37 SemaAttr.cpp \ 38 SemaCast.cpp \ 39 SemaChecking.cpp \ 40 SemaCodeComplete.cpp \ 41 SemaConsumer.cpp \ 42 Sema.cpp \ 43 SemaCoroutine.cpp \ 44 SemaCUDA.cpp \ 45 SemaCXXScopeSpec.cpp \ 46 SemaDeclAttr.cpp \ 47 SemaDecl.cpp \ 48 SemaDeclCXX.cpp \ 49 SemaDeclObjC.cpp \ 50 SemaExceptionSpec.cpp \ 51 SemaExpr.cpp \ 52 SemaExprCXX.cpp \ 53 SemaExprMember.cpp \ 54 SemaExprObjC.cpp \ 55 SemaFixItUtils.cpp \ 56 SemaInit.cpp \ 57 SemaLambda.cpp \ 58 SemaLookup.cpp \ 59 SemaObjCProperty.cpp \ 60 SemaOpenMP.cpp \ 61 SemaOverload.cpp \ 62 SemaPseudoObject.cpp \ 63 SemaStmtAsm.cpp \ 64 SemaStmtAttr.cpp \ 65 SemaStmt.cpp \ 66 SemaTemplate.cpp \ 67 SemaTemplateDeduction.cpp \ 68 SemaTemplateInstantiate.cpp \ 69 SemaTemplateInstantiateDecl.cpp \ 70 SemaTemplateVariadic.cpp \ 71 SemaType.cpp \ 72 TypeLocBuilder.cpp 73 74 # For the host 75 # ===================================================== 76 include $(CLEAR_VARS) 77 78 LOCAL_SRC_FILES := $(clang_sema_SRC_FILES) 79 LOCAL_MODULE:= libclangSema 80 LOCAL_MODULE_TAGS := optional 81 82 include $(CLANG_HOST_BUILD_MK) 83 include $(CLANG_TBLGEN_RULES_MK) 84 include $(BUILD_HOST_STATIC_LIBRARY) 85 86 # For the target 87 # ===================================================== 88 include $(CLEAR_VARS) 89 90 LOCAL_SRC_FILES := $(clang_sema_SRC_FILES) 91 LOCAL_MODULE:= libclangSema 92 LOCAL_MODULE_TAGS := optional 93 94 include $(CLANG_DEVICE_BUILD_MK) 95 include $(CLANG_TBLGEN_RULES_MK) 96 include $(BUILD_STATIC_LIBRARY) 97