dom/media/webm/moz.build
author Olli Pettay <Olli.Pettay@helsinki.fi>
Sun, 27 Sep 2015 00:52:26 +0300 (2015-09-26)
changeset 264406 6256ec9113c115141aab089c45ee69438884b680
parent 260092 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
child 266501 d66be0e4547fe9677abf3cb730e58845a8f51e34
permissions -rw-r--r--
bug 1072150, backout the release assertion which changed the ancient requirements of nsContentUtils::IsCallerChrome(), a=backout
# -*- 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/.

EXPORTS += [
    'IntelWebMVideoDecoder.h',
    'NesteggPacketHolder.h',
    'SoftwareWebMVideoDecoder.h',
    'WebMBufferedParser.h',
    'WebMDecoder.h',
    'WebMDemuxer.h',
    'WebMReader.h',
]

UNIFIED_SOURCES += [
    'AudioDecoder.cpp',
    'SoftwareWebMVideoDecoder.cpp',
    'WebMBufferedParser.cpp',
    'WebMDecoder.cpp',
    'WebMDemuxer.cpp',
    'WebMReader.cpp',
]

if CONFIG['MOZ_FMP4'] and CONFIG['MOZ_WMF']:
    DEFINES['MOZ_PDM_VPX'] = True
    UNIFIED_SOURCES += ['IntelWebMVideoDecoder.cpp']

if CONFIG['MOZ_WEBM_ENCODER']:
    EXPORTS += ['WebMWriter.h']
    UNIFIED_SOURCES += ['EbmlComposer.cpp',
                        'WebMWriter.cpp',
    ]

CXXFLAGS += CONFIG['MOZ_LIBVPX_CFLAGS']

FINAL_LIBRARY = 'xul'