Bug 951732 - Keep TextureClient until Transaction complete. r=nical
[gecko.git] / widget / cocoa / moz.build
blob2d089adaedd62a5f3117c358f54f107eece39b5b
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/.
7 XPIDL_SOURCES += [
8     'nsPIWidgetCocoa.idl',
11 XPIDL_MODULE = 'widget_cocoa'
13 EXPORTS += [
14     'mozView.h',
15     'nsChangeObserver.h',
16     'nsCocoaFeatures.h',
17     'nsCocoaUtils.h',
20 LIBRARY_NAME = 'widget_mac'
22 UNIFIED_SOURCES += [
23     'GfxInfo.mm',
24     'NativeKeyBindings.mm',
25     'nsAppShell.mm',
26     'nsBidiKeyboard.mm',
27     'nsCocoaFeatures.mm',
28     'nsCocoaUtils.mm',
29     'nsCocoaWindow.mm',
30     'nsColorPicker.mm',
31     'nsCursorManager.mm',
32     'nsDeviceContextSpecX.mm',
33     'nsFilePicker.mm',
34     'nsIdleServiceX.mm',
35     'nsLookAndFeel.mm',
36     'nsMacCursor.mm',
37     'nsMacDockSupport.mm',
38     'nsMacWebAppUtils.mm',
39     'nsMenuBarX.mm',
40     'nsMenuGroupOwnerX.mm',
41     'nsMenuItemIconX.mm',
42     'nsMenuItemX.mm',
43     'nsMenuUtilsX.mm',
44     'nsMenuX.mm',
45     'nsNativeThemeCocoa.mm',
46     'nsPrintDialogX.mm',
47     'nsPrintOptionsX.mm',
48     'nsPrintSettingsX.mm',
49     'nsScreenCocoa.mm',
50     'nsScreenManagerCocoa.mm',
51     'nsSound.mm',
52     'nsStandaloneNativeMenu.mm',
53     'nsToolkit.mm',
54     'nsWidgetFactory.mm',
55     'nsWindowMap.mm',
56     'OSXNotificationCenter.mm',
57     'WidgetTraceEvent.mm',
60 # These files cannot be built in unified mode because they force NSPR logging.
61 SOURCES += [
62     'nsChildView.mm',
63     'nsClipboard.mm',
64     'nsDragService.mm',
65     'TextInputHandler.mm',
68 if CONFIG['TARGET_CPU'] == 'x86_64':
69     UNIFIED_SOURCES += [
70         'ComplexTextInputPanel.mm',
71     ]
73 include('/ipc/chromium/chromium-config.mozbuild')
75 FINAL_LIBRARY = 'xul'
76 LOCAL_INCLUDES += [
77     '../shared',
78     '../xpwidgets',
79     '/layout/forms',
80     '/layout/generic',
81     '/layout/xul',