2017-11-15 09:16:18 +03:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
'MIDITypes.ipdlh',
|
|
|
|
'PMIDIManager.ipdl',
|
|
|
|
'PMIDIPort.ipdl',
|
|
|
|
]
|
2017-11-15 22:18:58 +03:00
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'MIDIAccess.h',
|
|
|
|
'MIDIAccessManager.h',
|
|
|
|
'MIDIInput.h',
|
|
|
|
'MIDIInputMap.h',
|
|
|
|
'MIDIManagerChild.h',
|
2017-11-15 22:19:59 +03:00
|
|
|
'MIDIManagerParent.h',
|
2017-11-15 22:18:58 +03:00
|
|
|
'MIDIMessageEvent.h',
|
|
|
|
'MIDIMessageQueue.h',
|
|
|
|
'MIDIOutput.h',
|
|
|
|
'MIDIOutputMap.h',
|
2017-11-15 22:13:12 +03:00
|
|
|
'MIDIPermissionRequest.h',
|
2017-11-15 22:18:58 +03:00
|
|
|
'MIDIPlatformRunnables.h',
|
|
|
|
'MIDIPlatformService.h',
|
|
|
|
'MIDIPort.h',
|
|
|
|
'MIDIPortChild.h',
|
|
|
|
'MIDIPortInterface.h',
|
2017-11-15 22:19:59 +03:00
|
|
|
'MIDIPortParent.h',
|
2017-11-15 22:18:58 +03:00
|
|
|
'MIDIUtils.h'
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES = [
|
|
|
|
'MIDIAccess.cpp',
|
|
|
|
'MIDIAccessManager.cpp',
|
|
|
|
'MIDIInput.cpp',
|
|
|
|
'MIDIInputMap.cpp',
|
|
|
|
'MIDIManagerChild.cpp',
|
2017-11-15 22:19:59 +03:00
|
|
|
'MIDIManagerParent.cpp',
|
2017-11-15 22:18:58 +03:00
|
|
|
'MIDIMessageEvent.cpp',
|
|
|
|
'MIDIMessageQueue.cpp',
|
|
|
|
'MIDIOutput.cpp',
|
|
|
|
'MIDIOutputMap.cpp',
|
2017-11-15 22:13:12 +03:00
|
|
|
'MIDIPermissionRequest.cpp',
|
2017-11-15 22:18:58 +03:00
|
|
|
'MIDIPlatformRunnables.cpp',
|
|
|
|
'MIDIPlatformService.cpp',
|
|
|
|
'MIDIPort.cpp',
|
|
|
|
'MIDIPortChild.cpp',
|
|
|
|
'MIDIPortInterface.cpp',
|
2017-11-15 22:19:59 +03:00
|
|
|
'MIDIPortParent.cpp',
|
2017-11-15 22:18:58 +03:00
|
|
|
'MIDIUtils.cpp',
|
|
|
|
'TestMIDIPlatformService.cpp'
|
|
|
|
]
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
]
|
|
|
|
|
2015-07-22 00:28:30 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|