dom/media/mediasource/moz.build
author Jean-Yves Avenard <jyavenard@mozilla.com>
Sun, 27 Mar 2016 20:20:40 +1100
changeset 345009 4de842536536240f39b04d29c4ceefb30de57458
parent 345004 e45056d523e96cf1ca1585a89a66f77268deab33
child 344916 f596740818d4721a9af2facf01f605889ac994ff
permissions -rw-r--r--
Bug 1259274: [MSE] P3. Refactor handling of tasks so they only ever run concurrently. r=gerald MozReview-Commit-ID: 1U8r82kTR0t

# 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',
    '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'