summaryrefslogtreecommitdiffstats
path: root/dom/media/mp4/moz.build
blob: 48fce2a040cb109adf2b2c538e484607dee597dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- 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 += [
    "Atom.h",
    "AtomType.h",
    "Box.h",
    "BufferStream.h",
    "ByteStream.h",
    "DecoderData.h",
    "MoofParser.h",
    "MP4Decoder.h",
    "MP4Demuxer.h",
    "MP4Interval.h",
    "MP4Metadata.h",
    "ResourceStream.h",
    "SampleIterator.h",
    "SinfParser.h",
]

UNIFIED_SOURCES += [
    "Box.cpp",
    "BufferStream.cpp",
    "DecoderData.cpp",
    "MoofParser.cpp",
    "MP4Decoder.cpp",
    "MP4Demuxer.cpp",
    "MP4Metadata.cpp",
    "ResourceStream.cpp",
    "SampleIterator.cpp",
    "SinfParser.cpp",
]

FINAL_LIBRARY = "xul"

# Suppress warnings for now.
CXXFLAGS += [
    "-Wno-sign-compare",
]

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