moz.build (5791B)
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/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: Core & HTML") 9 10 DIRS += ["input"] 11 12 MOCHITEST_MANIFESTS += [ 13 "test/dialog/mochitest.toml", 14 "test/forms/mochitest.toml", 15 "test/forms/without_selectionchange/mochitest.toml", 16 "test/mochitest.toml", 17 ] 18 19 MOCHITEST_CHROME_MANIFESTS += [ 20 "test/chrome.toml", 21 "test/forms/chrome.toml", 22 ] 23 24 BROWSER_CHROME_MANIFESTS += ["test/browser.toml"] 25 26 EXPORTS += [ 27 "nsGenericHTMLElement.h", 28 "nsGenericHTMLFrameElement.h", 29 "nsHTMLDocument.h", 30 "nsIConstraintValidation.h", 31 "nsIFormControl.h", 32 "nsIHTMLCollection.h", 33 ] 34 35 EXPORTS.mozilla += [ 36 "TextControlElement.h", 37 "TextControlState.h", 38 "TextInputListener.h", 39 ] 40 41 EXPORTS.mozilla.dom += [ 42 "ConstraintValidation.h", 43 "CustomStateSet.h", 44 "ElementInternals.h", 45 "FetchPriority.h", 46 "HTMLAllCollection.h", 47 "HTMLAnchorElement.h", 48 "HTMLAreaElement.h", 49 "HTMLBodyElement.h", 50 "HTMLBRElement.h", 51 "HTMLButtonElement.h", 52 "HTMLCanvasElement.h", 53 "HTMLDataElement.h", 54 "HTMLDataListElement.h", 55 "HTMLDetailsElement.h", 56 "HTMLDialogElement.h", 57 "HTMLDivElement.h", 58 "HTMLDNSPrefetch.h", 59 "HTMLElement.h", 60 "HTMLEmbedElement.h", 61 "HTMLFieldSetElement.h", 62 "HTMLFontElement.h", 63 "HTMLFormControlsCollection.h", 64 "HTMLFormElement.h", 65 "HTMLFormSubmission.h", 66 "HTMLFrameElement.h", 67 "HTMLFrameSetElement.h", 68 "HTMLHeadingElement.h", 69 "HTMLHRElement.h", 70 "HTMLIFrameElement.h", 71 "HTMLImageElement.h", 72 "HTMLInputElement.h", 73 "HTMLLabelElement.h", 74 "HTMLLegendElement.h", 75 "HTMLLIElement.h", 76 "HTMLLinkElement.h", 77 "HTMLMapElement.h", 78 "HTMLMarqueeElement.h", 79 "HTMLMenuElement.h", 80 "HTMLMetaElement.h", 81 "HTMLMeterElement.h", 82 "HTMLModElement.h", 83 "HTMLObjectElement.h", 84 "HTMLOptGroupElement.h", 85 "HTMLOptionElement.h", 86 "HTMLOptionsCollection.h", 87 "HTMLOutputElement.h", 88 "HTMLParagraphElement.h", 89 "HTMLPictureElement.h", 90 "HTMLPreElement.h", 91 "HTMLProgressElement.h", 92 "HTMLScriptElement.h", 93 "HTMLSelectElement.h", 94 "HTMLSharedElement.h", 95 "HTMLSharedListElement.h", 96 "HTMLSlotElement.h", 97 "HTMLSourceElement.h", 98 "HTMLSpanElement.h", 99 "HTMLStyleElement.h", 100 "HTMLSummaryElement.h", 101 "HTMLTableCaptionElement.h", 102 "HTMLTableCellElement.h", 103 "HTMLTableColElement.h", 104 "HTMLTableElement.h", 105 "HTMLTableRowElement.h", 106 "HTMLTableSectionElement.h", 107 "HTMLTemplateElement.h", 108 "HTMLTextAreaElement.h", 109 "HTMLTimeElement.h", 110 "HTMLTitleElement.h", 111 "HTMLUnknownElement.h", 112 "ImageDocument.h", 113 "MediaDocument.h", 114 "RadioNodeList.h", 115 "ValidityState.h", 116 ] 117 118 UNIFIED_SOURCES += [ 119 "ConstraintValidation.cpp", 120 "CustomStateSet.cpp", 121 "ElementInternals.cpp", 122 "FetchPriority.cpp", 123 "HTMLAllCollection.cpp", 124 "HTMLAnchorElement.cpp", 125 "HTMLAreaElement.cpp", 126 "HTMLBodyElement.cpp", 127 "HTMLBRElement.cpp", 128 "HTMLButtonElement.cpp", 129 "HTMLCanvasElement.cpp", 130 "HTMLDataElement.cpp", 131 "HTMLDataListElement.cpp", 132 "HTMLDetailsElement.cpp", 133 "HTMLDialogElement.cpp", 134 "HTMLDivElement.cpp", 135 "HTMLDNSPrefetch.cpp", 136 "HTMLElement.cpp", 137 "HTMLElementFactory.cpp", 138 "HTMLEmbedElement.cpp", 139 "HTMLFieldSetElement.cpp", 140 "HTMLFontElement.cpp", 141 "HTMLFormControlsCollection.cpp", 142 "HTMLFormElement.cpp", 143 "HTMLFormSubmission.cpp", 144 "HTMLFrameElement.cpp", 145 "HTMLFrameSetElement.cpp", 146 "HTMLHeadingElement.cpp", 147 "HTMLHRElement.cpp", 148 "HTMLIFrameElement.cpp", 149 "HTMLImageElement.cpp", 150 "HTMLInputElement.cpp", 151 "HTMLLabelElement.cpp", 152 "HTMLLegendElement.cpp", 153 "HTMLLIElement.cpp", 154 "HTMLLinkElement.cpp", 155 "HTMLMapElement.cpp", 156 "HTMLMarqueeElement.cpp", 157 "HTMLMenuElement.cpp", 158 "HTMLMetaElement.cpp", 159 "HTMLMeterElement.cpp", 160 "HTMLModElement.cpp", 161 "HTMLObjectElement.cpp", 162 "HTMLOptGroupElement.cpp", 163 "HTMLOptionElement.cpp", 164 "HTMLOptionsCollection.cpp", 165 "HTMLOutputElement.cpp", 166 "HTMLParagraphElement.cpp", 167 "HTMLPictureElement.cpp", 168 "HTMLPreElement.cpp", 169 "HTMLProgressElement.cpp", 170 "HTMLScriptElement.cpp", 171 "HTMLSelectElement.cpp", 172 "HTMLSharedElement.cpp", 173 "HTMLSharedListElement.cpp", 174 "HTMLSlotElement.cpp", 175 "HTMLSourceElement.cpp", 176 "HTMLSpanElement.cpp", 177 "HTMLStyleElement.cpp", 178 "HTMLSummaryElement.cpp", 179 "HTMLTableCaptionElement.cpp", 180 "HTMLTableCellElement.cpp", 181 "HTMLTableColElement.cpp", 182 "HTMLTableElement.cpp", 183 "HTMLTableRowElement.cpp", 184 "HTMLTableSectionElement.cpp", 185 "HTMLTemplateElement.cpp", 186 "HTMLTextAreaElement.cpp", 187 "HTMLTimeElement.cpp", 188 "HTMLTitleElement.cpp", 189 "HTMLUnknownElement.cpp", 190 "ImageDocument.cpp", 191 "MediaDocument.cpp", 192 "nsDOMStringMap.cpp", 193 "nsGenericHTMLElement.cpp", 194 "nsGenericHTMLFrameElement.cpp", 195 "nsHTMLDocument.cpp", 196 "nsIConstraintValidation.cpp", 197 "RadioNodeList.cpp", 198 "TextControlState.cpp", 199 "ValidityState.cpp", 200 "VideoDocument.cpp", 201 ] 202 203 include("/ipc/chromium/chromium-config.mozbuild") 204 205 LOCAL_INCLUDES += [ 206 "!/dist/include/libwebrtc_overrides", 207 "/caps", 208 "/docshell/base", 209 "/dom/base", 210 "/dom/canvas", 211 "/dom/html/input", 212 "/dom/security", 213 "/dom/xul", 214 "/image", 215 "/layout/forms", 216 "/layout/generic", 217 "/layout/style", 218 "/layout/tables", 219 "/layout/xul", 220 "/parser/htmlparser", 221 ] 222 223 FINAL_LIBRARY = "xul"