dom/events/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 MOCHITEST_MANIFESTS += ['test/mochitest.ini']
michael@0 8 MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
michael@0 9
michael@0 10 XPIDL_SOURCES += [
michael@0 11 'nsIEventListenerService.idl',
michael@0 12 ]
michael@0 13
michael@0 14 XPIDL_MODULE = 'content_events'
michael@0 15
michael@0 16 EXPORTS.mozilla += [
michael@0 17 'AsyncEventDispatcher.h',
michael@0 18 'DOMEventTargetHelper.h',
michael@0 19 'EventDispatcher.h',
michael@0 20 'EventListenerManager.h',
michael@0 21 'EventNameList.h',
michael@0 22 'EventStateManager.h',
michael@0 23 'EventStates.h',
michael@0 24 'IMEStateManager.h',
michael@0 25 'InternalMutationEvent.h',
michael@0 26 'JSEventHandler.h',
michael@0 27 'KeyNameList.h',
michael@0 28 'TextComposition.h',
michael@0 29 'VirtualKeyCodeList.h',
michael@0 30 ]
michael@0 31
michael@0 32 EXPORTS.mozilla.dom += [
michael@0 33 'AnimationEvent.h',
michael@0 34 'BeforeUnloadEvent.h',
michael@0 35 'ClipboardEvent.h',
michael@0 36 'CommandEvent.h',
michael@0 37 'CompositionEvent.h',
michael@0 38 'DataContainerEvent.h',
michael@0 39 'DataTransfer.h',
michael@0 40 'DeviceMotionEvent.h',
michael@0 41 'DragEvent.h',
michael@0 42 'Event.h',
michael@0 43 'EventTarget.h',
michael@0 44 'FocusEvent.h',
michael@0 45 'InputEvent.h',
michael@0 46 'KeyboardEvent.h',
michael@0 47 'MessageEvent.h',
michael@0 48 'MouseEvent.h',
michael@0 49 'MouseScrollEvent.h',
michael@0 50 'MutationEvent.h',
michael@0 51 'NotifyPaintEvent.h',
michael@0 52 'PaintRequest.h',
michael@0 53 'PointerEvent.h',
michael@0 54 'ScrollAreaEvent.h',
michael@0 55 'SimpleGestureEvent.h',
michael@0 56 'Touch.h',
michael@0 57 'TouchEvent.h',
michael@0 58 'TransitionEvent.h',
michael@0 59 'UIEvent.h',
michael@0 60 'WheelEvent.h',
michael@0 61 'XULCommandEvent.h',
michael@0 62 ]
michael@0 63
michael@0 64 if CONFIG['MOZ_WEBSPEECH']:
michael@0 65 EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']
michael@0 66
michael@0 67 UNIFIED_SOURCES += [
michael@0 68 'AnimationEvent.cpp',
michael@0 69 'AsyncEventDispatcher.cpp',
michael@0 70 'BeforeUnloadEvent.cpp',
michael@0 71 'ClipboardEvent.cpp',
michael@0 72 'CommandEvent.cpp',
michael@0 73 'CompositionEvent.cpp',
michael@0 74 'ContentEventHandler.cpp',
michael@0 75 'DataContainerEvent.cpp',
michael@0 76 'DataTransfer.cpp',
michael@0 77 'DeviceMotionEvent.cpp',
michael@0 78 'DOMEventTargetHelper.cpp',
michael@0 79 'DragEvent.cpp',
michael@0 80 'Event.cpp',
michael@0 81 'EventDispatcher.cpp',
michael@0 82 'EventListenerManager.cpp',
michael@0 83 'EventListenerService.cpp',
michael@0 84 'EventTarget.cpp',
michael@0 85 'FocusEvent.cpp',
michael@0 86 'IMEContentObserver.cpp',
michael@0 87 'IMEStateManager.cpp',
michael@0 88 'InputEvent.cpp',
michael@0 89 'JSEventHandler.cpp',
michael@0 90 'KeyboardEvent.cpp',
michael@0 91 'MessageEvent.cpp',
michael@0 92 'MouseEvent.cpp',
michael@0 93 'MouseScrollEvent.cpp',
michael@0 94 'MutationEvent.cpp',
michael@0 95 'NotifyPaintEvent.cpp',
michael@0 96 'PaintRequest.cpp',
michael@0 97 'PointerEvent.cpp',
michael@0 98 'ScrollAreaEvent.cpp',
michael@0 99 'SimpleGestureEvent.cpp',
michael@0 100 'TextComposition.cpp',
michael@0 101 'Touch.cpp',
michael@0 102 'TouchEvent.cpp',
michael@0 103 'TransitionEvent.cpp',
michael@0 104 'UIEvent.cpp',
michael@0 105 'WheelEvent.cpp',
michael@0 106 'WheelHandlingHelper.cpp',
michael@0 107 'XULCommandEvent.cpp',
michael@0 108 ]
michael@0 109
michael@0 110 # nsEventStateManager.cpp should be built separately because of Mac OS X headers.
michael@0 111 SOURCES += [
michael@0 112 'EventStateManager.cpp',
michael@0 113 ]
michael@0 114
michael@0 115 if CONFIG['MOZ_WEBSPEECH']:
michael@0 116 UNIFIED_SOURCES += ['SpeechRecognitionError.cpp']
michael@0 117
michael@0 118 FAIL_ON_WARNINGS = True
michael@0 119
michael@0 120 MSVC_ENABLE_PGO = True
michael@0 121
michael@0 122 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 123
michael@0 124 FINAL_LIBRARY = 'gklayout'
michael@0 125 LOCAL_INCLUDES += [
michael@0 126 '/content/base/src',
michael@0 127 '/content/html/content/src',
michael@0 128 '/content/xml/content/src',
michael@0 129 '/content/xul/content/src',
michael@0 130 '/dom/base',
michael@0 131 '/dom/settings',
michael@0 132 '/dom/src/storage',
michael@0 133 '/dom/workers',
michael@0 134 '/js/xpconnect/wrappers',
michael@0 135 '/layout/generic',
michael@0 136 '/layout/xul',
michael@0 137 '/layout/xul/tree/',
michael@0 138 ]
michael@0 139
michael@0 140 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
michael@0 141 LOCAL_INCLUDES += [
michael@0 142 '/dom/wifi',
michael@0 143 ]
michael@0 144
michael@0 145 if CONFIG['MOZ_JSDEBUGGER']:
michael@0 146 DEFINES['MOZ_JSDEBUGGER'] = True

mercurial