1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_TBLGEN_VARS) 4 5TBLGEN_TABLES := \ 6 AttrList.inc \ 7 AttrParsedAttrList.inc \ 8 Attrs.inc \ 9 AttrVisitor.inc \ 10 AttrParserStringSwitches.inc \ 11 CommentCommandList.inc \ 12 CommentNodes.inc \ 13 DeclNodes.inc \ 14 DiagnosticParseKinds.inc \ 15 DiagnosticCommonKinds.inc \ 16 DiagnosticSemaKinds.inc \ 17 StmtNodes.inc 18 19clang_parse_SRC_FILES := \ 20 ParseAST.cpp \ 21 ParseCXXInlineMethods.cpp \ 22 ParseDecl.cpp \ 23 ParseDeclCXX.cpp \ 24 ParseExpr.cpp \ 25 ParseExprCXX.cpp \ 26 ParseInit.cpp \ 27 ParseObjc.cpp \ 28 ParseOpenMP.cpp \ 29 ParsePragma.cpp \ 30 ParseStmt.cpp \ 31 ParseStmtAsm.cpp \ 32 ParseTemplate.cpp \ 33 ParseTentative.cpp \ 34 Parser.cpp 35 36# For the host 37# ===================================================== 38include $(CLEAR_VARS) 39 40LOCAL_SRC_FILES := $(clang_parse_SRC_FILES) 41LOCAL_MODULE:= libclangParse 42LOCAL_MODULE_TAGS := optional 43 44include $(CLANG_HOST_BUILD_MK) 45include $(CLANG_TBLGEN_RULES_MK) 46include $(BUILD_HOST_STATIC_LIBRARY) 47 48# For the target 49# ===================================================== 50include $(CLEAR_VARS) 51 52LOCAL_SRC_FILES := $(clang_parse_SRC_FILES) 53LOCAL_MODULE:= libclangParse 54LOCAL_MODULE_TAGS := optional 55 56include $(CLANG_DEVICE_BUILD_MK) 57include $(CLANG_TBLGEN_RULES_MK) 58include $(BUILD_STATIC_LIBRARY) 59