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    'nsColorControlFrame.cpp',
24    'nsComboboxControlFrame.cpp',
25    'nsDateTimeControlFrame.cpp',
26    'nsFieldSetFrame.cpp',
27    'nsFileControlFrame.cpp',
28    'nsFormControlFrame.cpp',
29    'nsGfxButtonControlFrame.cpp',
30    'nsGfxCheckboxControlFrame.cpp',
31    'nsGfxRadioControlFrame.cpp',
32    'nsHTMLButtonControlFrame.cpp',
33    'nsImageControlFrame.cpp',
34    'nsLegendFrame.cpp',
35    'nsListControlFrame.cpp',
36    'nsMeterFrame.cpp',
37    'nsNumberControlFrame.cpp',
38    'nsProgressFrame.cpp',
39    'nsRangeFrame.cpp',
40    'nsSelectsAreaFrame.cpp',
41    'nsTextControlFrame.cpp',
42]
43
44FINAL_LIBRARY = 'xul'
45
46LOCAL_INCLUDES += [
47    '../../editor/txmgr',
48    '../base',
49    '../generic',
50    '../style',
51    '../xul',
52    '/dom/base',
53    '/dom/html',
54]
55
56if CONFIG['GNU_CXX']:
57    CXXFLAGS += ['-Wno-error=shadow']
58