1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_TBLGEN_VARS) 4 5 clang_edit_SRC_FILES := \ 6 Commit.cpp \ 7 EditedSource.cpp \ 8 RewriteObjCFoundationAPI.cpp 9 10 TBLGEN_TABLES := \ 11 Attrs.inc \ 12 AttrList.inc \ 13 CommentCommandList.inc \ 14 CommentNodes.inc \ 15 DeclNodes.inc \ 16 DiagnosticCommonKinds.inc \ 17 StmtNodes.inc 18 19 # For the host 20 # ===================================================== 21 include $(CLEAR_VARS) 22 23 LOCAL_SRC_FILES := $(clang_edit_SRC_FILES) 24 LOCAL_MODULE:= libclangEdit 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) 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) 44