зеркало из https://github.com/mozilla/gecko-dev.git
33 строки
867 B
Python
33 строки
867 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/.
|
|
|
|
with Files('*'):
|
|
BUG_COMPONENT = ('Core', 'Audio/Video')
|
|
|
|
EXPORTS.ogg += [
|
|
'geckoextra/include/OggStructsForRLBox.h',
|
|
'include/ogg/config_types.h',
|
|
'include/ogg/ogg.h',
|
|
'include/ogg/os_types.h',
|
|
]
|
|
|
|
all_sources = [
|
|
'src/ogg_alloc.c',
|
|
'src/ogg_bitwise.c',
|
|
'src/ogg_framing.c',
|
|
]
|
|
|
|
UNIFIED_SOURCES += all_sources
|
|
|
|
if CONFIG['MOZ_WASM_SANDBOXING_OGG']:
|
|
SANDBOXED_WASM_LIBRARY_NAME = 'oggwasm'
|
|
WASM_SOURCES += all_sources
|
|
|
|
FINAL_LIBRARY = 'gkmedias'
|
|
|
|
# Add libFuzzer configuration directives
|
|
include('/tools/fuzzing/libfuzzer-config.mozbuild')
|