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 ('os2', '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 'nsITaskbarProgress.idl',
40 'nsINativeMenuService.h',
41 'nsIPrintDialogService.h',
43 elif toolkit == 'os2':
47 EXPORTS += ['nsIDragSessionOS2.h']
49 TEST_TOOL_DIRS += ['tests']
51 # Don't build the DSO under the 'build' directory as windows does.
53 # The DSOs get built in the toolkit dir itself. Do this so that
54 # multiple implementations of widget can be built on the same
57 if CONFIG['MOZ_ENABLE_GTK']:
66 'nsIBidiKeyboard.idl',
68 'nsIClipboardDragDropHookList.idl',
69 'nsIClipboardDragDropHooks.idl',
70 'nsIClipboardHelper.idl',
71 'nsIClipboardOwner.idl',
76 'nsIFormatConverter.idl',
78 'nsIGfxInfoDebug.idl',
81 'nsIIdleServiceInternal.idl',
82 'nsIPrintOptions.idl',
83 'nsIPrintSession.idl',
84 'nsIPrintSettings.idl',
85 'nsIPrintSettingsService.idl',
87 'nsIScreenManager.idl',
89 'nsITransferable.idl',
92 if CONFIG['MOZ_METRO']:
95 'nsIWinMetroUtils.idl',
104 'nsIDeviceContextSpec.h',
105 'nsINativeKeyBindings.h',
107 'nsIRollupListener.h',
109 'nsIWidgetListener.h',
111 'nsWidgetInitData.h',
120 if CONFIG['MOZ_INSTRUMENT_EVENT_LOOP']:
122 'WidgetTraceEvent.h',
125 EXPORTS.ipc = ['nsGUIEventIPC.h']