1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("Core", "DOM: Core & HTML")
12 MOCHITEST_MANIFESTS += [
13 'test/forms/mochitest.ini',
17 MOCHITEST_CHROME_MANIFESTS += [
19 'test/forms/chrome.ini',
22 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
25 'nsIFormSubmitObserver.idl',
26 'nsIImageDocument.idl',
30 XPIDL_MODULE = 'content_html'
33 'nsGenericHTMLElement.h',
34 'nsGenericHTMLFrameElement.h',
35 'nsHTMLDNSPrefetch.h',
37 'nsIConstraintValidation.h',
40 'nsIHTMLCollection.h',
41 'nsIRadioGroupContainer.h',
43 'nsITextControlElement.h',
44 'nsTextEditorState.h',
48 'TextInputListener.h',
51 EXPORTS.mozilla.dom += [
52 'HTMLAllCollection.h',
53 'HTMLAnchorElement.h',
58 'HTMLButtonElement.h',
59 'HTMLCanvasElement.h',
61 'HTMLDataListElement.h',
62 'HTMLDetailsElement.h',
63 'HTMLDialogElement.h',
66 'HTMLFieldSetElement.h',
68 'HTMLFormControlsCollection.h',
70 'HTMLFormSubmission.h',
72 'HTMLFrameSetElement.h',
73 'HTMLHeadingElement.h',
75 'HTMLIFrameElement.h',
79 'HTMLLegendElement.h',
83 'HTMLMarqueeElement.h',
86 'HTMLMenuItemElement.h',
90 'HTMLObjectElement.h',
91 'HTMLOptGroupElement.h',
92 'HTMLOptionElement.h',
93 'HTMLOptionsCollection.h',
94 'HTMLOutputElement.h',
95 'HTMLParagraphElement.h',
96 'HTMLPictureElement.h',
98 'HTMLProgressElement.h',
99 'HTMLScriptElement.h',
100 'HTMLSelectElement.h',
101 'HTMLSharedElement.h',
102 'HTMLSharedListElement.h',
104 'HTMLSourceElement.h',
106 'HTMLStyleElement.h',
107 'HTMLSummaryElement.h',
108 'HTMLTableCaptionElement.h',
109 'HTMLTableCellElement.h',
110 'HTMLTableColElement.h',
111 'HTMLTableElement.h',
112 'HTMLTableRowElement.h',
113 'HTMLTableSectionElement.h',
114 'HTMLTemplateElement.h',
115 'HTMLTextAreaElement.h',
117 'HTMLTitleElement.h',
118 'HTMLTrackElement.h',
119 'HTMLUnknownElement.h',
120 'HTMLVideoElement.h',
123 'nsBrowserElement.h',
126 'TextTrackManager.h',
132 'HTMLAllCollection.cpp',
133 'HTMLAnchorElement.cpp',
134 'HTMLAreaElement.cpp',
135 'HTMLAudioElement.cpp',
136 'HTMLBodyElement.cpp',
138 'HTMLButtonElement.cpp',
139 'HTMLCanvasElement.cpp',
140 'HTMLDataElement.cpp',
141 'HTMLDataListElement.cpp',
142 'HTMLDetailsElement.cpp',
143 'HTMLDialogElement.cpp',
144 'HTMLDivElement.cpp',
146 'HTMLEmbedElement.cpp',
147 'HTMLFieldSetElement.cpp',
148 'HTMLFontElement.cpp',
149 'HTMLFormControlsCollection.cpp',
150 'HTMLFormElement.cpp',
151 'HTMLFormSubmission.cpp',
152 'HTMLFrameElement.cpp',
153 'HTMLFrameSetElement.cpp',
154 'HTMLHeadingElement.cpp',
156 'HTMLIFrameElement.cpp',
157 'HTMLImageElement.cpp',
158 'HTMLInputElement.cpp',
159 'HTMLLabelElement.cpp',
160 'HTMLLegendElement.cpp',
162 'HTMLLinkElement.cpp',
163 'HTMLMapElement.cpp',
164 'HTMLMarqueeElement.cpp',
165 'HTMLMediaElement.cpp',
166 'HTMLMenuElement.cpp',
167 'HTMLMenuItemElement.cpp',
168 'HTMLMetaElement.cpp',
169 'HTMLMeterElement.cpp',
170 'HTMLModElement.cpp',
171 'HTMLObjectElement.cpp',
172 'HTMLOptGroupElement.cpp',
173 'HTMLOptionElement.cpp',
174 'HTMLOptionsCollection.cpp',
175 'HTMLOutputElement.cpp',
176 'HTMLParagraphElement.cpp',
177 'HTMLPictureElement.cpp',
178 'HTMLPreElement.cpp',
179 'HTMLProgressElement.cpp',
180 'HTMLScriptElement.cpp',
181 'HTMLSelectElement.cpp',
182 'HTMLSharedElement.cpp',
183 'HTMLSharedListElement.cpp',
184 'HTMLSlotElement.cpp',
185 'HTMLSourceElement.cpp',
186 'HTMLSpanElement.cpp',
187 'HTMLStyleElement.cpp',
188 'HTMLSummaryElement.cpp',
189 'HTMLTableCaptionElement.cpp',
190 'HTMLTableCellElement.cpp',
191 'HTMLTableColElement.cpp',
192 'HTMLTableElement.cpp',
193 'HTMLTableRowElement.cpp',
194 'HTMLTableSectionElement.cpp',
195 'HTMLTemplateElement.cpp',
196 'HTMLTextAreaElement.cpp',
197 'HTMLTimeElement.cpp',
198 'HTMLTitleElement.cpp',
199 'HTMLTrackElement.cpp',
200 'HTMLUnknownElement.cpp',
201 'HTMLVideoElement.cpp',
205 'nsBrowserElement.cpp',
206 'nsDOMStringMap.cpp',
207 'nsGenericHTMLElement.cpp',
208 'nsGenericHTMLFrameElement.cpp',
209 'nsHTMLContentSink.cpp',
210 'nsHTMLDNSPrefetch.cpp',
211 'nsHTMLDocument.cpp',
212 'nsIConstraintValidation.cpp',
213 'nsRadioVisitor.cpp',
214 'nsTextEditorState.cpp',
217 'TextTrackManager.cpp',
225 'PluginDocument.cpp',
228 EXTRA_JS_MODULES += [
229 'HTMLMenuBuilder.jsm',
236 include('/ipc/chromium/chromium-config.mozbuild')
257 FINAL_LIBRARY = 'xul'
259 if CONFIG['MOZ_ANDROID_HLS_SUPPORT']:
260 DEFINES['MOZ_ANDROID_HLS_SUPPORT'] = True
262 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
263 CXXFLAGS += ['-Wno-error=shadow']