mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
e7e7d59c58
--HG-- rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
102 lines
2.6 KiB
Python
102 lines
2.6 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
EXPORTS += [
|
|
'ContentHelper.h',
|
|
'GfxDriverInfo.h',
|
|
'GfxInfoBase.h',
|
|
'GfxInfoCollector.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'ContentHelper.cpp',
|
|
'GfxDriverInfo.cpp',
|
|
'GfxInfoBase.cpp',
|
|
'GfxInfoCollector.cpp',
|
|
'GfxInfoWebGL.cpp',
|
|
'InputData.cpp',
|
|
'nsBaseAppShell.cpp',
|
|
'nsBaseDragService.cpp',
|
|
'nsBaseScreen.cpp',
|
|
'nsClipboardHelper.cpp',
|
|
'nsClipboardPrivacyHandler.cpp',
|
|
'nsClipboardProxy.cpp',
|
|
'nsColorPickerProxy.cpp',
|
|
'nsContentProcessWidgetFactory.cpp',
|
|
'nsFilePickerProxy.cpp',
|
|
'nsHTMLFormatConverter.cpp',
|
|
'nsIdleService.cpp',
|
|
'nsIWidgetListener.cpp',
|
|
'nsPrimitiveHelpers.cpp',
|
|
'nsPrintOptionsImpl.cpp',
|
|
'nsPrintSession.cpp',
|
|
'nsPrintSettingsImpl.cpp',
|
|
'nsTransferable.cpp',
|
|
'nsXPLookAndFeel.cpp',
|
|
'PuppetWidget.cpp',
|
|
'WidgetUtils.cpp',
|
|
]
|
|
|
|
# nsBaseWidget.cpp needs to be built separately because of name clashes in the OS X headers
|
|
SOURCES += [
|
|
'nsBaseWidget.cpp',
|
|
]
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
UNIFIED_SOURCES += [
|
|
'GfxInfoX11.cpp'
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'windows'):
|
|
UNIFIED_SOURCES += [
|
|
'nsBaseClipboard.cpp',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3', 'cocoa', 'windows',
|
|
'android', 'gonk'):
|
|
UNIFIED_SOURCES += [
|
|
'nsBaseFilePicker.cpp',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3', 'windows', 'cocoa'):
|
|
UNIFIED_SOURCES += [
|
|
'nsNativeTheme.cpp',
|
|
]
|
|
|
|
if not CONFIG['MOZ_B2G']:
|
|
DEFINES['MOZ_CROSS_PROCESS_IME'] = True
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
LIBRARY_NAME = 'xpwidgets_s'
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
LOCAL_INCLUDES += [
|
|
'../shared',
|
|
'/layout/base',
|
|
'/layout/forms',
|
|
'/layout/generic',
|
|
'/layout/xul',
|
|
'/view/src',
|
|
]
|
|
|
|
widget_dir = CONFIG['MOZ_WIDGET_TOOLKIT']
|
|
if widget_dir in ('gtk3', 'gtk2'):
|
|
# gtk3 shares includes with gtk2
|
|
widget_dir = 'gtk'
|
|
|
|
LOCAL_INCLUDES += [
|
|
'../%s' % widget_dir,
|
|
]
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
FINAL_LIBRARY = 'widget_mac'
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gonk', 'android', 'qt', 'gtk2', 'gtk3'):
|
|
FINAL_LIBRARY = 'widget_%s' % CONFIG['MOZ_WIDGET_TOOLKIT']
|
|
|
|
if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
|
DEFINES['MOZ_ENABLE_D3D10_LAYER'] = True
|