1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_TBLGEN_VARS) 4 5clang_edit_SRC_FILES := \ 6 Commit.cpp \ 7 EditedSource.cpp \ 8 RewriteObjCFoundationAPI.cpp 9 10TBLGEN_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# ===================================================== 21include $(CLEAR_VARS) 22 23LOCAL_SRC_FILES := $(clang_edit_SRC_FILES) 24LOCAL_MODULE:= libclangEdit 25LOCAL_MODULE_TAGS := optional 26 27include $(CLANG_HOST_BUILD_MK) 28include $(CLANG_VERSION_INC_MK) 29include $(CLANG_TBLGEN_RULES_MK) 30include $(BUILD_HOST_STATIC_LIBRARY) 31 32# For the target 33# ===================================================== 34include $(CLEAR_VARS) 35 36LOCAL_SRC_FILES := $(clang_edit_SRC_FILES) 37LOCAL_MODULE:= libclangEdit 38LOCAL_MODULE_TAGS := optional 39 40include $(CLANG_DEVICE_BUILD_MK) 41include $(CLANG_VERSION_INC_MK) 42include $(CLANG_TBLGEN_RULES_MK) 43include $(BUILD_STATIC_LIBRARY) 44