mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
8cfda79e0d
Depends on D35776 Differential Revision: https://phabricator.services.mozilla.com/D35777 --HG-- extra : moz-landing-system : lando
35 lines
898 B
Python
35 lines
898 B
Python
# -*- 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 += [
|
|
'NesteggPacketHolder.h',
|
|
'WebMBufferedParser.h',
|
|
'WebMDecoder.h',
|
|
'WebMDemuxer.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'WebMBufferedParser.cpp',
|
|
'WebMDecoder.cpp',
|
|
'WebMDemuxer.cpp',
|
|
]
|
|
|
|
if CONFIG['MOZ_WEBM_ENCODER']:
|
|
EXPORTS += ['WebMWriter.h']
|
|
UNIFIED_SOURCES += ['EbmlComposer.cpp',
|
|
'WebMWriter.cpp',
|
|
]
|
|
|
|
CXXFLAGS += CONFIG['MOZ_LIBVPX_CFLAGS']
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
|
|
|
# Add libFuzzer configuration directives
|
|
include('/tools/fuzzing/libfuzzer-config.mozbuild')
|