2016-08-17 08:33:50 +03:00
|
|
|
# -*- 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 += [
|
2016-08-17 08:42:18 +03:00
|
|
|
'FlacDecoder.h',
|
2016-08-17 08:40:14 +03:00
|
|
|
'FlacDemuxer.h',
|
2016-08-17 08:33:50 +03:00
|
|
|
'FlacFrameParser.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2016-08-17 08:42:18 +03:00
|
|
|
'FlacDecoder.cpp',
|
2016-08-17 08:40:14 +03:00
|
|
|
'FlacDemuxer.cpp',
|
2016-08-17 08:33:50 +03:00
|
|
|
'FlacFrameParser.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_LIBVPX_CFLAGS']
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-08-17 08:33:50 +03:00
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
2019-07-16 17:50:17 +03:00
|
|
|
|
|
|
|
# Add libFuzzer configuration directives
|
|
|
|
include('/tools/fuzzing/libfuzzer-config.mozbuild')
|