dom/media/flac/moz.build
author Emilio Cobos Álvarez <emilio@crisal.io>
Thu, 04 Oct 2018 13:17:02 +0200
changeset 440291 836472045b3b69d18d219f12b7319d53e39f0ddd
parent 395727 5ec58e0e3a347e2504d7544d5d0312a70e8735cd
child 482919 5fa9c790f64b20fa1986c4bc7ea5dba8ca5e0042
permissions -rw-r--r--
Bug 1496486 - Bump cbindgen. r=heycam Differential Revision: https://phabricator.services.mozilla.com/D7756

# -*- Mode: python; 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 += [
    'FlacDecoder.h',
    'FlacDemuxer.h',
    'FlacFrameParser.h',
]

UNIFIED_SOURCES += [
    'FlacDecoder.cpp',
    'FlacDemuxer.cpp',
    'FlacFrameParser.cpp',
]

CXXFLAGS += CONFIG['MOZ_LIBVPX_CFLAGS']

FINAL_LIBRARY = 'xul'

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
    CXXFLAGS += ['-Wno-error=shadow']