2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:19 -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/.
|
|
|
|
|
2014-01-09 19:03:25 -08:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIEventListenerService.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'content_events'
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2014-03-16 23:56:54 -07:00
|
|
|
'AsyncEventDispatcher.h',
|
2014-03-31 23:13:50 -07:00
|
|
|
'DOMEventTargetHelper.h',
|
2014-03-17 21:48:21 -07:00
|
|
|
'EventDispatcher.h',
|
2014-03-16 23:56:53 -07:00
|
|
|
'EventListenerManager.h',
|
2014-04-01 04:42:12 -07:00
|
|
|
'EventNameList.h',
|
2014-03-31 21:09:23 -07:00
|
|
|
'EventStateManager.h',
|
2014-04-02 21:18:36 -07:00
|
|
|
'EventStates.h',
|
2014-03-07 17:20:07 -08:00
|
|
|
'IMEStateManager.h',
|
2014-02-27 02:51:15 -08:00
|
|
|
'InternalMutationEvent.h',
|
2014-04-01 19:00:45 -07:00
|
|
|
'JSEventHandler.h',
|
2014-04-01 04:42:11 -07:00
|
|
|
'KeyNameList.h',
|
2014-05-24 19:08:58 -07:00
|
|
|
'PhysicalKeyCodeNameList.h',
|
2014-04-02 21:18:37 -07:00
|
|
|
'TextComposition.h',
|
2014-04-01 04:42:16 -07:00
|
|
|
'VirtualKeyCodeList.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
2014-02-25 21:23:56 -08:00
|
|
|
'AnimationEvent.h',
|
2014-02-25 21:23:56 -08:00
|
|
|
'BeforeUnloadEvent.h',
|
2014-02-25 21:23:56 -08:00
|
|
|
'ClipboardEvent.h',
|
2014-02-25 21:23:57 -08:00
|
|
|
'CommandEvent.h',
|
2014-02-25 21:23:57 -08:00
|
|
|
'CompositionEvent.h',
|
2014-06-30 16:02:04 -07:00
|
|
|
'CustomEvent.h',
|
2014-02-25 21:23:57 -08:00
|
|
|
'DataContainerEvent.h',
|
2013-08-12 07:45:33 -07:00
|
|
|
'DataTransfer.h',
|
2014-02-27 02:51:12 -08:00
|
|
|
'DeviceMotionEvent.h',
|
2014-02-27 02:51:13 -08:00
|
|
|
'DragEvent.h',
|
2014-03-04 16:37:43 -08:00
|
|
|
'Event.h',
|
2014-01-09 19:03:25 -08:00
|
|
|
'EventTarget.h',
|
2014-02-27 02:51:13 -08:00
|
|
|
'FocusEvent.h',
|
2014-04-10 00:11:37 -07:00
|
|
|
'InputEvent.h',
|
2014-02-27 02:51:13 -08:00
|
|
|
'KeyboardEvent.h',
|
2014-02-27 02:51:14 -08:00
|
|
|
'MessageEvent.h',
|
2014-02-27 02:51:15 -08:00
|
|
|
'MouseEvent.h',
|
2014-02-27 02:51:14 -08:00
|
|
|
'MouseScrollEvent.h',
|
2014-02-27 02:51:16 -08:00
|
|
|
'MutationEvent.h',
|
2014-02-28 06:58:43 -08:00
|
|
|
'NotifyPaintEvent.h',
|
2014-04-02 21:18:37 -07:00
|
|
|
'PaintRequest.h',
|
2013-11-20 21:44:22 -08:00
|
|
|
'PointerEvent.h',
|
2014-02-28 06:58:43 -08:00
|
|
|
'ScrollAreaEvent.h',
|
2014-02-27 02:51:14 -08:00
|
|
|
'SimpleGestureEvent.h',
|
2014-05-29 06:33:00 -07:00
|
|
|
'StorageEvent.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'Touch.h',
|
2014-02-28 06:58:42 -08:00
|
|
|
'TouchEvent.h',
|
2014-02-28 06:58:42 -08:00
|
|
|
'TransitionEvent.h',
|
2014-02-28 06:58:43 -08:00
|
|
|
'UIEvent.h',
|
2014-02-25 21:23:55 -08:00
|
|
|
'WheelEvent.h',
|
2014-02-28 06:58:42 -08:00
|
|
|
'XULCommandEvent.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
2013-07-01 06:27:09 -07:00
|
|
|
if CONFIG['MOZ_WEBSPEECH']:
|
|
|
|
EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']
|
|
|
|
|
2013-11-19 04:42:45 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2014-02-25 21:23:56 -08:00
|
|
|
'AnimationEvent.cpp',
|
2014-03-16 23:56:54 -07:00
|
|
|
'AsyncEventDispatcher.cpp',
|
2014-02-25 21:23:56 -08:00
|
|
|
'BeforeUnloadEvent.cpp',
|
2014-02-25 21:23:56 -08:00
|
|
|
'ClipboardEvent.cpp',
|
2014-02-25 21:23:57 -08:00
|
|
|
'CommandEvent.cpp',
|
2014-02-25 21:23:57 -08:00
|
|
|
'CompositionEvent.cpp',
|
2014-03-10 22:08:02 -07:00
|
|
|
'ContentEventHandler.cpp',
|
2014-02-25 21:23:57 -08:00
|
|
|
'DataContainerEvent.cpp',
|
2013-08-12 07:45:33 -07:00
|
|
|
'DataTransfer.cpp',
|
2014-02-27 02:51:12 -08:00
|
|
|
'DeviceMotionEvent.cpp',
|
2014-03-31 23:13:50 -07:00
|
|
|
'DOMEventTargetHelper.cpp',
|
2014-02-27 02:51:13 -08:00
|
|
|
'DragEvent.cpp',
|
2014-03-04 16:37:43 -08:00
|
|
|
'Event.cpp',
|
2014-03-17 21:48:21 -07:00
|
|
|
'EventDispatcher.cpp',
|
2014-03-16 23:56:53 -07:00
|
|
|
'EventListenerManager.cpp',
|
2014-03-16 23:56:50 -07:00
|
|
|
'EventListenerService.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'EventTarget.cpp',
|
2014-02-27 02:51:13 -08:00
|
|
|
'FocusEvent.cpp',
|
2014-03-07 17:20:07 -08:00
|
|
|
'IMEContentObserver.cpp',
|
2014-03-07 17:20:07 -08:00
|
|
|
'IMEStateManager.cpp',
|
2014-04-10 00:11:37 -07:00
|
|
|
'InputEvent.cpp',
|
2014-04-01 19:00:45 -07:00
|
|
|
'JSEventHandler.cpp',
|
2014-02-27 02:51:13 -08:00
|
|
|
'KeyboardEvent.cpp',
|
2014-02-27 02:51:14 -08:00
|
|
|
'MessageEvent.cpp',
|
2014-02-27 02:51:15 -08:00
|
|
|
'MouseEvent.cpp',
|
2014-02-27 02:51:14 -08:00
|
|
|
'MouseScrollEvent.cpp',
|
2014-02-27 02:51:16 -08:00
|
|
|
'MutationEvent.cpp',
|
2014-03-03 18:35:51 -08:00
|
|
|
'NotifyPaintEvent.cpp',
|
2014-04-02 21:18:37 -07:00
|
|
|
'PaintRequest.cpp',
|
2013-11-20 21:44:22 -08:00
|
|
|
'PointerEvent.cpp',
|
2014-03-03 18:35:51 -08:00
|
|
|
'ScrollAreaEvent.cpp',
|
2014-02-27 02:51:14 -08:00
|
|
|
'SimpleGestureEvent.cpp',
|
2014-05-29 06:33:00 -07:00
|
|
|
'StorageEvent.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'TextComposition.cpp',
|
|
|
|
'Touch.cpp',
|
2014-02-28 06:58:42 -08:00
|
|
|
'TouchEvent.cpp',
|
2014-02-28 06:58:42 -08:00
|
|
|
'TransitionEvent.cpp',
|
2014-03-03 18:35:51 -08:00
|
|
|
'UIEvent.cpp',
|
2014-02-25 21:23:55 -08:00
|
|
|
'WheelEvent.cpp',
|
2014-03-31 21:09:22 -07:00
|
|
|
'WheelHandlingHelper.cpp',
|
2014-02-28 06:58:42 -08:00
|
|
|
'XULCommandEvent.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
2013-07-01 06:27:09 -07:00
|
|
|
|
2014-03-03 18:35:51 -08:00
|
|
|
# nsEventStateManager.cpp should be built separately because of Mac OS X headers.
|
2013-11-19 04:42:45 -08:00
|
|
|
SOURCES += [
|
2014-06-30 16:02:04 -07:00
|
|
|
'CustomEvent.cpp',
|
2014-03-31 21:09:23 -07:00
|
|
|
'EventStateManager.cpp',
|
2013-11-19 04:42:45 -08:00
|
|
|
]
|
|
|
|
|
2013-07-01 06:27:09 -07:00
|
|
|
if CONFIG['MOZ_WEBSPEECH']:
|
2013-11-19 04:42:45 -08:00
|
|
|
UNIFIED_SOURCES += ['SpeechRecognitionError.cpp']
|
2013-08-21 23:55:59 -07:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 00:04:06 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/content/base/src',
|
|
|
|
'/content/html/content/src',
|
|
|
|
'/content/xul/content/src',
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/settings',
|
2014-08-30 21:43:46 -07:00
|
|
|
'/dom/storage',
|
2014-03-21 10:46:15 -07:00
|
|
|
'/dom/workers',
|
2014-07-25 14:15:35 -07:00
|
|
|
'/dom/xml',
|
2013-12-08 07:51:16 -08:00
|
|
|
'/js/xpconnect/wrappers',
|
2013-11-11 00:04:06 -08:00
|
|
|
'/layout/generic',
|
2013-12-03 17:06:16 -08:00
|
|
|
'/layout/xul',
|
2013-11-11 00:04:06 -08:00
|
|
|
'/layout/xul/tree/',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/wifi',
|
|
|
|
]
|