mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fec6b7ef57
--HG-- rename : dom/events/nsDOMMouseScrollEvent.cpp => dom/events/MouseScrollEvent.cpp rename : dom/events/nsDOMMouseScrollEvent.h => dom/events/MouseScrollEvent.h
151 lines
4.0 KiB
Python
151 lines
4.0 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/.
|
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIEventListenerService.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'content_events'
|
|
|
|
EXPORTS += [
|
|
'nsAsyncDOMEvent.h',
|
|
'nsDOMEvent.h',
|
|
'nsDOMEventTargetHelper.h',
|
|
'nsDOMKeyNameList.h',
|
|
'nsDOMTouchEvent.h',
|
|
'nsDOMUIEvent.h',
|
|
'nsEventDispatcher.h',
|
|
'nsEventListenerManager.h',
|
|
'nsEventNameList.h',
|
|
'nsEventStateManager.h',
|
|
'nsEventStates.h',
|
|
'nsIJSEventListener.h',
|
|
'nsIPrivateTextEvent.h',
|
|
'nsIPrivateTextRange.h',
|
|
'nsVKList.h',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'MutationEvent.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'AnimationEvent.h',
|
|
'BeforeUnloadEvent.h',
|
|
'ClipboardEvent.h',
|
|
'CommandEvent.h',
|
|
'CompositionEvent.h',
|
|
'DataContainerEvent.h',
|
|
'DataTransfer.h',
|
|
'DeviceMotionEvent.h',
|
|
'DragEvent.h',
|
|
'EventTarget.h',
|
|
'FocusEvent.h',
|
|
'KeyboardEvent.h',
|
|
'MessageEvent.h',
|
|
'MouseScrollEvent.h',
|
|
'PointerEvent.h',
|
|
'Touch.h',
|
|
'WheelEvent.h',
|
|
]
|
|
|
|
if CONFIG['MOZ_WEBSPEECH']:
|
|
EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']
|
|
|
|
UNIFIED_SOURCES += [
|
|
'AnimationEvent.cpp',
|
|
'BeforeUnloadEvent.cpp',
|
|
'ClipboardEvent.cpp',
|
|
'CommandEvent.cpp',
|
|
'CompositionEvent.cpp',
|
|
'DataContainerEvent.cpp',
|
|
'DataTransfer.cpp',
|
|
'DeviceMotionEvent.cpp',
|
|
'DragEvent.cpp',
|
|
'EventTarget.cpp',
|
|
'FocusEvent.cpp',
|
|
'KeyboardEvent.cpp',
|
|
'MessageEvent.cpp',
|
|
'MouseScrollEvent.cpp',
|
|
'nsAsyncDOMEvent.cpp',
|
|
'nsContentEventHandler.cpp',
|
|
'nsDOMEventTargetHelper.cpp',
|
|
'nsDOMMouseEvent.cpp',
|
|
'nsDOMMutationEvent.cpp',
|
|
'nsDOMNotifyAudioAvailableEvent.cpp',
|
|
'nsDOMSimpleGestureEvent.cpp',
|
|
'nsDOMTextEvent.cpp',
|
|
'nsDOMTouchEvent.cpp',
|
|
'nsDOMTransitionEvent.cpp',
|
|
'nsDOMXULCommandEvent.cpp',
|
|
'nsEventDispatcher.cpp',
|
|
'nsEventListenerService.cpp',
|
|
'nsIMEStateManager.cpp',
|
|
'nsJSEventListener.cpp',
|
|
'nsPaintRequest.cpp',
|
|
'nsPrivateTextRange.cpp',
|
|
'PointerEvent.cpp',
|
|
'TextComposition.cpp',
|
|
'Touch.cpp',
|
|
'WheelEvent.cpp',
|
|
]
|
|
|
|
SOURCES += [
|
|
# nsDOMEvent.cpp should be built separately because it includes
|
|
# ipc/IPCMessageUtils.h, which on Windows includes windows.h.
|
|
'nsDOMEvent.cpp',
|
|
# nsDOMEvent.cpp should be built separately because it includes
|
|
# ipc/IPCMessageUtils.h, which on Windows includes windows.h.
|
|
'nsDOMNotifyPaintEvent.cpp',
|
|
# nsDOMEvent.cpp should be built separately because it includes
|
|
# ipc/IPCMessageUtils.h, which on Windows includes windows.h.
|
|
'nsDOMScrollAreaEvent.cpp',
|
|
# nsDOMEvent.cpp should be built separately because it includes
|
|
# ipc/IPCMessageUtils.h, which on Windows includes windows.h.
|
|
'nsDOMUIEvent.cpp',
|
|
# nsDOMEvent.cpp should be built separately because it includes
|
|
# mozilla/HalSensor.h, which includes ipc/IPCMessageUtils.h, which
|
|
# on Windows includes windows.h.
|
|
'nsEventListenerManager.cpp',
|
|
# nsEventStateManager.cpp should be built separately because of Mac OS X headers.
|
|
'nsEventStateManager.cpp',
|
|
]
|
|
|
|
if CONFIG['MOZ_WEBSPEECH']:
|
|
UNIFIED_SOURCES += ['SpeechRecognitionError.cpp']
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'gklayout'
|
|
LOCAL_INCLUDES += [
|
|
'/content/base/src',
|
|
'/content/html/content/src',
|
|
'/content/xml/content/src',
|
|
'/content/xul/content/src',
|
|
'/dom/base',
|
|
'/dom/settings',
|
|
'/dom/src/storage',
|
|
'/js/xpconnect/wrappers',
|
|
'/layout/generic',
|
|
'/layout/xul',
|
|
'/layout/xul/tree/',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
LOCAL_INCLUDES += [
|
|
'/dom/wifi',
|
|
]
|
|
|
|
if CONFIG['MOZ_JSDEBUGGER']:
|
|
DEFINES['MOZ_JSDEBUGGER'] = True
|