dom/events/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/events/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,146 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +MOCHITEST_MANIFESTS += ['test/mochitest.ini']
    1.11 +MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
    1.12 +
    1.13 +XPIDL_SOURCES += [
    1.14 +    'nsIEventListenerService.idl',
    1.15 +]
    1.16 +
    1.17 +XPIDL_MODULE = 'content_events'
    1.18 +
    1.19 +EXPORTS.mozilla += [
    1.20 +    'AsyncEventDispatcher.h',
    1.21 +    'DOMEventTargetHelper.h',
    1.22 +    'EventDispatcher.h',
    1.23 +    'EventListenerManager.h',
    1.24 +    'EventNameList.h',
    1.25 +    'EventStateManager.h',
    1.26 +    'EventStates.h',
    1.27 +    'IMEStateManager.h',
    1.28 +    'InternalMutationEvent.h',
    1.29 +    'JSEventHandler.h',
    1.30 +    'KeyNameList.h',
    1.31 +    'TextComposition.h',
    1.32 +    'VirtualKeyCodeList.h',
    1.33 +]
    1.34 +
    1.35 +EXPORTS.mozilla.dom += [
    1.36 +    'AnimationEvent.h',
    1.37 +    'BeforeUnloadEvent.h',
    1.38 +    'ClipboardEvent.h',
    1.39 +    'CommandEvent.h',
    1.40 +    'CompositionEvent.h',
    1.41 +    'DataContainerEvent.h',
    1.42 +    'DataTransfer.h',
    1.43 +    'DeviceMotionEvent.h',
    1.44 +    'DragEvent.h',
    1.45 +    'Event.h',
    1.46 +    'EventTarget.h',
    1.47 +    'FocusEvent.h',
    1.48 +    'InputEvent.h',
    1.49 +    'KeyboardEvent.h',
    1.50 +    'MessageEvent.h',
    1.51 +    'MouseEvent.h',
    1.52 +    'MouseScrollEvent.h',
    1.53 +    'MutationEvent.h',
    1.54 +    'NotifyPaintEvent.h',
    1.55 +    'PaintRequest.h',
    1.56 +    'PointerEvent.h',
    1.57 +    'ScrollAreaEvent.h',
    1.58 +    'SimpleGestureEvent.h',
    1.59 +    'Touch.h',
    1.60 +    'TouchEvent.h',
    1.61 +    'TransitionEvent.h',
    1.62 +    'UIEvent.h',
    1.63 +    'WheelEvent.h',
    1.64 +    'XULCommandEvent.h',
    1.65 +]
    1.66 +
    1.67 +if CONFIG['MOZ_WEBSPEECH']:
    1.68 +    EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']
    1.69 +
    1.70 +UNIFIED_SOURCES += [
    1.71 +    'AnimationEvent.cpp',
    1.72 +    'AsyncEventDispatcher.cpp',
    1.73 +    'BeforeUnloadEvent.cpp',
    1.74 +    'ClipboardEvent.cpp',
    1.75 +    'CommandEvent.cpp',
    1.76 +    'CompositionEvent.cpp',
    1.77 +    'ContentEventHandler.cpp',
    1.78 +    'DataContainerEvent.cpp',
    1.79 +    'DataTransfer.cpp',
    1.80 +    'DeviceMotionEvent.cpp',
    1.81 +    'DOMEventTargetHelper.cpp',
    1.82 +    'DragEvent.cpp',
    1.83 +    'Event.cpp',
    1.84 +    'EventDispatcher.cpp',
    1.85 +    'EventListenerManager.cpp',
    1.86 +    'EventListenerService.cpp',
    1.87 +    'EventTarget.cpp',
    1.88 +    'FocusEvent.cpp',
    1.89 +    'IMEContentObserver.cpp',
    1.90 +    'IMEStateManager.cpp',
    1.91 +    'InputEvent.cpp',
    1.92 +    'JSEventHandler.cpp',
    1.93 +    'KeyboardEvent.cpp',
    1.94 +    'MessageEvent.cpp',
    1.95 +    'MouseEvent.cpp',
    1.96 +    'MouseScrollEvent.cpp',
    1.97 +    'MutationEvent.cpp',
    1.98 +    'NotifyPaintEvent.cpp',
    1.99 +    'PaintRequest.cpp',
   1.100 +    'PointerEvent.cpp',
   1.101 +    'ScrollAreaEvent.cpp',
   1.102 +    'SimpleGestureEvent.cpp',
   1.103 +    'TextComposition.cpp',
   1.104 +    'Touch.cpp',
   1.105 +    'TouchEvent.cpp',
   1.106 +    'TransitionEvent.cpp',
   1.107 +    'UIEvent.cpp',
   1.108 +    'WheelEvent.cpp',
   1.109 +    'WheelHandlingHelper.cpp',
   1.110 +    'XULCommandEvent.cpp',
   1.111 +]
   1.112 +
   1.113 +# nsEventStateManager.cpp should be built separately because of Mac OS X headers.
   1.114 +SOURCES += [
   1.115 +    'EventStateManager.cpp',
   1.116 +]
   1.117 +
   1.118 +if CONFIG['MOZ_WEBSPEECH']:
   1.119 +    UNIFIED_SOURCES += ['SpeechRecognitionError.cpp']
   1.120 +
   1.121 +FAIL_ON_WARNINGS = True
   1.122 +
   1.123 +MSVC_ENABLE_PGO = True
   1.124 +
   1.125 +include('/ipc/chromium/chromium-config.mozbuild')
   1.126 +
   1.127 +FINAL_LIBRARY = 'gklayout'
   1.128 +LOCAL_INCLUDES += [
   1.129 +    '/content/base/src',
   1.130 +    '/content/html/content/src',
   1.131 +    '/content/xml/content/src',
   1.132 +    '/content/xul/content/src',
   1.133 +    '/dom/base',
   1.134 +    '/dom/settings',
   1.135 +    '/dom/src/storage',
   1.136 +    '/dom/workers',
   1.137 +    '/js/xpconnect/wrappers',
   1.138 +    '/layout/generic',
   1.139 +    '/layout/xul',
   1.140 +    '/layout/xul/tree/',
   1.141 +]
   1.142 +
   1.143 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
   1.144 +    LOCAL_INCLUDES += [
   1.145 +        '/dom/wifi',
   1.146 +    ]
   1.147 +
   1.148 +if CONFIG['MOZ_JSDEBUGGER']:
   1.149 +    DEFINES['MOZ_JSDEBUGGER'] = True

mercurial