|
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 XPIDL_SOURCES += [ |
|
8 'nsIBoxObject.idl', |
|
9 'nsIBrowserBoxObject.idl', |
|
10 'nsIContainerBoxObject.idl', |
|
11 'nsIEditorBoxObject.idl', |
|
12 'nsIIFrameBoxObject.idl', |
|
13 'nsIListBoxObject.idl', |
|
14 'nsIMenuBoxObject.idl', |
|
15 'nsIPopupBoxObject.idl', |
|
16 'nsIScrollBoxObject.idl', |
|
17 'nsISliderListener.idl', |
|
18 ] |
|
19 |
|
20 XPIDL_MODULE = 'layout_xul' |
|
21 |
|
22 EXPORTS += [ |
|
23 'nsIScrollbarMediator.h', |
|
24 'nsPIBoxObject.h', |
|
25 'nsXULPopupManager.h', |
|
26 ] |
|
27 |
|
28 UNIFIED_SOURCES += [ |
|
29 'nsBox.cpp', |
|
30 'nsBoxFrame.cpp', |
|
31 'nsBoxLayout.cpp', |
|
32 'nsBoxLayoutState.cpp', |
|
33 'nsBoxObject.cpp', |
|
34 'nsButtonBoxFrame.cpp', |
|
35 'nsRepeatService.cpp', |
|
36 'nsRootBoxFrame.cpp', |
|
37 'nsScrollbarButtonFrame.cpp', |
|
38 'nsScrollbarFrame.cpp', |
|
39 'nsScrollBoxFrame.cpp', |
|
40 'nsSliderFrame.cpp', |
|
41 'nsSprocketLayout.cpp', |
|
42 'nsStackFrame.cpp', |
|
43 'nsStackLayout.cpp', |
|
44 'nsXULTooltipListener.cpp', |
|
45 ] |
|
46 |
|
47 if CONFIG['MOZ_XUL']: |
|
48 UNIFIED_SOURCES += [ |
|
49 'nsContainerBoxObject.cpp', |
|
50 'nsDeckFrame.cpp', |
|
51 'nsDocElementBoxFrame.cpp', |
|
52 'nsGroupBoxFrame.cpp', |
|
53 'nsImageBoxFrame.cpp', |
|
54 'nsLeafBoxFrame.cpp', |
|
55 'nsListBoxBodyFrame.cpp', |
|
56 'nsListBoxLayout.cpp', |
|
57 'nsListBoxObject.cpp', |
|
58 'nsListItemFrame.cpp', |
|
59 'nsMenuBarFrame.cpp', |
|
60 'nsMenuBarListener.cpp', |
|
61 'nsMenuBoxObject.cpp', |
|
62 'nsMenuFrame.cpp', |
|
63 'nsMenuPopupFrame.cpp', |
|
64 'nsPopupBoxObject.cpp', |
|
65 'nsPopupSetFrame.cpp', |
|
66 'nsProgressMeterFrame.cpp', |
|
67 'nsResizerFrame.cpp', |
|
68 'nsScrollBoxObject.cpp', |
|
69 'nsSplitterFrame.cpp', |
|
70 'nsTextBoxFrame.cpp', |
|
71 'nsTitleBarFrame.cpp', |
|
72 'nsXULLabelFrame.cpp', |
|
73 'nsXULPopupManager.cpp', |
|
74 ] |
|
75 |
|
76 if CONFIG['ENABLE_TESTS']: |
|
77 PARALLEL_DIRS += [ |
|
78 'test', |
|
79 ] |
|
80 |
|
81 if CONFIG['MOZ_XUL']: |
|
82 PARALLEL_DIRS += ['tree', 'grid'] |
|
83 |
|
84 FAIL_ON_WARNINGS = True |
|
85 |
|
86 MSVC_ENABLE_PGO = True |
|
87 |
|
88 FINAL_LIBRARY = 'gklayout' |
|
89 LOCAL_INCLUDES += [ |
|
90 '../base', |
|
91 '../generic', |
|
92 '../style', |
|
93 '/content/base/src', |
|
94 ] |
|
95 |