office-gobmx/winaccessibility/CustomTarget_ia2_idl.mk
Michael Weghorn 56145f237b wina11y: Drop unused AccessibleKey{Binding,Stroke}.idl
The only include of the generated header file
`AccessibleKeyBinding.h` was in `AccActionBase.cxx`,
but that doesn't make any use of what's defined in
the header, so just drop the include and the unused
IDL files altogether. (The IDL files are part of the
winaccessibility-specific UAccCOMIDL, unrelated to
the IDL files for the UNO API.)

`CMAccessible::get_accKeyboardShortcut` directly operates
on the `XAccessibleKeyBinding` UNO interface ever since

    commit a18bdb3bc0
    Date:   Thu Nov 14 08:18:05 2013 +0000

        Integrate branch of IAccessible2

        Just the winaccessibility directory initially.

(the commit also adding those 2 IDL files), so it's
unclear to me what might have been the intended use.

Change-Id: I1a08e8ea789ca92e52640a0006f20fac219f6733
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137866
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-08-05 17:35:16 +02:00

39 lines
1.4 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,winaccessibility/ia2/idl))
wina11y_COMIDLDIR := $(call gb_CustomTarget_get_workdir,winaccessibility/ia2/idl)
wina11y_SOURCE := $(SRCDIR)/winaccessibility/source/UAccCOMIDL
# We cannot depend on *.tlb because they only produced by IDL compiler
# if idl contains 'library' statement.
$(call gb_CustomTarget_get_target,winaccessibility/ia2/idl) : \
$(wina11y_COMIDLDIR)/UAccCOM.h \
$(wina11y_COMIDLDIR)/defines.h \
$(wina11y_COMIDLDIR)/ia2_api_all.h
$(wina11y_COMIDLDIR)/%.h : $(wina11y_SOURCE)/%.idl \
| $(wina11y_COMIDLDIR)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),IDL,1)
$(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),IDL)
$(call gb_Helper_abbreviate_dirs, \
midl.exe \
-tlb $(wina11y_COMIDLDIR)/$*.tlb \
-h $(wina11y_COMIDLDIR)/$*.h \
-iid $(wina11y_COMIDLDIR)/$*_i.c \
-dlldata $(wina11y_COMIDLDIR)/dlldata.c \
-proxy $(wina11y_COMIDLDIR)/$*_p.c \
-Oicf \
$(SOLARINC) \
-I $(wina11y_SOURCE) \
$<)
$(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),IDL)
# vim:set shiftwidth=4 tabstop=4 noexpandtab: