Android.mk revision c8bfd0f8bb22ea019c673898bbdb07a834f0d821
1# Only use this on the device or emulator. 2ifeq ($(TARGET_ARCH),arm) 3 4LOCAL_PATH:= $(call my-dir) 5 6# For the host only 7# ===================================================== 8include $(CLEAR_VARS) 9include $(CLEAR_TBLGEN_VARS) 10 11TBLGEN_TABLES := \ 12 DiagnosticASTKinds.inc \ 13 DiagnosticCommonKinds.inc 14 15clang_ast_SRC_FILES := \ 16 APValue.cpp \ 17 ASTConsumer.cpp \ 18 ASTContext.cpp \ 19 ASTDiagnostic.cpp \ 20 ASTImporter.cpp \ 21 AttrImpl.cpp \ 22 CXXInheritance.cpp \ 23 Decl.cpp \ 24 DeclBase.cpp \ 25 DeclCXX.cpp \ 26 DeclFriend.cpp \ 27 DeclGroup.cpp \ 28 DeclObjC.cpp \ 29 DeclPrinter.cpp \ 30 DeclTemplate.cpp \ 31 DeclarationName.cpp \ 32 Expr.cpp \ 33 ExprCXX.cpp \ 34 ExprConstant.cpp \ 35 FullExpr.cpp \ 36 InheritViz.cpp \ 37 NestedNameSpecifier.cpp \ 38 ParentMap.cpp \ 39 RecordLayout.cpp \ 40 RecordLayoutBuilder.cpp \ 41 Stmt.cpp \ 42 StmtDumper.cpp \ 43 StmtIterator.cpp \ 44 StmtPrinter.cpp \ 45 StmtProfile.cpp \ 46 StmtViz.cpp \ 47 TemplateBase.cpp \ 48 TemplateName.cpp \ 49 Type.cpp \ 50 TypeLoc.cpp \ 51 TypePrinter.cpp 52 53LOCAL_SRC_FILES := $(clang_ast_SRC_FILES) 54 55LOCAL_MODULE:= libclangAST 56 57include $(CLANG_HOST_BUILD_MK) 58include $(CLANG_TBLGEN_RULES_MK) 59include $(BUILD_HOST_STATIC_LIBRARY) 60 61endif 62