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/.
|
|
|
|
|
2013-03-19 11:47:00 -07:00
|
|
|
MODULE = 'widget'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'GfxInfoCollector.h',
|
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'GfxDriverInfo.cpp',
|
|
|
|
'GfxInfoBase.cpp',
|
|
|
|
'GfxInfoWebGL.cpp',
|
|
|
|
'InputData.cpp',
|
|
|
|
'PuppetWidget.cpp',
|
|
|
|
'WidgetUtils.cpp',
|
|
|
|
'nsBaseAppShell.cpp',
|
|
|
|
'nsBaseDragService.cpp',
|
|
|
|
'nsBaseScreen.cpp',
|
|
|
|
'nsBaseWidget.cpp',
|
|
|
|
'nsClipboardHelper.cpp',
|
|
|
|
'nsClipboardPrivacyHandler.cpp',
|
|
|
|
'nsFilePickerProxy.cpp',
|
|
|
|
'nsHTMLFormatConverter.cpp',
|
|
|
|
'nsIdleService.cpp',
|
|
|
|
'nsPrimitiveHelpers.cpp',
|
|
|
|
'nsPrintOptionsImpl.cpp',
|
|
|
|
'nsPrintSession.cpp',
|
|
|
|
'nsPrintSettingsImpl.cpp',
|
|
|
|
'nsTransferable.cpp',
|
|
|
|
'nsXPLookAndFeel.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'GfxInfoX11.cpp'
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('os2', 'cocoa', 'windows'):
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsBaseClipboard.cpp',
|
|
|
|
]
|
|
|
|
|
2013-06-10 05:36:26 -07:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3', 'os2', 'cocoa', 'windows',
|
2013-04-23 14:54:15 -07:00
|
|
|
'android', 'gonk'):
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsBaseFilePicker.cpp',
|
|
|
|
]
|
|
|
|
|
2013-06-10 05:36:26 -07:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3', 'windows', 'cocoa'):
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'nsNativeTheme.cpp',
|
|
|
|
]
|