tor-browser

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

moz.build (2317B)


      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 include("/dom/media/webrtc/third_party_build/webrtc.mozbuild")
      7 
      8 LOCAL_INCLUDES += [
      9     "!/dist/include/libwebrtc_overrides",
     10     "/third_party/abseil-cpp",
     11     "/third_party/libwebrtc",
     12 ]
     13 
     14 EXPORTS.libwebrtc_overrides.api += [
     15     "api/location.h",
     16 ]
     17 EXPORTS.libwebrtc_overrides.api.transport += [
     18     "api/transport/network_control.h",
     19 ]
     20 EXPORTS.libwebrtc_overrides.call += [
     21     "call/call_basic_stats.h",
     22     "call/video_receive_stream.h",
     23     "call/video_send_stream.h",
     24 ]
     25 EXPORTS.libwebrtc_overrides.common_audio += [
     26     "common_audio/intrin.h",
     27 ]
     28 EXPORTS.libwebrtc_overrides.modules.audio_processing.aec3 += [
     29     "modules/audio_processing/aec3/matched_filter_lag_aggregator.h",
     30 ]
     31 EXPORTS.libwebrtc_overrides.modules.desktop_capture += [
     32     "modules/desktop_capture/desktop_capture_types.h",
     33 ]
     34 EXPORTS.libwebrtc_overrides.modules.desktop_capture.linux.x11 += [
     35     "modules/desktop_capture/linux/x11/x_error_trap.h",
     36 ]
     37 EXPORTS.libwebrtc_overrides.modules.video_capture += [
     38     "modules/video_capture/video_capture.h",
     39 ]
     40 EXPORTS.libwebrtc_overrides.rtc_base += [
     41     "rtc_base/logging.h",
     42     "rtc_base/trace_event.h",
     43 ]
     44 EXPORTS.libwebrtc_overrides.X11.extensions += [
     45     "X11/extensions/Xrandr.h",
     46 ]
     47 
     48 UNIFIED_SOURCES += [
     49     "call/call_basic_stats.cc",
     50 ]
     51 
     52 if CONFIG["OS_TARGET"] == "OpenBSD":
     53     CXXFLAGS += CONFIG["MOZ_X11_CFLAGS"]
     54     UNIFIED_SOURCES += [
     55         "modules/desktop_capture/linux/x11/x_error_trap.cc",
     56     ]
     57 
     58 if CONFIG["TARGET_CPU"] in ("loongarch64", "ppc64"):
     59     UNIFIED_SOURCES += [
     60         "modules/desktop_capture/linux/x11/x_error_trap.cc",
     61     ]
     62 
     63 if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
     64     UNIFIED_SOURCES += [
     65         "modules/desktop_capture/linux/x11/x_error_trap.cc",
     66     ]
     67 
     68 if (
     69     CONFIG["MOZ_X11"] == "1"
     70     and CONFIG["OS_TARGET"] == "Linux"
     71     and CONFIG["TARGET_CPU"] in ("aarch64", "arm", "mips32", "mips64", "x86", "x86_64")
     72 ):
     73     UNIFIED_SOURCES += [
     74         "modules/desktop_capture/linux/x11/x_error_trap.cc",
     75     ]
     76 
     77 FINAL_LIBRARY = "xul"