Tao Bao | db719ce | 2015-02-19 14:45:44 -0800 | [diff] [blame^] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | |
| 4 | include $(CLEAR_TBLGEN_VARS) |
| 5 | |
| 6 | TBLGEN_TABLES := \ |
| 7 | AttrList.inc \ |
| 8 | Attrs.inc \ |
| 9 | AttrVisitor.inc \ |
| 10 | CommentCommandList.inc \ |
| 11 | DeclNodes.inc \ |
| 12 | DiagnosticCommonKinds.inc \ |
| 13 | StmtNodes.inc \ |
| 14 | |
| 15 | clang_astmatchers_SRC_FILES := \ |
| 16 | ASTMatchFinder.cpp \ |
| 17 | ASTMatchersInternal.cpp |
| 18 | |
| 19 | # For the host |
| 20 | # ===================================================== |
| 21 | # |
| 22 | include $(CLEAR_VARS) |
| 23 | |
| 24 | LOCAL_SRC_FILES := $(clang_astmatchers_SRC_FILES) |
| 25 | LOCAL_MODULE:= libclangASTMatchers |
| 26 | LOCAL_MODULE_TAGS := optional |
| 27 | |
| 28 | include $(CLANG_HOST_BUILD_MK) |
| 29 | include $(CLANG_VERSION_INC_MK) |
| 30 | include $(CLANG_TBLGEN_RULES_MK) |
| 31 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 32 | |
| 33 | # For the target |
| 34 | # ===================================================== |
| 35 | include $(CLEAR_VARS) |
| 36 | LOCAL_SRC_FILES := $(clang_astmatchers_SRC_FILES) |
| 37 | LOCAL_MODULE:= libclangASTMatchers |
| 38 | LOCAL_MODULE_TAGS := optional |
| 39 | |
| 40 | include $(CLANG_DEVICE_BUILD_MK) |
| 41 | include $(CLANG_VERSION_INC_MK) |
| 42 | include $(CLANG_TBLGEN_RULES_MK) |
| 43 | include $(BUILD_STATIC_LIBRARY) |