Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal

MozReview-Commit-ID: EjvzTvADV1a

--HG--
extra : rebase_source : 67202eeaa13847291d191c4c37c13f50fbb0088a
This commit is contained in:
Aaron Klotz 2017-02-14 15:04:33 -07:00
parent e14b91b894
commit c1b69987d2
6 changed files with 95 additions and 16 deletions

View File

@ -5,10 +5,11 @@
GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c
MIDL_GENERATED_FILES = \
IGeckoCustom.h \
IGeckoCustom_p.c \
IGeckoCustom_i.c \
$(NULL)
IGeckoCustom.h \
IGeckoCustom_p.c \
IGeckoCustom_i.c \
IGeckoCustom.tlb \
$(NULL)
$(MIDL_GENERATED_FILES): done_gen

View File

@ -11,7 +11,11 @@ SOURCES += [
]
GENERATED_FILES += [
'dlldata.c',
'IGeckoCustom.h',
'IGeckoCustom.tlb',
'IGeckoCustom_i.c',
'IGeckoCustom_p.c',
]
FINAL_LIBRARY = 'xul'

View File

@ -53,10 +53,11 @@ CSRCS = \
MIDL_GENERATED_FILES = \
dlldata.c \
$(MIDL_ENUMS:%.idl=%.h) \
$(MIDL_INTERFACES:%.idl=%_p.c) \
$(MIDL_INTERFACES:%.idl=%_i.c) \
$(MIDL_INTERFACES:%.idl=%.h) \
$(MIDL_ENUMS:%.idl=%.h) \
$(MIDL_LIBRARIES:%.idl=%.tlb) \
$(NULL)
# We want to generate a .tlb from MIDL_LIBRARIES, but midl also generates
@ -99,7 +100,7 @@ midl_done : $(addprefix $(IA2DIR)/,$(MIDL_INTERFACES) $(MIDL_ENUMS))
# The intent of this rule is to generate the .tlb file that is referenced in the
# .rc file for IA2Marshal.dll
typelib_done : $(MIDL_LIBRARIES)
typelib_done : $(addprefix $(srcdir)/,$(MIDL_LIBRARIES))
for idl in $?; do \
$(MIDL) $(MIDL_FLAGS) -app_config -I $(IA2DIR) -D _MIDL_DECLARE_WIREM_HANDLE -dlldata `basename $$idl .idl`.c -Oicf $$idl; \
done

View File

@ -19,6 +19,68 @@ OS_LIBS += [
]
GENERATED_FILES += [
'Accessible2.h',
'Accessible2_2.h',
'Accessible2_2_i.c',
'Accessible2_2_p.c',
'Accessible2_3.h',
'Accessible2_3_i.c',
'Accessible2_3_p.c',
'Accessible2_i.c',
'Accessible2_p.c',
'AccessibleAction.h',
'AccessibleAction_i.c',
'AccessibleAction_p.c',
'AccessibleApplication.h',
'AccessibleApplication_i.c',
'AccessibleApplication_p.c',
'AccessibleComponent.h',
'AccessibleComponent_i.c',
'AccessibleComponent_p.c',
'AccessibleDocument.h',
'AccessibleDocument_i.c',
'AccessibleDocument_p.c',
'AccessibleEditableText.h',
'AccessibleEditableText_i.c',
'AccessibleEditableText_p.c',
'AccessibleEventId.h',
'AccessibleHyperlink.h',
'AccessibleHyperlink_i.c',
'AccessibleHyperlink_p.c',
'AccessibleHypertext.h',
'AccessibleHypertext2.h',
'AccessibleHypertext2_i.c',
'AccessibleHypertext2_p.c',
'AccessibleHypertext_i.c',
'AccessibleHypertext_p.c',
'AccessibleImage.h',
'AccessibleImage_i.c',
'AccessibleImage_p.c',
'AccessibleRelation.h',
'AccessibleRelation_i.c',
'AccessibleRelation_p.c',
'AccessibleRole.h',
'AccessibleStates.h',
'AccessibleTable.h',
'AccessibleTable2.h',
'AccessibleTable2_i.c',
'AccessibleTable2_p.c',
'AccessibleTable_i.c',
'AccessibleTable_p.c',
'AccessibleTableCell.h',
'AccessibleTableCell_i.c',
'AccessibleTableCell_p.c',
'AccessibleText.h',
'AccessibleText2.h',
'AccessibleText2_i.c',
'AccessibleText2_p.c',
'AccessibleText_i.c',
'AccessibleText_p.c',
'AccessibleValue.h',
'AccessibleValue_i.c',
'AccessibleValue_p.c',
'dlldata.c',
'IA2CommonTypes.h',
'IA2Typelib.tlb',
]

View File

@ -5,16 +5,17 @@
GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c
MIDL_GENERATED_FILES = \
ISimpleDOMNode.h \
ISimpleDOMNode_p.c \
ISimpleDOMNode_i.c \
ISimpleDOMDocument.h \
ISimpleDOMDocument_p.c \
ISimpleDOMDocument_i.c \
ISimpleDOMText.h \
ISimpleDOMText_p.c \
ISimpleDOMText_i.c \
$(NULL)
ISimpleDOMNode.h \
ISimpleDOMNode_p.c \
ISimpleDOMNode_i.c \
ISimpleDOMNode.tlb \
ISimpleDOMDocument.h \
ISimpleDOMDocument_p.c \
ISimpleDOMDocument_i.c \
ISimpleDOMText.h \
ISimpleDOMText_p.c \
ISimpleDOMText_i.c \
$(NULL)
$(MIDL_GENERATED_FILES): done_gen

View File

@ -27,7 +27,17 @@ OS_LIBS += [
]
GENERATED_FILES += [
'dlldata.c',
'ISimpleDOMDocument.h',
'ISimpleDOMDocument_i.c',
'ISimpleDOMDocument_p.c',
'ISimpleDOMNode.h',
'ISimpleDOMNode.tlb',
'ISimpleDOMNode_i.c',
'ISimpleDOMNode_p.c',
'ISimpleDOMText.h',
'ISimpleDOMText_i.c',
'ISimpleDOMText_p.c',
]
RCINCLUDE = 'AccessibleMarshal.rc'