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 DIRS += ['shared', 'xpwidgets']
9 toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
11 if toolkit in ('cocoa', 'qt', 'android', 'gonk'):
13 if toolkit in ('qt', 'android', 'gonk', 'gtk2', 'gtk3'):
14 EXPORTS += ['nsIPrintDialogService.h']
16 if toolkit == 'windows':
20 'nsIJumpListBuilder.idl',
21 'nsIJumpListItem.idl',
22 'nsIPrintSettingsWin.idl',
23 'nsITaskbarOverlayIconController.idl',
24 'nsITaskbarPreview.idl',
25 'nsITaskbarPreviewButton.idl',
26 'nsITaskbarPreviewController.idl',
27 'nsITaskbarProgress.idl',
28 'nsITaskbarTabPreview.idl',
29 'nsITaskbarWindowPreview.idl',
32 elif toolkit == 'cocoa':
34 'nsIMacDockSupport.idl',
35 'nsIMacWebAppUtils.idl',
36 'nsIStandaloneNativeMenu.idl',
37 'nsISystemStatusBar.idl',
38 'nsITaskbarProgress.idl',
41 'nsINativeMenuService.h',
42 'nsIPrintDialogService.h',
45 TEST_DIRS += ['tests']
47 # Don't build the DSO under the 'build' directory as windows does.
49 # The DSOs get built in the toolkit dir itself. Do this so that
50 # multiple implementations of widget can be built on the same
53 if CONFIG['MOZ_ENABLE_GTK']:
62 'nsIBidiKeyboard.idl',
64 'nsIClipboardDragDropHookList.idl',
65 'nsIClipboardDragDropHooks.idl',
66 'nsIClipboardHelper.idl',
67 'nsIClipboardOwner.idl',
72 'nsIFormatConverter.idl',
74 'nsIGfxInfoDebug.idl',
76 'nsIIdleServiceInternal.idl',
78 'nsIPrintOptions.idl',
79 'nsIPrintSession.idl',
80 'nsIPrintSettings.idl',
81 'nsIPrintSettingsService.idl',
83 'nsIScreenManager.idl',
85 'nsITransferable.idl',
88 if CONFIG['MOZ_METRO']:
91 'nsIWinMetroUtils.idl',
94 XPIDL_MODULE = 'widget'
98 'nsIDeviceContextSpec.h',
100 'nsIRollupListener.h',
102 'nsIWidgetListener.h',
103 'nsWidgetInitData.h',
122 if CONFIG['MOZ_INSTRUMENT_EVENT_LOOP']:
124 'WidgetTraceEvent.h',
127 EXPORTS.ipc = ['nsGUIEventIPC.h']