tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (1100B)


      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     "Atom.h",
      9     "AtomType.h",
     10     "Box.h",
     11     "BufferStream.h",
     12     "ByteStream.h",
     13     "DecoderData.h",
     14     "MoofParser.h",
     15     "MP4Decoder.h",
     16     "MP4Demuxer.h",
     17     "MP4Interval.h",
     18     "MP4Metadata.h",
     19     "ResourceStream.h",
     20     "SampleIterator.h",
     21     "SinfParser.h",
     22 ]
     23 
     24 UNIFIED_SOURCES += [
     25     "Box.cpp",
     26     "BufferStream.cpp",
     27     "DecoderData.cpp",
     28     "MoofParser.cpp",
     29     "MP4Decoder.cpp",
     30     "MP4Demuxer.cpp",
     31     "MP4Metadata.cpp",
     32     "ResourceStream.cpp",
     33     "SampleIterator.cpp",
     34     "SinfParser.cpp",
     35 ]
     36 
     37 FINAL_LIBRARY = "xul"
     38 
     39 if CONFIG["MOZ_SYSTEM_AV1"]:
     40     CXXFLAGS += CONFIG["MOZ_SYSTEM_LIBAOM_CFLAGS"]
     41 
     42 # Suppress warnings for now.
     43 CXXFLAGS += [
     44     "-Wno-sign-compare",
     45 ]
     46 
     47 # Add libFuzzer configuration directives
     48 include("/tools/fuzzing/libfuzzer-config.mozbuild")