2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:20:02 +00: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 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsPIWidgetCocoa.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'widget_cocoa'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'mozView.h',
|
|
|
|
'nsChangeObserver.h',
|
|
|
|
'nsCocoaFeatures.h',
|
|
|
|
'nsCocoaUtils.h',
|
|
|
|
]
|
|
|
|
|
2013-06-17 19:21:01 +00:00
|
|
|
LIBRARY_NAME = 'widget_mac'
|
|
|
|
|
2013-11-17 07:27:11 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-06 06:40:41 +00: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-12-05 23:05:10 +00:00
|
|
|
'OSXNotificationCenter.mm',
|
2013-10-23 23:05:43 +00:00
|
|
|
'WidgetTraceEvent.mm',
|
2013-09-06 06:40:41 +00:00
|
|
|
]
|
|
|
|
|
2013-11-23 16:21:33 +00: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 06:40:41 +00:00
|
|
|
if CONFIG['TARGET_CPU'] == 'x86_64':
|
2013-11-17 07:27:11 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-06 06:40:41 +00:00
|
|
|
'ComplexTextInputPanel.mm',
|
|
|
|
]
|
2013-10-03 07:11:13 +00:00
|
|
|
|
2014-01-23 14:31:12 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 14:17:25 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../shared',
|
|
|
|
'../xpwidgets',
|
|
|
|
'/layout/forms',
|
|
|
|
'/layout/generic',
|
2013-12-04 01:06:16 +00:00
|
|
|
'/layout/xul',
|
2013-11-28 14:17:25 +00:00
|
|
|
]
|
|
|
|
|