forked from mirrors/gecko-dev
Bug 1288841: Add a typelib containing info for IServiceProvider and IEnumVARIANT; r=tbsaunde, mshal
MozReview-Commit-ID: 4xe2T8pQ44f
This commit is contained in:
parent
7debf7c239
commit
05bd3da901
5 changed files with 63 additions and 0 deletions
|
|
@ -4,6 +4,8 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
DIRS += ['typelib']
|
||||||
|
|
||||||
IPDL_SOURCES += ['PDocAccessible.ipdl']
|
IPDL_SOURCES += ['PDocAccessible.ipdl']
|
||||||
|
|
||||||
# with --disable-accessibility we need to compile PDocAccessible.ipdl, but not
|
# with --disable-accessibility we need to compile PDocAccessible.ipdl, but not
|
||||||
|
|
|
||||||
16
accessible/ipc/win/typelib/Accessible.idl
Normal file
16
accessible/ipc/win/typelib/Accessible.idl
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||||
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||||
|
/* 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/. */
|
||||||
|
|
||||||
|
import "oaidl.idl";
|
||||||
|
import "servprov.idl";
|
||||||
|
|
||||||
|
[uuid(b4d37cda-0dac-45e6-b613-158a5eb94293)]
|
||||||
|
library Accessible
|
||||||
|
{
|
||||||
|
interface IEnumVARIANT;
|
||||||
|
interface IServiceProvider;
|
||||||
|
};
|
||||||
|
|
||||||
31
accessible/ipc/win/typelib/Makefile.in
Normal file
31
accessible/ipc/win/typelib/Makefile.in
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# 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/.
|
||||||
|
|
||||||
|
GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c
|
||||||
|
|
||||||
|
MIDL_GENERATED_FILES = \
|
||||||
|
Accessible.h \
|
||||||
|
Accessible_i.c \
|
||||||
|
Accessible_p.c \
|
||||||
|
Accessible.tlb \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
$(MIDL_GENERATED_FILES): done_gen
|
||||||
|
|
||||||
|
done_gen: Accessible.idl
|
||||||
|
$(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/Accessible.idl
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
export:: done_gen
|
||||||
|
|
||||||
|
midl_exports := \
|
||||||
|
Accessible.tlb \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
INSTALL_TARGETS += midl_exports
|
||||||
|
midl_exports_FILES := $(midl_exports)
|
||||||
|
midl_exports_DEST = $(DIST)/bin
|
||||||
|
midl_exports_TARGET := export
|
||||||
|
|
||||||
|
include $(topsrcdir)/config/rules.mk
|
||||||
13
accessible/ipc/win/typelib/moz.build
Normal file
13
accessible/ipc/win/typelib/moz.build
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||||
|
# vim: set filetype=python:
|
||||||
|
# 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/.
|
||||||
|
|
||||||
|
FINAL_TARGET_FILES += [
|
||||||
|
'!Accessible.tlb',
|
||||||
|
]
|
||||||
|
|
||||||
|
GENERATED_FILES += [
|
||||||
|
'Accessible.tlb',
|
||||||
|
]
|
||||||
|
|
@ -153,6 +153,7 @@
|
||||||
@RESPATH@/components/alerts.xpt
|
@RESPATH@/components/alerts.xpt
|
||||||
#ifdef ACCESSIBILITY
|
#ifdef ACCESSIBILITY
|
||||||
#ifdef XP_WIN32
|
#ifdef XP_WIN32
|
||||||
|
@BINPATH@/Accessible.tlb
|
||||||
@BINPATH@/AccessibleMarshal.dll
|
@BINPATH@/AccessibleMarshal.dll
|
||||||
@BINPATH@/IA2Marshal.dll
|
@BINPATH@/IA2Marshal.dll
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue