media/libmkv/moz.build
author Christian Holler <choller@mozilla.com>
Tue, 16 Jul 2019 14:50:17 +0000
changeset 546675 5fa9c790f64b20fa1986c4bc7ea5dba8ca5e0042
parent 441558 5f700fe50260b6ce9362506b02e1e5244b3c7686
permissions -rw-r--r--
Bug 1465407 - Add media fuzzing targets. r=jya Depends on D35776 Differential Revision: https://phabricator.services.mozilla.com/D35777

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

with Files("**"):
    BUG_COMPONENT = ("Core", "Audio/Video: Recording")

EXPORTS.libmkv += [
    'EbmlBufferWriter.h',
    'EbmlIDs.h',
    'EbmlWriter.h',
    'WebMElement.h',
]

UNIFIED_SOURCES += [
]

# These files can't be unified because of function redefinitions.
SOURCES += [
    'EbmlBufferWriter.c',
    'EbmlWriter.c',
    'WebMElement.c',
]

FINAL_LIBRARY = 'gkmedias'

# We allow warnings for third-party code that can be updated from upstream.
AllowCompilerWarnings()

# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')