|
1 # -*- Mode: python; c-basic-offset: 4; 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 TEST_DIRS += ['test'] |
|
8 |
|
9 EXPORTS += [ |
|
10 'nsIComboboxControlFrame.h', |
|
11 'nsIFormControlFrame.h', |
|
12 'nsIListControlFrame.h', |
|
13 'nsISelectControlFrame.h', |
|
14 'nsITextControlFrame.h', |
|
15 ] |
|
16 |
|
17 UNIFIED_SOURCES += [ |
|
18 'nsButtonFrameRenderer.cpp', |
|
19 'nsColorControlFrame.cpp', |
|
20 'nsComboboxControlFrame.cpp', |
|
21 'nsFieldSetFrame.cpp', |
|
22 'nsFileControlFrame.cpp', |
|
23 'nsFormControlFrame.cpp', |
|
24 'nsGfxButtonControlFrame.cpp', |
|
25 'nsGfxCheckboxControlFrame.cpp', |
|
26 'nsGfxRadioControlFrame.cpp', |
|
27 'nsHTMLButtonControlFrame.cpp', |
|
28 'nsImageControlFrame.cpp', |
|
29 'nsLegendFrame.cpp', |
|
30 'nsListControlFrame.cpp', |
|
31 'nsMeterFrame.cpp', |
|
32 'nsNumberControlFrame.cpp', |
|
33 'nsProgressFrame.cpp', |
|
34 'nsRangeFrame.cpp', |
|
35 'nsSelectsAreaFrame.cpp', |
|
36 'nsTextControlFrame.cpp', |
|
37 ] |
|
38 |
|
39 FAIL_ON_WARNINGS = True |
|
40 |
|
41 MSVC_ENABLE_PGO = True |
|
42 |
|
43 FINAL_LIBRARY = 'gklayout' |
|
44 |
|
45 LOCAL_INCLUDES += [ |
|
46 '../../content/base/src', |
|
47 '../../content/html/content/src', |
|
48 '../../editor/libeditor/base', |
|
49 '../../editor/libeditor/text', |
|
50 '../../editor/txmgr/src', |
|
51 '../base', |
|
52 '../generic', |
|
53 '../xul', |
|
54 ] |
|
55 |
|
56 if CONFIG['ENABLE_INTL_API']: |
|
57 # nsNumberControlFrame.cpp requires ICUUtils.h which in turn requires |
|
58 # i18n/unum.h |
|
59 LOCAL_INCLUDES += [ |
|
60 '../../intl/icu/source/common', |
|
61 '../../intl/icu/source/i18n', |
|
62 ] |
|
63 |