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 7with Files('**'): 8 BUG_COMPONENT = ('Core', 'Layout: Form Controls') 9 10MOCHITEST_MANIFESTS += ['test/mochitest.ini'] 11MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini'] 12 13EXPORTS += [ 14 'nsIComboboxControlFrame.h', 15 'nsIFormControlFrame.h', 16 'nsIListControlFrame.h', 17 'nsISelectControlFrame.h', 18 'nsITextControlFrame.h', 19] 20 21UNIFIED_SOURCES += [ 22 'nsButtonFrameRenderer.cpp', 23 'nsCheckboxRadioFrame.cpp', 24 'nsColorControlFrame.cpp', 25 'nsComboboxControlFrame.cpp', 26 'nsDateTimeControlFrame.cpp', 27 'nsFieldSetFrame.cpp', 28 'nsFileControlFrame.cpp', 29 'nsGfxButtonControlFrame.cpp', 30 'nsHTMLButtonControlFrame.cpp', 31 'nsImageControlFrame.cpp', 32 'nsLegendFrame.cpp', 33 'nsListControlFrame.cpp', 34 'nsMeterFrame.cpp', 35 'nsNumberControlFrame.cpp', 36 'nsProgressFrame.cpp', 37 'nsRangeFrame.cpp', 38 'nsSelectsAreaFrame.cpp', 39 'nsTextControlFrame.cpp', 40] 41 42FINAL_LIBRARY = 'xul' 43 44include('/ipc/chromium/chromium-config.mozbuild') 45 46LOCAL_INCLUDES += [ 47 '../../editor/txmgr', 48 '../base', 49 '../generic', 50 '../painting', 51 '../style', 52 '../xul', 53 '/dom/base', 54 '/dom/html', 55] 56 57if CONFIG['CC_TYPE'] in ('clang', 'gcc'): 58 CXXFLAGS += ['-Wno-error=shadow'] 59