2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsPIWidgetCocoa.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'widget_cocoa'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'mozView.h',
|
|
|
|
'nsChangeObserver.h',
|
|
|
|
'nsCocoaFeatures.h',
|
|
|
|
'nsCocoaUtils.h',
|
|
|
|
]
|
|
|
|
|
2013-06-17 23:21:01 +04:00
|
|
|
LIBRARY_NAME = 'widget_mac'
|
|
|
|
|
2013-11-17 11:27:11 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-06 10:40:41 +04:00
|
|
|
'GfxInfo.mm',
|
|
|
|
'NativeKeyBindings.mm',
|
|
|
|
'nsAppShell.mm',
|
|
|
|
'nsBidiKeyboard.mm',
|
|
|
|
'nsCocoaFeatures.mm',
|
|
|
|
'nsCocoaUtils.mm',
|
|
|
|
'nsCocoaWindow.mm',
|
|
|
|
'nsColorPicker.mm',
|
|
|
|
'nsCursorManager.mm',
|
|
|
|
'nsDeviceContextSpecX.mm',
|
|
|
|
'nsFilePicker.mm',
|
|
|
|
'nsIdleServiceX.mm',
|
|
|
|
'nsLookAndFeel.mm',
|
|
|
|
'nsMacCursor.mm',
|
|
|
|
'nsMacDockSupport.mm',
|
|
|
|
'nsMacWebAppUtils.mm',
|
|
|
|
'nsMenuBarX.mm',
|
|
|
|
'nsMenuGroupOwnerX.mm',
|
|
|
|
'nsMenuItemIconX.mm',
|
|
|
|
'nsMenuItemX.mm',
|
|
|
|
'nsMenuUtilsX.mm',
|
|
|
|
'nsMenuX.mm',
|
|
|
|
'nsNativeThemeCocoa.mm',
|
|
|
|
'nsPrintDialogX.mm',
|
|
|
|
'nsPrintOptionsX.mm',
|
|
|
|
'nsPrintSettingsX.mm',
|
|
|
|
'nsScreenCocoa.mm',
|
|
|
|
'nsScreenManagerCocoa.mm',
|
|
|
|
'nsSound.mm',
|
|
|
|
'nsStandaloneNativeMenu.mm',
|
|
|
|
'nsToolkit.mm',
|
|
|
|
'nsWidgetFactory.mm',
|
|
|
|
'nsWindowMap.mm',
|
2013-10-24 03:05:43 +04:00
|
|
|
'WidgetTraceEvent.mm',
|
2013-09-06 10:40:41 +04:00
|
|
|
]
|
|
|
|
|
2013-11-23 20:21:33 +04:00
|
|
|
# These files cannot be built in unified mode because they force NSPR logging.
|
|
|
|
SOURCES += [
|
|
|
|
'nsChildView.mm',
|
|
|
|
'nsClipboard.mm',
|
|
|
|
'nsDragService.mm',
|
|
|
|
'TextInputHandler.mm',
|
|
|
|
]
|
|
|
|
|
2013-09-06 10:40:41 +04:00
|
|
|
if CONFIG['TARGET_CPU'] == 'x86_64':
|
2013-11-17 11:27:11 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-06 10:40:41 +04:00
|
|
|
'ComplexTextInputPanel.mm',
|
|
|
|
]
|
2013-10-03 11:11:13 +04:00
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|