"Fossies" - the Fresh Open Source Software Archive

Member "firefox-69.0.1/dom/html/moz.build" (17 Sep 2019, 6515 Bytes) of package /linux/www/firefox-69.0.1.source.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "moz.build": 68.0.2_vs_69.0.

    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/forms/mochitest.ini',
   14     'test/mochitest.ini',
   15 ]
   16 
   17 MOCHITEST_CHROME_MANIFESTS += [
   18     'test/chrome.ini',
   19     'test/forms/chrome.ini',
   20 ]
   21 
   22 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
   23 
   24 XPIDL_SOURCES += [
   25     'nsIFormSubmitObserver.idl',
   26     'nsIImageDocument.idl',
   27     'nsIMenuBuilder.idl',
   28 ]
   29 
   30 XPIDL_MODULE = 'content_html'
   31 
   32 EXPORTS += [
   33     'nsGenericHTMLElement.h',
   34     'nsGenericHTMLFrameElement.h',
   35     'nsHTMLDNSPrefetch.h',
   36     'nsHTMLDocument.h',
   37     'nsIConstraintValidation.h',
   38     'nsIForm.h',
   39     'nsIFormControl.h',
   40     'nsIHTMLCollection.h',
   41     'nsIRadioGroupContainer.h',
   42     'nsIRadioVisitor.h',
   43     'nsITextControlElement.h',
   44     'nsTextEditorState.h',
   45 ]
   46 
   47 EXPORTS.mozilla += [
   48     'TextInputListener.h',
   49 ]
   50 
   51 EXPORTS.mozilla.dom += [
   52     'HTMLAllCollection.h',
   53     'HTMLAnchorElement.h',
   54     'HTMLAreaElement.h',
   55     'HTMLAudioElement.h',
   56     'HTMLBodyElement.h',
   57     'HTMLBRElement.h',
   58     'HTMLButtonElement.h',
   59     'HTMLCanvasElement.h',
   60     'HTMLDataElement.h',
   61     'HTMLDataListElement.h',
   62     'HTMLDetailsElement.h',
   63     'HTMLDialogElement.h',
   64     'HTMLDivElement.h',
   65     'HTMLEmbedElement.h',
   66     'HTMLFieldSetElement.h',
   67     'HTMLFontElement.h',
   68     'HTMLFormControlsCollection.h',
   69     'HTMLFormElement.h',
   70     'HTMLFormSubmission.h',
   71     'HTMLFrameElement.h',
   72     'HTMLFrameSetElement.h',
   73     'HTMLHeadingElement.h',
   74     'HTMLHRElement.h',
   75     'HTMLIFrameElement.h',
   76     'HTMLImageElement.h',
   77     'HTMLInputElement.h',
   78     'HTMLLabelElement.h',
   79     'HTMLLegendElement.h',
   80     'HTMLLIElement.h',
   81     'HTMLLinkElement.h',
   82     'HTMLMapElement.h',
   83     'HTMLMarqueeElement.h',
   84     'HTMLMediaElement.h',
   85     'HTMLMenuElement.h',
   86     'HTMLMenuItemElement.h',
   87     'HTMLMetaElement.h',
   88     'HTMLMeterElement.h',
   89     'HTMLModElement.h',
   90     'HTMLObjectElement.h',
   91     'HTMLOptGroupElement.h',
   92     'HTMLOptionElement.h',
   93     'HTMLOptionsCollection.h',
   94     'HTMLOutputElement.h',
   95     'HTMLParagraphElement.h',
   96     'HTMLPictureElement.h',
   97     'HTMLPreElement.h',
   98     'HTMLProgressElement.h',
   99     'HTMLScriptElement.h',
  100     'HTMLSelectElement.h',
  101     'HTMLSharedElement.h',
  102     'HTMLSharedListElement.h',
  103     'HTMLSlotElement.h',
  104     'HTMLSourceElement.h',
  105     'HTMLSpanElement.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',
  116     'HTMLTimeElement.h',
  117     'HTMLTitleElement.h',
  118     'HTMLTrackElement.h',
  119     'HTMLUnknownElement.h',
  120     'HTMLVideoElement.h',
  121     'ImageDocument.h',
  122     'MediaError.h',
  123     'nsBrowserElement.h',
  124     'PlayPromise.h',
  125     'RadioNodeList.h',
  126     'TextTrackManager.h',
  127     'TimeRanges.h',
  128     'ValidityState.h',
  129 ]
  130 
  131 UNIFIED_SOURCES += [
  132     'HTMLAllCollection.cpp',
  133     'HTMLAnchorElement.cpp',
  134     'HTMLAreaElement.cpp',
  135     'HTMLAudioElement.cpp',
  136     'HTMLBodyElement.cpp',
  137     'HTMLBRElement.cpp',
  138     'HTMLButtonElement.cpp',
  139     'HTMLCanvasElement.cpp',
  140     'HTMLDataElement.cpp',
  141     'HTMLDataListElement.cpp',
  142     'HTMLDetailsElement.cpp',
  143     'HTMLDialogElement.cpp',
  144     'HTMLDivElement.cpp',
  145     'HTMLElement.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',
  155     'HTMLHRElement.cpp',
  156     'HTMLIFrameElement.cpp',
  157     'HTMLImageElement.cpp',
  158     'HTMLInputElement.cpp',
  159     'HTMLLabelElement.cpp',
  160     'HTMLLegendElement.cpp',
  161     'HTMLLIElement.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',
  202     'ImageDocument.cpp',
  203     'MediaDocument.cpp',
  204     'MediaError.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',
  215     'PlayPromise.cpp',
  216     'RadioNodeList.cpp',
  217     'TextTrackManager.cpp',
  218     'TimeRanges.cpp',
  219     'ValidityState.cpp',
  220     'VideoDocument.cpp',
  221 ]
  222 
  223 SOURCES += [
  224     # Includes npapi.h.
  225     'PluginDocument.cpp',
  226 ]
  227 
  228 EXTRA_JS_MODULES += [
  229     'HTMLMenuBuilder.jsm',
  230 ]
  231 
  232 XPCOM_MANIFESTS += [
  233     'components.conf',
  234 ]
  235 
  236 include('/ipc/chromium/chromium-config.mozbuild')
  237 
  238 LOCAL_INCLUDES += [
  239     '/caps',
  240     '/docshell/base',
  241     '/dom/base',
  242     '/dom/canvas',
  243     '/dom/html/input',
  244     '/dom/media',
  245     '/dom/security',
  246     '/dom/xbl',
  247     '/dom/xul',
  248     '/image',
  249     '/layout/forms',
  250     '/layout/generic',
  251     '/layout/style',
  252     '/layout/tables',
  253     '/layout/xul',
  254     '/netwerk/base',
  255 ]
  256 
  257 FINAL_LIBRARY = 'xul'
  258 
  259 if CONFIG['MOZ_ANDROID_HLS_SUPPORT']:
  260     DEFINES['MOZ_ANDROID_HLS_SUPPORT'] = True
  261 
  262 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
  263     CXXFLAGS += ['-Wno-error=shadow']