DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5b81998bb7ab)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
#
# 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/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

MODULE = widget
XPIDL_MODULE	= widget
GRE_MODULE	= 1

include $(DEPTH)/config/autoconf.mk

DIRS = shared xpwidgets

ifneq (,$(filter os2 cocoa qt android gonk,$(MOZ_WIDGET_TOOLKIT)))
DIRS += $(MOZ_WIDGET_TOOLKIT)
endif

ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
DIRS += windows
endif

ifdef ENABLE_TESTS
TOOL_DIRS += tests
endif

#
# 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.
#
ifdef MOZ_ENABLE_GTK2
DIRS += gtk2
ifdef MOZ_X11
DIRS += gtkxtbin
endif
endif


EXPORTS_NAMESPACES = IPC mozilla

EXPORTS_IPC = \
		nsGUIEventIPC.h \
		$(NULL)

EXPORTS_mozilla = \
		LookAndFeel.h \
		WidgetUtils.h \
		$(NULL)

ifdef MOZ_INSTRUMENT_EVENT_LOOP
EXPORTS_mozilla += \
		WidgetTraceEvent.h \
		$(NULL)
endif

EXPORTS		= \
		InputData.h \
		nsIWidget.h \
		nsGUIEvent.h \
		nsEvent.h \
		nsNativeWidget.h \
		nsWidgetInitData.h \
		nsWidgetsCID.h \
		nsIPluginWidget.h \
		nsINativeKeyBindings.h \
		nsIDeviceContextSpec.h \
		nsIRollupListener.h \
		nsIWidgetListener.h \
		$(NULL)

ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
EXPORTS		+= \
		nsINativeMenuService.h \
		nsIPrintDialogService.h \
		$(NULL)
endif

ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
EXPORTS		+= nsIDragSessionOS2.h
endif

ifneq (,$(filter android gonk,$(MOZ_WIDGET_TOOLKIT)))
EXPORTS		+= \
		nsIPrintDialogService.h \
		$(NULL)
endif

ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
EXPORTS		+= \
		nsIPrintDialogService.h \
		$(NULL)
endif

XPIDLSRCS	= \
		nsIAppShell.idl \
		nsIFilePicker.idl \
		nsISound.idl \
		nsITransferable.idl \
		nsIClipboardDragDropHooks.idl \
		nsIClipboardDragDropHookList.idl \
		nsIDragSession.idl \
		nsIDragService.idl \
		nsIFormatConverter.idl \
		nsIClipboard.idl \
		nsIClipboardHelper.idl \
		nsIClipboardOwner.idl \
		nsIBaseWindow.idl \
		nsIBidiKeyboard.idl \
		nsIScreen.idl \
		nsIScreenManager.idl \
		nsIPrintSession.idl \
		nsIPrintSettings.idl \
		nsIPrintSettingsService.idl \
		nsIPrintOptions.idl \
		nsIIdleService.idl \
		nsIIdleServiceInternal.idl \
		nsIGfxInfo.idl \
                nsIGfxInfoDebug.idl \
		nsIIMEPicker.idl \
		$(NULL)

ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
XPIDLSRCS	+= nsIPrintSettingsWin.idl \
		nsIWinTaskbar.idl	\
		nsITaskbarPreview.idl	\
		nsITaskbarTabPreview.idl \
		nsITaskbarWindowPreview.idl \
		nsITaskbarPreviewController.idl \
		nsITaskbarPreviewButton.idl \
		nsITaskbarProgress.idl \
		nsITaskbarPreviewButton.idl \
		nsITaskbarOverlayIconController.idl \
		nsIJumpListBuilder.idl \
		nsIJumpListItem.idl \
		$(NULL)
endif

ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
XPIDLSRCS +=	nsIMacDockSupport.idl \
		nsIStandaloneNativeMenu.idl \
		nsIMacWebAppUtils.idl \
		$(NULL)
endif

ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
XPIDLSRCS	+= nsIRwsService.idl
endif

EXPORTS		:= $(addprefix $(srcdir)/, $(EXPORTS))

include $(topsrcdir)/config/rules.mk