2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:19 +00: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-10 03:03:25 +00:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIEventListenerService.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'content_events'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
2014-01-10 03:03:25 +00:00
|
|
|
'nsAsyncDOMEvent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'nsDOMEvent.h',
|
|
|
|
'nsDOMEventTargetHelper.h',
|
2014-01-10 03:03:25 +00:00
|
|
|
'nsDOMKeyNameList.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'nsDOMTouchEvent.h',
|
|
|
|
'nsDOMUIEvent.h',
|
2014-01-10 03:03:25 +00:00
|
|
|
'nsEventDispatcher.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'nsEventListenerManager.h',
|
2014-01-10 03:03:25 +00:00
|
|
|
'nsEventNameList.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'nsEventStateManager.h',
|
2014-01-10 03:03:25 +00:00
|
|
|
'nsEventStates.h',
|
|
|
|
'nsIJSEventListener.h',
|
|
|
|
'nsIPrivateTextEvent.h',
|
|
|
|
'nsIPrivateTextRange.h',
|
|
|
|
'nsVKList.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'MutationEvent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
2014-02-26 05:23:56 +00:00
|
|
|
'AnimationEvent.h',
|
2014-02-26 05:23:56 +00:00
|
|
|
'BeforeUnloadEvent.h',
|
2014-02-26 05:23:56 +00:00
|
|
|
'ClipboardEvent.h',
|
2014-02-26 05:23:57 +00:00
|
|
|
'CommandEvent.h',
|
2014-02-26 05:23:57 +00:00
|
|
|
'CompositionEvent.h',
|
2014-02-26 05:23:57 +00:00
|
|
|
'DataContainerEvent.h',
|
2013-08-12 14:45:33 +00:00
|
|
|
'DataTransfer.h',
|
2014-01-10 03:03:25 +00:00
|
|
|
'EventTarget.h',
|
2013-11-21 05:44:22 +00:00
|
|
|
'PointerEvent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'Touch.h',
|
2014-02-26 05:23:55 +00:00
|
|
|
'WheelEvent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-07-01 13:27:09 +00:00
|
|
|
if CONFIG['MOZ_WEBSPEECH']:
|
|
|
|
EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']
|
|
|
|
|
2013-11-19 12:42:45 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2014-02-26 05:23:56 +00:00
|
|
|
'AnimationEvent.cpp',
|
2014-02-26 05:23:56 +00:00
|
|
|
'BeforeUnloadEvent.cpp',
|
2014-02-26 05:23:56 +00:00
|
|
|
'ClipboardEvent.cpp',
|
2014-02-26 05:23:57 +00:00
|
|
|
'CommandEvent.cpp',
|
2014-02-26 05:23:57 +00:00
|
|
|
'CompositionEvent.cpp',
|
2014-02-26 05:23:57 +00:00
|
|
|
'DataContainerEvent.cpp',
|
2013-08-12 14:45:33 +00:00
|
|
|
'DataTransfer.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'EventTarget.cpp',
|
|
|
|
'nsAsyncDOMEvent.cpp',
|
|
|
|
'nsContentEventHandler.cpp',
|
|
|
|
'nsDOMDeviceMotionEvent.cpp',
|
|
|
|
'nsDOMDragEvent.cpp',
|
|
|
|
'nsDOMEventTargetHelper.cpp',
|
2013-06-05 12:02:51 +00:00
|
|
|
'nsDOMFocusEvent.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsDOMKeyboardEvent.cpp',
|
|
|
|
'nsDOMMessageEvent.cpp',
|
|
|
|
'nsDOMMouseEvent.cpp',
|
|
|
|
'nsDOMMouseScrollEvent.cpp',
|
|
|
|
'nsDOMMutationEvent.cpp',
|
|
|
|
'nsDOMNotifyAudioAvailableEvent.cpp',
|
|
|
|
'nsDOMSimpleGestureEvent.cpp',
|
|
|
|
'nsDOMTextEvent.cpp',
|
|
|
|
'nsDOMTouchEvent.cpp',
|
|
|
|
'nsDOMTransitionEvent.cpp',
|
|
|
|
'nsDOMXULCommandEvent.cpp',
|
|
|
|
'nsEventDispatcher.cpp',
|
|
|
|
'nsEventListenerService.cpp',
|
|
|
|
'nsIMEStateManager.cpp',
|
2014-01-10 03:03:25 +00:00
|
|
|
'nsJSEventListener.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsPaintRequest.cpp',
|
|
|
|
'nsPrivateTextRange.cpp',
|
2013-11-21 05:44:22 +00:00
|
|
|
'PointerEvent.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'TextComposition.cpp',
|
|
|
|
'Touch.cpp',
|
2014-02-26 05:23:55 +00:00
|
|
|
'WheelEvent.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-07-01 13:27:09 +00:00
|
|
|
|
2013-11-19 12:42:45 +00:00
|
|
|
SOURCES += [
|
2014-02-23 05:01:12 +00:00
|
|
|
# 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.
|
2013-11-19 12:42:45 +00:00
|
|
|
'nsEventStateManager.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-01 13:27:09 +00:00
|
|
|
if CONFIG['MOZ_WEBSPEECH']:
|
2013-11-19 12:42:45 +00:00
|
|
|
UNIFIED_SOURCES += ['SpeechRecognitionError.cpp']
|
2013-08-22 06:55:59 +00:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 06:56:01 +00:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'gklayout'
|
2013-11-11 08:04:06 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/content/base/src',
|
|
|
|
'/content/html/content/src',
|
|
|
|
'/content/xml/content/src',
|
|
|
|
'/content/xul/content/src',
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/settings',
|
|
|
|
'/dom/src/storage',
|
2013-12-08 15:51:16 +00:00
|
|
|
'/js/xpconnect/wrappers',
|
2013-11-11 08:04:06 +00:00
|
|
|
'/layout/generic',
|
2013-12-04 01:06:16 +00:00
|
|
|
'/layout/xul',
|
2013-11-11 08:04:06 +00:00
|
|
|
'/layout/xul/tree/',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/wifi',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_JSDEBUGGER']:
|
|
|
|
DEFINES['MOZ_JSDEBUGGER'] = True
|