moz.build (912B)
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 7 EXPORTS += [ 8 "MatroskaDecoder.h", 9 "MatroskaDemuxer.h", 10 "NesteggPacketHolder.h", 11 "WebMBufferedParser.h", 12 "WebMDecoder.h", 13 "WebMDemuxer.h", 14 "WebMWriter.h", 15 ] 16 17 UNIFIED_SOURCES += [ 18 "EbmlComposer.cpp", 19 "MatroskaDecoder.cpp", 20 "MatroskaDemuxer.cpp", 21 "WebMBufferedParser.cpp", 22 "WebMDecoder.cpp", 23 "WebMDemuxer.cpp", 24 "WebMWriter.cpp", 25 ] 26 27 CXXFLAGS += CONFIG["MOZ_LIBVPX_CFLAGS"] 28 29 if CONFIG["MOZ_SYSTEM_AV1"]: 30 CXXFLAGS += CONFIG["MOZ_SYSTEM_LIBAOM_CFLAGS"] 31 32 FINAL_LIBRARY = "xul" 33 34 # Add libFuzzer configuration directives 35 include("/tools/fuzzing/libfuzzer-config.mozbuild")