1# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2# vim: set filetype=python:
3# This Source Code Form is subject to the terms of the Mozilla Public
4# License, v. 2.0. If a copy of the MPL was not distributed with this
5# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7EXPORTS += [
8    "Atom.h",
9    "AtomType.h",
10    "Box.h",
11    "BufferStream.h",
12    "ByteStream.h",
13    "DecoderData.h",
14    "Index.h",
15    "MoofParser.h",
16    "MP4Decoder.h",
17    "MP4Demuxer.h",
18    "MP4Interval.h",
19    "MP4Metadata.h",
20    "ResourceStream.h",
21    "SinfParser.h",
22]
23
24UNIFIED_SOURCES += [
25    "Box.cpp",
26    "BufferStream.cpp",
27    "DecoderData.cpp",
28    "Index.cpp",
29    "MoofParser.cpp",
30    "MP4Decoder.cpp",
31    "MP4Demuxer.cpp",
32    "MP4Metadata.cpp",
33    "ResourceStream.cpp",
34    "SinfParser.cpp",
35]
36
37FINAL_LIBRARY = "xul"
38
39# Suppress warnings for now.
40CXXFLAGS += [
41    "-Wno-sign-compare",
42]
43
44# Add libFuzzer configuration directives
45include("/tools/fuzzing/libfuzzer-config.mozbuild")
46