Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
Tong Shen | e559960 | 2014-09-19 12:02:00 -0700 | [diff] [blame] | 3 | include $(CLEAR_TBLGEN_VARS) |
| 4 | |
Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 5 | clang_edit_SRC_FILES := \ |
| 6 | Commit.cpp \ |
| 7 | EditedSource.cpp \ |
| 8 | RewriteObjCFoundationAPI.cpp |
| 9 | |
Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 10 | TBLGEN_TABLES := \ |
| 11 | Attrs.inc \ |
| 12 | AttrList.inc \ |
Stephen Hines | bd3aca0 | 2013-03-05 23:41:44 -0800 | [diff] [blame] | 13 | CommentCommandList.inc \ |
Shih-wei Liao | ee95935 | 2012-08-03 01:19:05 -0700 | [diff] [blame] | 14 | CommentNodes.inc \ |
Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 15 | DeclNodes.inc \ |
| 16 | DiagnosticCommonKinds.inc \ |
| 17 | StmtNodes.inc |
| 18 | |
Tong Shen | e559960 | 2014-09-19 12:02:00 -0700 | [diff] [blame] | 19 | # For the host |
| 20 | # ===================================================== |
| 21 | include $(CLEAR_VARS) |
| 22 | |
Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 23 | LOCAL_SRC_FILES := $(clang_edit_SRC_FILES) |
Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 24 | LOCAL_MODULE:= libclangEdit |
Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 25 | LOCAL_MODULE_TAGS := optional |
| 26 | |
| 27 | include $(CLANG_HOST_BUILD_MK) |
| 28 | include $(CLANG_VERSION_INC_MK) |
| 29 | include $(CLANG_TBLGEN_RULES_MK) |
| 30 | include $(BUILD_HOST_STATIC_LIBRARY) |
Tong Shen | e559960 | 2014-09-19 12:02:00 -0700 | [diff] [blame] | 31 | |
| 32 | # For the target |
| 33 | # ===================================================== |
| 34 | include $(CLEAR_VARS) |
| 35 | |
| 36 | LOCAL_SRC_FILES := $(clang_edit_SRC_FILES) |
| 37 | LOCAL_MODULE:= libclangEdit |
| 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) |