2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:20:02 -08: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/.
|
|
|
|
|
|
|
|
DIRS += ['shared', 'xpwidgets']
|
|
|
|
|
|
|
|
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
|
|
|
|
|
|
|
|
if toolkit in ('os2', 'cocoa', 'qt', 'android', 'gonk'):
|
|
|
|
DIRS += [toolkit]
|
|
|
|
|
|
|
|
if toolkit == 'windows':
|
|
|
|
DIRS += ['windows']
|
|
|
|
|
2013-03-12 10:20:41 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIJumpListBuilder.idl',
|
|
|
|
'nsIJumpListItem.idl',
|
|
|
|
'nsIPrintSettingsWin.idl',
|
|
|
|
'nsITaskbarPreview.idl',
|
|
|
|
'nsITaskbarTabPreview.idl',
|
|
|
|
'nsITaskbarWindowPreview.idl',
|
|
|
|
'nsITaskbarPreviewController.idl',
|
|
|
|
'nsITaskbarPreviewButton.idl',
|
|
|
|
'nsITaskbarProgress.idl',
|
|
|
|
'nsITaskbarOverlayIconController.idl',
|
|
|
|
'nsIWinTaskbar.idl',
|
|
|
|
]
|
|
|
|
elif toolkit == 'cocoa':
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIMacDockSupport.idl',
|
|
|
|
'nsIMacWebAppUtils.idl',
|
|
|
|
'nsIStandaloneNativeMenu.idl',
|
|
|
|
'nsITaskbarProgress.idl',
|
|
|
|
]
|
|
|
|
elif toolkit == 'os2':
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIRwsService.idl',
|
|
|
|
]
|
|
|
|
|
2013-02-25 13:20:02 -08:00
|
|
|
TEST_TOOL_DIRS += ['tests']
|
|
|
|
|
|
|
|
# Don't build the DSO under the 'build' directory as windows does.
|
|
|
|
#
|
|
|
|
# The DSOs get built in the toolkit dir itself. Do this so that
|
|
|
|
# multiple implementations of widget can be built on the same
|
|
|
|
# source tree.
|
|
|
|
#
|
|
|
|
if CONFIG['MOZ_ENABLE_GTK2']:
|
|
|
|
DIRS += ['gtk2']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
|
|
DIRS += ['gtkxtbin']
|
2013-03-12 10:17:46 -07:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIAppShell.idl',
|
|
|
|
'nsIBaseWindow.idl',
|
|
|
|
'nsIBidiKeyboard.idl',
|
|
|
|
'nsIClipboard.idl',
|
|
|
|
'nsIClipboardDragDropHookList.idl',
|
|
|
|
'nsIClipboardDragDropHooks.idl',
|
|
|
|
'nsIClipboardHelper.idl',
|
|
|
|
'nsIClipboardOwner.idl',
|
|
|
|
'nsIDragService.idl',
|
|
|
|
'nsIDragSession.idl',
|
|
|
|
'nsIFilePicker.idl',
|
|
|
|
'nsIFormatConverter.idl',
|
|
|
|
'nsIGfxInfo.idl',
|
|
|
|
'nsIGfxInfoDebug.idl',
|
|
|
|
'nsIIMEPicker.idl',
|
|
|
|
'nsIIdleService.idl',
|
|
|
|
'nsIIdleServiceInternal.idl',
|
|
|
|
'nsIPrintOptions.idl',
|
|
|
|
'nsIPrintSession.idl',
|
|
|
|
'nsIPrintSettings.idl',
|
|
|
|
'nsIPrintSettingsService.idl',
|
|
|
|
'nsIScreen.idl',
|
|
|
|
'nsIScreenManager.idl',
|
|
|
|
'nsISound.idl',
|
|
|
|
'nsITransferable.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 10:20:41 -07:00
|
|
|
if CONFIG['MOZ_METRO']:
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'MetroUIUtils.idl',
|
|
|
|
'nsIWinMetroUtils.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-19 11:47:00 -07:00
|
|
|
MODULE = 'widget'
|
|
|
|
|