tor-browser

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

moz.build (1159B)


      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 with Files("*"):
      8     BUG_COMPONENT = ("Core", "Audio/Video: Recording")
      9 
     10 EXPORTS += [
     11     "ContainerWriter.h",
     12     "EncodedFrame.h",
     13     "MediaEncoder.h",
     14     "OpusTrackEncoder.h",
     15     "TrackEncoder.h",
     16     "TrackMetadataBase.h",
     17     "VP8TrackEncoder.h",
     18 ]
     19 
     20 UNIFIED_SOURCES += [
     21     "MediaEncoder.cpp",
     22     "Muxer.cpp",
     23     "OpusTrackEncoder.cpp",
     24     "TrackEncoder.cpp",
     25     "VP8TrackEncoder.cpp",
     26 ]
     27 
     28 FINAL_LIBRARY = "xul"
     29 
     30 LOCAL_INCLUDES += [
     31     "/dom/media",
     32     "/ipc/chromium/src",
     33     "/media/libyuv/libyuv/include",
     34 ]
     35 
     36 include("/ipc/chromium/chromium-config.mozbuild")
     37 
     38 # Suppress some GCC warnings being treated as errors:
     39 #  - about attributes on forward declarations for types that are already
     40 #    defined, which complains about an important MOZ_EXPORT for android::AString
     41 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
     42     CXXFLAGS += ["-Wno-error=attributes"]