dom/media/mediasource/moz.build
author Jean-Yves Avenard <jyavenard@mozilla.com>
Sat, 26 Mar 2016 02:09:26 +1100
changeset 345010 9fc214e120c0c571904455a90bca29bd2132303c
parent 345009 4de842536536240f39b04d29c4ceefb30de57458
child 367194 2572c0758dd4377a832c1e8ed16522dc829634ad
permissions -rw-r--r--
Bug 1259274: [MSE] P4. Add AutoTaskQueue convenience class. r=gerald Just like TaskQueue, but doesn't require to be shutdown. MozReview-Commit-ID: 9JR9mZZuP4w

# 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/.

MOCHITEST_MANIFESTS += ['test/mochitest.ini']

EXPORTS += [
    'AsyncEventRunner.h',
    'AutoTaskQueue.h',
    'MediaSourceDecoder.h',
    'MediaSourceDemuxer.h',
    'SourceBufferAttributes.h',
    'SourceBufferTask.h',
    'TrackBuffersManager.h',
]

EXPORTS.mozilla.dom += [
    'MediaSource.h',
    'SourceBuffer.h',
    'SourceBufferList.h',
]

UNIFIED_SOURCES += [
    'ContainerParser.cpp',
    'MediaSource.cpp',
    'MediaSourceDecoder.cpp',
    'MediaSourceDemuxer.cpp',
    'MediaSourceUtils.cpp',
    'ResourceQueue.cpp',
    'SourceBuffer.cpp',
    'SourceBufferList.cpp',
    'SourceBufferResource.cpp',
    'TrackBuffersManager.cpp',
]

TEST_DIRS += [
    'gtest',
]

if CONFIG['MOZ_GONK_MEDIACODEC']:
    DEFINES['MOZ_GONK_MEDIACODEC'] = True

FINAL_LIBRARY = 'xul'