mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
0f5563b84f
This patch implements how to use MediaController to control corresponding media in content processes. Differential Revision: https://phabricator.services.mozilla.com/D38145 --HG-- extra : moz-landing-system : lando
29 lines
649 B
Python
29 lines
649 B
Python
# 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/.
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'AudioFocusManager.h',
|
|
'MediaController.h',
|
|
'MediaControlService.h',
|
|
'MediaControlUtils.h',
|
|
]
|
|
|
|
EXPORTS.ipc += [
|
|
'MediaControlIPC.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'AudioFocusManager.cpp',
|
|
'MediaController.cpp',
|
|
'MediaControlService.cpp',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
DIRS += ['tests/gtest']
|
|
|
|
FINAL_LIBRARY = 'xul'
|