moz.build 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. MOCHITEST_MANIFESTS += [
  6. 'test/forms/mochitest.ini',
  7. 'test/imports/mochitest.ini',
  8. 'test/mochitest.ini',
  9. ]
  10. MOCHITEST_CHROME_MANIFESTS += [
  11. 'test/chrome.ini',
  12. 'test/forms/chrome.ini',
  13. ]
  14. BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
  15. XPIDL_SOURCES += [
  16. 'nsIDateTimeInputArea.idl',
  17. 'nsIFormSubmitObserver.idl',
  18. 'nsIHTMLMenu.idl',
  19. 'nsIImageDocument.idl',
  20. 'nsIMenuBuilder.idl',
  21. 'nsIPhonetic.idl',
  22. ]
  23. XPIDL_MODULE = 'content_html'
  24. EXPORTS += [
  25. 'nsGenericHTMLElement.h',
  26. 'nsHTMLDNSPrefetch.h',
  27. 'nsIConstraintValidation.h',
  28. 'nsIForm.h',
  29. 'nsIFormControl.h',
  30. 'nsIFormProcessor.h',
  31. 'nsIHTMLCollection.h',
  32. 'nsIHTMLDocument.h',
  33. 'nsIRadioGroupContainer.h',
  34. 'nsIRadioVisitor.h',
  35. 'nsITextControlElement.h',
  36. 'nsTextEditorState.h',
  37. ]
  38. EXPORTS.mozilla.dom += [
  39. 'HTMLAllCollection.h',
  40. 'HTMLAnchorElement.h',
  41. 'HTMLAreaElement.h',
  42. 'HTMLAudioElement.h',
  43. 'HTMLBodyElement.h',
  44. 'HTMLBRElement.h',
  45. 'HTMLButtonElement.h',
  46. 'HTMLCanvasElement.h',
  47. 'HTMLDataElement.h',
  48. 'HTMLDataListElement.h',
  49. 'HTMLDetailsElement.h',
  50. 'HTMLDialogElement.h',
  51. 'HTMLDivElement.h',
  52. 'HTMLFieldSetElement.h',
  53. 'HTMLFontElement.h',
  54. 'HTMLFormControlsCollection.h',
  55. 'HTMLFormElement.h',
  56. 'HTMLFormSubmission.h',
  57. 'HTMLFrameElement.h',
  58. 'HTMLFrameSetElement.h',
  59. 'HTMLHeadingElement.h',
  60. 'HTMLHRElement.h',
  61. 'HTMLIFrameElement.h',
  62. 'HTMLImageElement.h',
  63. 'HTMLInputElement.h',
  64. 'HTMLLabelElement.h',
  65. 'HTMLLegendElement.h',
  66. 'HTMLLIElement.h',
  67. 'HTMLLinkElement.h',
  68. 'HTMLMapElement.h',
  69. 'HTMLMediaElement.h',
  70. 'HTMLMenuElement.h',
  71. 'HTMLMenuItemElement.h',
  72. 'HTMLMetaElement.h',
  73. 'HTMLMeterElement.h',
  74. 'HTMLModElement.h',
  75. 'HTMLObjectElement.h',
  76. 'HTMLOptGroupElement.h',
  77. 'HTMLOptionElement.h',
  78. 'HTMLOptionsCollection.h',
  79. 'HTMLOutputElement.h',
  80. 'HTMLParagraphElement.h',
  81. 'HTMLPictureElement.h',
  82. 'HTMLPreElement.h',
  83. 'HTMLProgressElement.h',
  84. 'HTMLScriptElement.h',
  85. 'HTMLSelectElement.h',
  86. 'HTMLSharedElement.h',
  87. 'HTMLSharedListElement.h',
  88. 'HTMLSharedObjectElement.h',
  89. 'HTMLSlotElement.h',
  90. 'HTMLSourceElement.h',
  91. 'HTMLSpanElement.h',
  92. 'HTMLStyleElement.h',
  93. 'HTMLSummaryElement.h',
  94. 'HTMLTableCaptionElement.h',
  95. 'HTMLTableCellElement.h',
  96. 'HTMLTableColElement.h',
  97. 'HTMLTableElement.h',
  98. 'HTMLTableRowElement.h',
  99. 'HTMLTableSectionElement.h',
  100. 'HTMLTemplateElement.h',
  101. 'HTMLTextAreaElement.h',
  102. 'HTMLTimeElement.h',
  103. 'HTMLTitleElement.h',
  104. 'HTMLTrackElement.h',
  105. 'HTMLUnknownElement.h',
  106. 'HTMLVideoElement.h',
  107. 'ImageDocument.h',
  108. 'MediaError.h',
  109. 'nsBrowserElement.h',
  110. 'RadioNodeList.h',
  111. 'TextTrackManager.h',
  112. 'TimeRanges.h',
  113. 'ValidityState.h',
  114. ]
  115. SOURCES += [
  116. 'HTMLAllCollection.cpp',
  117. 'HTMLAnchorElement.cpp',
  118. 'HTMLAreaElement.cpp',
  119. 'HTMLAudioElement.cpp',
  120. 'HTMLBodyElement.cpp',
  121. 'HTMLBRElement.cpp',
  122. 'HTMLButtonElement.cpp',
  123. 'HTMLCanvasElement.cpp',
  124. 'HTMLDataElement.cpp',
  125. 'HTMLDataListElement.cpp',
  126. 'HTMLDetailsElement.cpp',
  127. 'HTMLDialogElement.cpp',
  128. 'HTMLDivElement.cpp',
  129. 'HTMLElement.cpp',
  130. 'HTMLFieldSetElement.cpp',
  131. 'HTMLFontElement.cpp',
  132. 'HTMLFormControlsCollection.cpp',
  133. 'HTMLFormElement.cpp',
  134. 'HTMLFormSubmission.cpp',
  135. 'HTMLFrameElement.cpp',
  136. 'HTMLFrameSetElement.cpp',
  137. 'HTMLHeadingElement.cpp',
  138. 'HTMLHRElement.cpp',
  139. 'HTMLIFrameElement.cpp',
  140. 'HTMLImageElement.cpp',
  141. 'HTMLInputElement.cpp',
  142. 'HTMLLabelElement.cpp',
  143. 'HTMLLegendElement.cpp',
  144. 'HTMLLIElement.cpp',
  145. 'HTMLLinkElement.cpp',
  146. 'HTMLMapElement.cpp',
  147. 'HTMLMediaElement.cpp',
  148. 'HTMLMenuElement.cpp',
  149. 'HTMLMenuItemElement.cpp',
  150. 'HTMLMetaElement.cpp',
  151. 'HTMLMeterElement.cpp',
  152. 'HTMLModElement.cpp',
  153. 'HTMLObjectElement.cpp',
  154. 'HTMLOptGroupElement.cpp',
  155. 'HTMLOptionElement.cpp',
  156. 'HTMLOptionsCollection.cpp',
  157. 'HTMLOutputElement.cpp',
  158. 'HTMLParagraphElement.cpp',
  159. 'HTMLPictureElement.cpp',
  160. 'HTMLPreElement.cpp',
  161. 'HTMLProgressElement.cpp',
  162. 'HTMLScriptElement.cpp',
  163. 'HTMLSelectElement.cpp',
  164. 'HTMLSharedElement.cpp',
  165. 'HTMLSharedListElement.cpp',
  166. 'HTMLSharedObjectElement.cpp',
  167. 'HTMLSlotElement.cpp',
  168. 'HTMLSourceElement.cpp',
  169. 'HTMLSpanElement.cpp',
  170. 'HTMLStyleElement.cpp',
  171. 'HTMLSummaryElement.cpp',
  172. 'HTMLTableCaptionElement.cpp',
  173. 'HTMLTableCellElement.cpp',
  174. 'HTMLTableColElement.cpp',
  175. 'HTMLTableElement.cpp',
  176. 'HTMLTableRowElement.cpp',
  177. 'HTMLTableSectionElement.cpp',
  178. 'HTMLTemplateElement.cpp',
  179. 'HTMLTextAreaElement.cpp',
  180. 'HTMLTimeElement.cpp',
  181. 'HTMLTitleElement.cpp',
  182. 'HTMLTrackElement.cpp',
  183. 'HTMLUnknownElement.cpp',
  184. 'HTMLVideoElement.cpp',
  185. 'ImageDocument.cpp',
  186. 'MediaDocument.cpp',
  187. 'MediaError.cpp',
  188. 'nsBrowserElement.cpp',
  189. 'nsDOMStringMap.cpp',
  190. 'nsGenericHTMLElement.cpp',
  191. 'nsGenericHTMLFrameElement.cpp',
  192. 'nsHTMLContentSink.cpp',
  193. 'nsHTMLDNSPrefetch.cpp',
  194. 'nsHTMLDocument.cpp',
  195. 'nsIConstraintValidation.cpp',
  196. 'nsRadioVisitor.cpp',
  197. 'nsTextEditorState.cpp',
  198. 'PluginDocument.cpp',
  199. 'RadioNodeList.cpp',
  200. 'TextTrackManager.cpp',
  201. 'TimeRanges.cpp',
  202. 'ValidityState.cpp',
  203. 'VideoDocument.cpp',
  204. ]
  205. EXTRA_COMPONENTS += [
  206. 'htmlMenuBuilder.js',
  207. 'htmlMenuBuilder.manifest'
  208. ]
  209. include('/ipc/chromium/chromium-config.mozbuild')
  210. LOCAL_INCLUDES += [
  211. '/caps',
  212. '/docshell/base',
  213. '/dom/base',
  214. '/dom/canvas',
  215. '/dom/media/',
  216. '/dom/xbl',
  217. '/dom/xul',
  218. '/editor/txmgr',
  219. '/image',
  220. '/layout/forms',
  221. '/layout/generic',
  222. '/layout/style',
  223. '/layout/tables',
  224. '/layout/xul',
  225. '/netwerk/base',
  226. ]
  227. FINAL_LIBRARY = 'xul'
  228. if CONFIG['GNU_CXX']:
  229. CXXFLAGS += ['-Wno-error=shadow']