1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,95 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +XPIDL_SOURCES += [ 1.11 + 'nsIBoxObject.idl', 1.12 + 'nsIBrowserBoxObject.idl', 1.13 + 'nsIContainerBoxObject.idl', 1.14 + 'nsIEditorBoxObject.idl', 1.15 + 'nsIIFrameBoxObject.idl', 1.16 + 'nsIListBoxObject.idl', 1.17 + 'nsIMenuBoxObject.idl', 1.18 + 'nsIPopupBoxObject.idl', 1.19 + 'nsIScrollBoxObject.idl', 1.20 + 'nsISliderListener.idl', 1.21 +] 1.22 + 1.23 +XPIDL_MODULE = 'layout_xul' 1.24 + 1.25 +EXPORTS += [ 1.26 + 'nsIScrollbarMediator.h', 1.27 + 'nsPIBoxObject.h', 1.28 + 'nsXULPopupManager.h', 1.29 +] 1.30 + 1.31 +UNIFIED_SOURCES += [ 1.32 + 'nsBox.cpp', 1.33 + 'nsBoxFrame.cpp', 1.34 + 'nsBoxLayout.cpp', 1.35 + 'nsBoxLayoutState.cpp', 1.36 + 'nsBoxObject.cpp', 1.37 + 'nsButtonBoxFrame.cpp', 1.38 + 'nsRepeatService.cpp', 1.39 + 'nsRootBoxFrame.cpp', 1.40 + 'nsScrollbarButtonFrame.cpp', 1.41 + 'nsScrollbarFrame.cpp', 1.42 + 'nsScrollBoxFrame.cpp', 1.43 + 'nsSliderFrame.cpp', 1.44 + 'nsSprocketLayout.cpp', 1.45 + 'nsStackFrame.cpp', 1.46 + 'nsStackLayout.cpp', 1.47 + 'nsXULTooltipListener.cpp', 1.48 +] 1.49 + 1.50 +if CONFIG['MOZ_XUL']: 1.51 + UNIFIED_SOURCES += [ 1.52 + 'nsContainerBoxObject.cpp', 1.53 + 'nsDeckFrame.cpp', 1.54 + 'nsDocElementBoxFrame.cpp', 1.55 + 'nsGroupBoxFrame.cpp', 1.56 + 'nsImageBoxFrame.cpp', 1.57 + 'nsLeafBoxFrame.cpp', 1.58 + 'nsListBoxBodyFrame.cpp', 1.59 + 'nsListBoxLayout.cpp', 1.60 + 'nsListBoxObject.cpp', 1.61 + 'nsListItemFrame.cpp', 1.62 + 'nsMenuBarFrame.cpp', 1.63 + 'nsMenuBarListener.cpp', 1.64 + 'nsMenuBoxObject.cpp', 1.65 + 'nsMenuFrame.cpp', 1.66 + 'nsMenuPopupFrame.cpp', 1.67 + 'nsPopupBoxObject.cpp', 1.68 + 'nsPopupSetFrame.cpp', 1.69 + 'nsProgressMeterFrame.cpp', 1.70 + 'nsResizerFrame.cpp', 1.71 + 'nsScrollBoxObject.cpp', 1.72 + 'nsSplitterFrame.cpp', 1.73 + 'nsTextBoxFrame.cpp', 1.74 + 'nsTitleBarFrame.cpp', 1.75 + 'nsXULLabelFrame.cpp', 1.76 + 'nsXULPopupManager.cpp', 1.77 + ] 1.78 + 1.79 +if CONFIG['ENABLE_TESTS']: 1.80 + PARALLEL_DIRS += [ 1.81 + 'test', 1.82 + ] 1.83 + 1.84 +if CONFIG['MOZ_XUL']: 1.85 + PARALLEL_DIRS += ['tree', 'grid'] 1.86 + 1.87 +FAIL_ON_WARNINGS = True 1.88 + 1.89 +MSVC_ENABLE_PGO = True 1.90 + 1.91 +FINAL_LIBRARY = 'gklayout' 1.92 +LOCAL_INCLUDES += [ 1.93 + '../base', 1.94 + '../generic', 1.95 + '../style', 1.96 + '/content/base/src', 1.97 +] 1.98 +