michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: MOCHITEST_MANIFESTS += ['test/mochitest.ini'] michael@0: MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini'] michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIEventListenerService.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'content_events' michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'AsyncEventDispatcher.h', michael@0: 'DOMEventTargetHelper.h', michael@0: 'EventDispatcher.h', michael@0: 'EventListenerManager.h', michael@0: 'EventNameList.h', michael@0: 'EventStateManager.h', michael@0: 'EventStates.h', michael@0: 'IMEStateManager.h', michael@0: 'InternalMutationEvent.h', michael@0: 'JSEventHandler.h', michael@0: 'KeyNameList.h', michael@0: 'TextComposition.h', michael@0: 'VirtualKeyCodeList.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.dom += [ michael@0: 'AnimationEvent.h', michael@0: 'BeforeUnloadEvent.h', michael@0: 'ClipboardEvent.h', michael@0: 'CommandEvent.h', michael@0: 'CompositionEvent.h', michael@0: 'DataContainerEvent.h', michael@0: 'DataTransfer.h', michael@0: 'DeviceMotionEvent.h', michael@0: 'DragEvent.h', michael@0: 'Event.h', michael@0: 'EventTarget.h', michael@0: 'FocusEvent.h', michael@0: 'InputEvent.h', michael@0: 'KeyboardEvent.h', michael@0: 'MessageEvent.h', michael@0: 'MouseEvent.h', michael@0: 'MouseScrollEvent.h', michael@0: 'MutationEvent.h', michael@0: 'NotifyPaintEvent.h', michael@0: 'PaintRequest.h', michael@0: 'PointerEvent.h', michael@0: 'ScrollAreaEvent.h', michael@0: 'SimpleGestureEvent.h', michael@0: 'Touch.h', michael@0: 'TouchEvent.h', michael@0: 'TransitionEvent.h', michael@0: 'UIEvent.h', michael@0: 'WheelEvent.h', michael@0: 'XULCommandEvent.h', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WEBSPEECH']: michael@0: EXPORTS.mozilla.dom += ['SpeechRecognitionError.h'] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'AnimationEvent.cpp', michael@0: 'AsyncEventDispatcher.cpp', michael@0: 'BeforeUnloadEvent.cpp', michael@0: 'ClipboardEvent.cpp', michael@0: 'CommandEvent.cpp', michael@0: 'CompositionEvent.cpp', michael@0: 'ContentEventHandler.cpp', michael@0: 'DataContainerEvent.cpp', michael@0: 'DataTransfer.cpp', michael@0: 'DeviceMotionEvent.cpp', michael@0: 'DOMEventTargetHelper.cpp', michael@0: 'DragEvent.cpp', michael@0: 'Event.cpp', michael@0: 'EventDispatcher.cpp', michael@0: 'EventListenerManager.cpp', michael@0: 'EventListenerService.cpp', michael@0: 'EventTarget.cpp', michael@0: 'FocusEvent.cpp', michael@0: 'IMEContentObserver.cpp', michael@0: 'IMEStateManager.cpp', michael@0: 'InputEvent.cpp', michael@0: 'JSEventHandler.cpp', michael@0: 'KeyboardEvent.cpp', michael@0: 'MessageEvent.cpp', michael@0: 'MouseEvent.cpp', michael@0: 'MouseScrollEvent.cpp', michael@0: 'MutationEvent.cpp', michael@0: 'NotifyPaintEvent.cpp', michael@0: 'PaintRequest.cpp', michael@0: 'PointerEvent.cpp', michael@0: 'ScrollAreaEvent.cpp', michael@0: 'SimpleGestureEvent.cpp', michael@0: 'TextComposition.cpp', michael@0: 'Touch.cpp', michael@0: 'TouchEvent.cpp', michael@0: 'TransitionEvent.cpp', michael@0: 'UIEvent.cpp', michael@0: 'WheelEvent.cpp', michael@0: 'WheelHandlingHelper.cpp', michael@0: 'XULCommandEvent.cpp', michael@0: ] michael@0: michael@0: # nsEventStateManager.cpp should be built separately because of Mac OS X headers. michael@0: SOURCES += [ michael@0: 'EventStateManager.cpp', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WEBSPEECH']: michael@0: UNIFIED_SOURCES += ['SpeechRecognitionError.cpp'] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: LOCAL_INCLUDES += [ michael@0: '/content/base/src', michael@0: '/content/html/content/src', michael@0: '/content/xml/content/src', michael@0: '/content/xul/content/src', michael@0: '/dom/base', michael@0: '/dom/settings', michael@0: '/dom/src/storage', michael@0: '/dom/workers', michael@0: '/js/xpconnect/wrappers', michael@0: '/layout/generic', michael@0: '/layout/xul', michael@0: '/layout/xul/tree/', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/wifi', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_JSDEBUGGER']: michael@0: DEFINES['MOZ_JSDEBUGGER'] = True