git: 0f60b8e1e225 - main - www/firefox-esr: update to 102.2.0

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Sun, 11 Sep 2022 13:09:46 UTC
The branch main has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f60b8e1e225558292c2cd85281f4f4ee49dc051

commit 0f60b8e1e225558292c2cd85281f4f4ee49dc051
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2022-09-11 13:07:06 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2022-09-11 13:09:28 +0000

    www/firefox-esr: update to 102.2.0
    
    Release Notes:
      https://www.mozilla.org/en-US/firefox/102.2.0/releasenotes/
---
 www/firefox-esr/Makefile                           |    23 +-
 www/firefox-esr/distinfo                           |     6 +-
 www/firefox-esr/files/patch-bug1288587             |    37 -
 www/firefox-esr/files/patch-bug1504834_comment10   |    10 +-
 www/firefox-esr/files/patch-bug1559213             |    46 +-
 www/firefox-esr/files/patch-bug1602730_comment5    |    24 -
 www/firefox-esr/files/patch-bug1612184             | 25961 -------
 www/firefox-esr/files/patch-bug1659612             |    10 +-
 www/firefox-esr/files/patch-bug1676134             |   122 -
 www/firefox-esr/files/patch-bug1680982             |   388 +
 www/firefox-esr/files/patch-bug1716707             |    56 +
 www/firefox-esr/files/patch-bug1734058             |    45 -
 www/firefox-esr/files/patch-bug847568              |    99 +-
 www/firefox-esr/files/patch-libwebrtc-generated    | 70292 +++++++++++++++++++
 www/firefox-esr/files/patch-pipewire_init          |    41 +-
 www/firefox-esr/files/patch-rust-1.63              |   585 +-
 ...rd__party_libwebrtc_build_config_BUILDCONFIG.gn |    42 +
 ..._party_libwebrtc_third__party_pffft_src_pffft.c |    10 +
 .../files/patch-third__party_sqlite3_src_moz.build |    12 +
 .../files/patch-tools_profiler_core_patform.cpp    |    51 +
 20 files changed, 71155 insertions(+), 26705 deletions(-)

diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 889bd5756016..7b583f174b97 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	firefox
-DISTVERSION=	91.13.0
-PORTREVISION=	1
+DISTVERSION=	102.2.0
 PORTEPOCH=	1
 CATEGORIES=	www wayland
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
@@ -13,14 +12,14 @@ COMMENT=	Web browser based on the browser portion of Mozilla
 WWW=		https://www.mozilla.com/firefox
 
 BUILD_DEPENDS=	nspr>=4.32:devel/nspr \
-		nss>=3.68:security/nss \
-		icu>=67.1,1:devel/icu \
+		nss>=3.79.1:security/nss \
+		icu>=71.1,1:devel/icu \
 		libevent>=2.1.8:devel/libevent \
-		harfbuzz>=2.8.1:print/harfbuzz \
+		harfbuzz>=4.1.0:print/harfbuzz \
 		graphite2>=1.3.14:graphics/graphite2 \
 		png>=1.6.37:graphics/png \
 		dav1d>=1.0.0:multimedia/dav1d \
-		libvpx>=1.8.2:multimedia/libvpx \
+		libvpx>=1.11.0:multimedia/libvpx \
 		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
 		v4l_compat>0:multimedia/v4l_compat \
 		autoconf2.13:devel/autoconf2.13 \
@@ -33,6 +32,7 @@ CPE_PRODUCT=	${PORTNAME}_esr
 CONFLICTS_INSTALL=	firefox
 USE_MOZILLA=	-sqlite
 CFLAGS_powerpc64le=	-DSQLITE_BYTEORDER=1234
+CONFIGURE_ENV+=	BINDGEN_CFLAGS="-I${LOCALBASE}/include"
 
 USES=		tar:xz
 
@@ -44,6 +44,17 @@ MOZ_OPTIONS=	--enable-application=browser \
 
 .include "${.CURDIR}/../../www/firefox/Makefile.options"
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+MOZ_OPTIONS+=	--disable-webrtc --without-wasm-sandboxed-libraries
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx \
+		${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc \
+		${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/clang/${LLVM_VERSION}/lib/wasi/libclang_rt.builtins-wasm32.a:devel/wasi-compiler-rt${LLVM_DEFAULT}
+MOZ_OPTIONS+=	--with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \
 		-e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \
diff --git a/www/firefox-esr/distinfo b/www/firefox-esr/distinfo
index 5a59ab658aa6..174290aba7e9 100644
--- a/www/firefox-esr/distinfo
+++ b/www/firefox-esr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660589043
-SHA256 (firefox-91.13.0esr.source.tar.xz) = 53be2bcde0b5ee3ec106bd8ba06b8ae95e7d489c484e881dfbe5360e4c920762
-SIZE (firefox-91.13.0esr.source.tar.xz) = 380053584
+TIMESTAMP = 1662823213
+SHA256 (firefox-102.2.0esr.source.tar.xz) = 014d91d14ab4f53e93728273b45ac6022813d5ade35f842e722bf87b747c97ff
+SIZE (firefox-102.2.0esr.source.tar.xz) = 479840072
diff --git a/www/firefox-esr/files/patch-bug1288587 b/www/firefox-esr/files/patch-bug1288587
deleted file mode 100644
index 0925ac98733c..000000000000
--- a/www/firefox-esr/files/patch-bug1288587
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
-index 855214a..1e91d51 100644
---- build/moz.configure/init.configure
-+++ build/moz.configure/init.configure
-@@ -238,6 +238,7 @@ option(
- @imports(_from="mozbuild.pythonutil", _import="find_python3_executable")
- @imports(_from="mozbuild.pythonutil", _import="python_executable_version")
- @imports(_from="six", _import="ensure_text")
-+@imports(_from="__builtin__", _import="KeyError")
- def virtualenv_python3(env_python, build_env, mozconfig, help):
-     # Avoid re-executing python when running configure --help.
-     if help:
-@@ -271,6 +272,12 @@ def virtualenv_python3(env_python, virtualenv_name, bu
-             python = mozconfig["vars"]["added"]["PYTHON3"]
-         elif "PYTHON3" in mozconfig["vars"]["modified"]:
-             python = mozconfig["vars"]["modified"]["PYTHON3"][1]
-+        for i in ("env", "vars"):
-+            for j in ("added", "modified"):
-+                try:
-+                    del mozconfig[i][j]["PYTHON3"]
-+                except KeyError:
-+                    pass
- 
-     log.debug("python3: executable from configuration: %r" % python)
- 
-@@ -364,7 +371,10 @@ def virtualenv_python3(env_python, virtualenv_name, bu
-         )
-         log.info("Re-executing in the virtualenv")
-         if env_python:
--            del os.environ["PYTHON3"]
-+                try:
-+                    del os.environ["PYTHON3"]
-+                except KeyError:
-+                    pass
-         # Another quirk on macOS, with the system python, the virtualenv is
-         # not fully operational (missing entries in sys.path) if
-         # __PYVENV_LAUNCHER__ is set.
diff --git a/www/firefox-esr/files/patch-bug1504834_comment10 b/www/firefox-esr/files/patch-bug1504834_comment10
index e8e28bace434..2d584adb17ef 100644
--- a/www/firefox-esr/files/patch-bug1504834_comment10
+++ b/www/firefox-esr/files/patch-bug1504834_comment10
@@ -14,10 +14,11 @@ Solution: This is not a real solution, but a hack. The real solution would have
           are readable, albeit not as pretty to look at as they could be. 
 Side-effects: I have not yet found an unwanted side-effect.
 
-diff -r 46ea866ca3ac -r 6ef20eee3f8f gfx/2d/DrawTargetSkia.cpp
---- gfx/2d/DrawTargetSkia.cpp	Tue Oct 22 12:27:22 2019 +0200
-+++ gfx/2d/DrawTargetSkia.cpp	Thu Oct 31 09:11:56 2019 +0100
-@@ -1861,6 +1861,14 @@
+diff --git gfx/2d/DrawTargetSkia.cpp gfx/2d/DrawTargetSkia.cpp
+index 6bbef8d..161b96f 100644
+--- gfx/2d/DrawTargetSkia.cpp
++++ gfx/2d/DrawTargetSkia.cpp
+@@ -1903,6 +1903,14 @@ void DrawTargetSkia::PushLayerWithBlend(bool aOpaque, Float aOpacity,
        SkCanvas::kPreserveLCDText_SaveLayerFlag |
            (aCopyBackground ? SkCanvas::kInitWithPrevious_SaveLayerFlag : 0));
  
@@ -32,3 +33,4 @@ diff -r 46ea866ca3ac -r 6ef20eee3f8f gfx/2d/DrawTargetSkia.cpp
    mCanvas->saveLayer(saveRec);
  
    SetPermitSubpixelAA(aOpaque);
+
diff --git a/www/firefox-esr/files/patch-bug1559213 b/www/firefox-esr/files/patch-bug1559213
index 16928f792f89..09b4dcc58e83 100644
--- a/www/firefox-esr/files/patch-bug1559213
+++ b/www/firefox-esr/files/patch-bug1559213
@@ -11,10 +11,10 @@ Date:   Thu Jun 13 11:53:00 2019 -0700
  4 files changed, 34 insertions(+), 3 deletions(-)
 
 diff --git config/external/moz.build config/external/moz.build
-index 03e4fa143bd1..a67d10b11fe6 100644
+index ab77121..75595d9 100644
 --- config/external/moz.build
 +++ config/external/moz.build
-@@ -40,8 +40,9 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
+@@ -49,8 +49,9 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
      external_dirs += ["media/libvpx"]
  
  if CONFIG["MOZ_AV1"]:
@@ -27,11 +27,11 @@ index 03e4fa143bd1..a67d10b11fe6 100644
  if not CONFIG["MOZ_SYSTEM_PNG"]:
      external_dirs += ["media/libpng"]
 diff --git config/system-headers.mozbuild config/system-headers.mozbuild
-index bcf5c4925564..48964a999a9b 100644
+index a1b58eb..65729f9 100644
 --- config/system-headers.mozbuild
 +++ config/system-headers.mozbuild
-@@ -1305,6 +1305,14 @@ if CONFIG['MOZ_SYSTEM_HARFBUZZ']:
-         'harfbuzz/hb.h',
+@@ -1289,6 +1289,14 @@ if CONFIG['MOZ_ENABLE_LIBPROXY']:
+         'proxy.h',
      ]
  
 +if CONFIG['MOZ_SYSTEM_AV1']:
@@ -46,7 +46,7 @@ index bcf5c4925564..48964a999a9b 100644
      system_headers += [
          'vpx_mem/vpx_mem.h',
 diff --git dom/media/platforms/moz.build dom/media/platforms/moz.build
-index 092cee0c9b66..38e45de5b5f0 100644
+index 8509aec..eb6f129 100644
 --- dom/media/platforms/moz.build
 +++ dom/media/platforms/moz.build
 @@ -78,6 +78,11 @@ if CONFIG["MOZ_AV1"]:
@@ -61,11 +61,33 @@ index 092cee0c9b66..38e45de5b5f0 100644
  
  if CONFIG["MOZ_OMX"]:
      EXPORTS += [
+diff --git media/ffvpx/libavcodec/moz.build media/ffvpx/libavcodec/moz.build
+index 0069865..e806fc8 100644
+--- media/ffvpx/libavcodec/moz.build
++++ media/ffvpx/libavcodec/moz.build
+@@ -112,9 +112,15 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']:
+             'vaapi_vp8.c',
+             'vaapi_vp9.c',
+         ]
++        if CONFIG["MOZ_SYSTEM_AV1"]:
++          CFLAGS += CONFIG['MOZ_SYSTEM_LIBDAV1D_CFLAGS']
++          OS_LIBS += CONFIG['MOZ_SYSTEM_LIBDAV1D_LIBS']
++        else:
++          USE_LIBS += [
++            'dav1d',
++            'media_libdav1d_asm',
++          ]
+         USE_LIBS += [
+-          'dav1d',
+-          'media_libdav1d_asm',
+           'mozva'
+         ]
+ 
 diff --git toolkit/moz.configure toolkit/moz.configure
-index 82b5a59acf42..e2329560b42b 100644
---- toolkit/moz.configure.orig	2021-04-13 16:12:34.770032000 +0200
-+++ toolkit/moz.configure	2021-04-18 00:03:41.432698000 +0200
-@@ -538,7 +538,23 @@
+index 0069865..e806fc8 100644
+--- toolkit/moz.configure
++++ toolkit/moz.configure
+@@ -523,7 +523,23 @@ def av1(value):
          return True
  
  
@@ -90,11 +112,11 @@ index 82b5a59acf42..e2329560b42b 100644
  def dav1d_asm(target):
      if target.cpu in ("aarch64", "x86", "x86_64"):
          return True
-@@ -554,6 +570,7 @@
+@@ -539,6 +555,7 @@ set_config("MOZ_DAV1D_ASM", dav1d_asm)
  set_define("MOZ_DAV1D_ASM", dav1d_asm)
  set_config("MOZ_AV1", av1)
  set_define("MOZ_AV1", av1)
 +set_config("MOZ_SYSTEM_AV1", depends_if(system_av1)(lambda _: True))
  
- # Built-in fragmented MP4 support.
+ # JXL Image Codec Support
  # ==============================================================
diff --git a/www/firefox-esr/files/patch-bug1602730_comment5 b/www/firefox-esr/files/patch-bug1602730_comment5
deleted file mode 100644
index 49f9f4321df8..000000000000
--- a/www/firefox-esr/files/patch-bug1602730_comment5
+++ /dev/null
@@ -1,24 +0,0 @@
---- gfx/layers/composite/CompositableHost.cpp.orig	2020-09-12 21:47:42 UTC
-+++ gfx/layers/composite/CompositableHost.cpp
-@@ -13,6 +13,7 @@
- #include "ImageHost.h"  // for ImageHostBuffered, etc
- #include "Layers.h"
- #include "TiledContentHost.h"  // for TiledContentHost
-+#include "mozilla/EndianUtils.h"
- #include "mozilla/gfx/gfxVars.h"
- #include "mozilla/layers/LayersSurfaces.h"  // for SurfaceDescriptor
- #include "mozilla/layers/TextureHost.h"     // for TextureHost, etc
-@@ -92,9 +93,13 @@ bool CompositableHost::AddMaskEffect(EffectChain& aEff
-   }
-   MOZ_ASSERT(source);
- 
-+  // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
-+  // if the typed URL is too long for the textbox (automatic scrolling needed)
-+#if MOZ_LITTLE_ENDIAN()
-   RefPtr<EffectMask> effect =
-       new EffectMask(source, source->GetSize(), aTransform);
-   aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
-+#endif
-   return true;
- }
- 
diff --git a/www/firefox-esr/files/patch-bug1612184 b/www/firefox-esr/files/patch-bug1612184
deleted file mode 100644
index 33d391a3b647..000000000000
--- a/www/firefox-esr/files/patch-bug1612184
+++ /dev/null
@@ -1,25961 +0,0 @@
-https://bugzilla.mozilla.org/show_bug.cgi?id=1612184
-https://bug1612184.bmoattachments.org/attachment.cgi?id=9126363
-
-
-diff -r 388a4d04e911 media/webrtc/gn-configs/ppc64_False_ppc64_freebsd.json
---- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-+++ dom/media/webrtc/third_party_build/gn-configs/ppc64_False_ppc64_freebsd.json	Thu Feb 13 11:11:51 2020 +0100
-@@ -0,0 +1,13237 @@
-+{
-+    "gn_gen_args": {
-+        "host_cpu": "ppc64",
-+        "is_debug": false,
-+        "target_cpu": "ppc64",
-+        "target_os": "freebsd"
-+    },
-+    "mozbuild_args": {
-+        "CPU_ARCH": "ppc64",
-+        "HOST_CPU_ARCH": "ppc64",
-+        "MOZ_DEBUG": null,
-+        "OS_TARGET": "FreeBSD"
-+    },
-+    "sandbox_vars": {
-+        "COMPILE_FLAGS": {
-+            "WARNINGS_AS_ERRORS": []
-+        },
-+        "FINAL_LIBRARY": "webrtc"
-+    },
-+    "targets": {
-+        "//:webrtc": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
-+                "-Wno-user-defined-warnings",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fomit-frame-pointer",
-+                "-g2",
-+                "-fvisibility=hidden",
-+                "-Xclang",
-+                "-add-plugin",
-+                "-Xclang",
-+                "find-bad-constructs",
-+                "-Xclang",
-+                "-plugin-arg-find-bad-constructs",
-+                "-Xclang",
-+                "check-auto-raw-pointer",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wextra",
-+                "-Wno-unused-parameter",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-strict-overflow",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture"
-+            ],
-+            "defines": [
-+                "V8_DEPRECATION_WARNINGS",
-+                "USE_X11=1",
-+                "CHROMIUM_BUILD",
-+                "_FILE_OFFSET_BITS=64",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "WEBRTC_RESTRICT_LOGGING",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD",
-+                "HAVE_WEBRTC_VIDEO",
-+                "HAVE_WEBRTC_VOICE"
-+            ],
-+            "deps": [
-+                "//:webrtc_common",
-+                "//api:base_peerconnection_api",
-+                "//api:transport_api",
-+                "//api:video_frame_api",
-+                "//audio:audio",
-+                "//call:call",
-+                "//common_audio:common_audio",
-+                "//common_video:common_video",
-+                "//media:media",
-+                "//modules:modules",
-+                "//modules/video_capture:video_capture_internal_impl",
-+                "//rtc_base:rtc_base",
-+                "//system_wrappers:field_trial_default",
-+                "//system_wrappers:metrics_default",
-+                "//system_wrappers:system_wrappers_default",
-+                "//video:video",
-+                "//voice_engine:voice_engine"
-+            ],
-+            "include_dirs": [
-+                "//",
-+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
-+                "//common_audio/resampler/include/",
-+                "//common_audio/signal_processing/include/",
-+                "//common_audio/vad/include/",
-+                "//common_video/include/",
-+                "/media/libyuv/libyuv/include/",
-+                "//modules/audio_coding/include/",
-+                "//modules/include/",
-+                "//modules/include/",
-+                "//modules/audio_device/include/",
-+                "//modules/audio_device/dummy/"
-+            ],
-+            "libs": [
-+                "X11",
-+                "X11-xcb",
-+                "xcb",
-+                "Xcomposite",
-+                "Xcursor",
-+                "Xdamage",
-+                "Xext",
-+                "Xfixes",
-+                "Xi",
-+                "Xrender"
-+            ],
-+            "sources": [],
-+            "type": "static_library"
-+        },
-+        "//:webrtc_common": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
-+                "-Wno-user-defined-warnings",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fomit-frame-pointer",
-+                "-g2",
-+                "-fvisibility=hidden",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wextra",
-+                "-Wno-unused-parameter",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-strict-overflow",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture"
-+            ],
-+            "defines": [
-+                "V8_DEPRECATION_WARNINGS",
-+                "USE_X11=1",
-+                "CHROMIUM_BUILD",
-+                "_FILE_OFFSET_BITS=64",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "WEBRTC_RESTRICT_LOGGING",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD"
-+            ],
-+            "deps": [],
-+            "include_dirs": [
-+                "//",
-+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/"
-+            ],
-+            "libs": [],
-+            "sources": [
-+                "//common_types.cc",
-+                "//common_types.h",
-+                "//typedefs.h"
-+            ],
-+            "type": "static_library"
-+        },
-+        "//api/audio_codecs/L16:audio_decoder_L16": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
-+                "-Wno-user-defined-warnings",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fomit-frame-pointer",
-+                "-g2",
-+                "-fvisibility=hidden",
-+                "-Xclang",
-+                "-add-plugin",
-+                "-Xclang",
-+                "find-bad-constructs",
-+                "-Xclang",
-+                "-plugin-arg-find-bad-constructs",
-+                "-Xclang",
-+                "check-auto-raw-pointer",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wextra",
-+                "-Wno-unused-parameter",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-strict-overflow",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture"
-+            ],
-+            "defines": [
-+                "V8_DEPRECATION_WARNINGS",
-+                "USE_X11=1",
-+                "CHROMIUM_BUILD",
-+                "_FILE_OFFSET_BITS=64",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "WEBRTC_RESTRICT_LOGGING",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD"
-+            ],
-+            "deps": [
-+                "//:webrtc_common",
-+                "//api:optional",
-+                "//api/audio_codecs:audio_codecs_api",
-+                "//modules/audio_coding:pcm16b",
-+                "//rtc_base:rtc_base_approved"
-+            ],
-+            "include_dirs": [
-+                "//",
-+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
-+                "//modules/audio_coding/codecs/pcm16b/include/"
-+            ],
-+            "libs": [],
-+            "sources": [
-+                "//api/audio_codecs/L16/audio_decoder_L16.cc",
-+                "//api/audio_codecs/L16/audio_decoder_L16.h"
-+            ],
-+            "type": "static_library"
-+        },
-+        "//api/audio_codecs/L16:audio_encoder_L16": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
-+                "-Wno-user-defined-warnings",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fomit-frame-pointer",
-+                "-g2",
-+                "-fvisibility=hidden",
-+                "-Xclang",
-+                "-add-plugin",
-+                "-Xclang",
-+                "find-bad-constructs",
-+                "-Xclang",
-+                "-plugin-arg-find-bad-constructs",
-+                "-Xclang",
-+                "check-auto-raw-pointer",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wextra",
-+                "-Wno-unused-parameter",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-strict-overflow",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture"
-+            ],
-+            "defines": [
-+                "V8_DEPRECATION_WARNINGS",
-+                "USE_X11=1",
-+                "CHROMIUM_BUILD",
-+                "_FILE_OFFSET_BITS=64",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "WEBRTC_RESTRICT_LOGGING",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD"
-+            ],
-+            "deps": [
-+                "//:webrtc_common",
-+                "//api:optional",
-+                "//api/audio_codecs:audio_codecs_api",
-+                "//modules/audio_coding:pcm16b",
-+                "//rtc_base:rtc_base_approved"
-+            ],
-+            "include_dirs": [
-+                "//",
-+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
-+                "//modules/audio_coding/codecs/pcm16b/include/"
-+            ],
-+            "libs": [],
-+            "sources": [
-+                "//api/audio_codecs/L16/audio_encoder_L16.cc",
-+                "//api/audio_codecs/L16/audio_encoder_L16.h"
-+            ],
-+            "type": "static_library"
-+        },
-+        "//api/audio_codecs/g711:audio_decoder_g711": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
-+                "-Wno-user-defined-warnings",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fomit-frame-pointer",
-+                "-g2",
-+                "-fvisibility=hidden",
-+                "-Xclang",
-+                "-add-plugin",
-+                "-Xclang",
-+                "find-bad-constructs",
-+                "-Xclang",
-+                "-plugin-arg-find-bad-constructs",
-+                "-Xclang",
-+                "check-auto-raw-pointer",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wextra",
-+                "-Wno-unused-parameter",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-strict-overflow",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture"
-+            ],
-+            "defines": [
-+                "V8_DEPRECATION_WARNINGS",
-+                "USE_X11=1",
-+                "CHROMIUM_BUILD",
-+                "_FILE_OFFSET_BITS=64",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "WEBRTC_RESTRICT_LOGGING",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD"
-+            ],
-+            "deps": [
-+                "//:webrtc_common",
-+                "//api:optional",
-+                "//api/audio_codecs:audio_codecs_api",
-+                "//modules/audio_coding:g711",
-+                "//rtc_base:rtc_base_approved"
-+            ],
-+            "include_dirs": [
-+                "//",
-+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
-+                "//modules/audio_coding/codecs/g711/include/"
-+            ],
-+            "libs": [],
-+            "sources": [
-+                "//api/audio_codecs/g711/audio_decoder_g711.cc",
-+                "//api/audio_codecs/g711/audio_decoder_g711.h"
-+            ],
-+            "type": "static_library"
-+        },
-+        "//api/audio_codecs/g711:audio_encoder_g711": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
-+                "-Wno-user-defined-warnings",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fomit-frame-pointer",
-+                "-g2",
-+                "-fvisibility=hidden",
-+                "-Xclang",
-+                "-add-plugin",
-+                "-Xclang",
-+                "find-bad-constructs",
-+                "-Xclang",
-+                "-plugin-arg-find-bad-constructs",
-+                "-Xclang",
-+                "check-auto-raw-pointer",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wextra",
-+                "-Wno-unused-parameter",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-strict-overflow",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture"
-+            ],
-+            "defines": [
-+                "V8_DEPRECATION_WARNINGS",
-+                "USE_X11=1",
-+                "CHROMIUM_BUILD",
-+                "_FILE_OFFSET_BITS=64",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "WEBRTC_RESTRICT_LOGGING",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD"
-+            ],
-+            "deps": [
-+                "//:webrtc_common",
-+                "//api:optional",
-+                "//api/audio_codecs:audio_codecs_api",
-+                "//modules/audio_coding:g711",
-+                "//rtc_base:rtc_base_approved"
-+            ],
-+            "include_dirs": [
-+                "//",
-+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
-+                "//modules/audio_coding/codecs/g711/include/"
-+            ],
-+            "libs": [],
-+            "sources": [
-+                "//api/audio_codecs/g711/audio_encoder_g711.cc",
-+                "//api/audio_codecs/g711/audio_encoder_g711.h"
-+            ],
-+            "type": "static_library"
-+        },
-+        "//api/audio_codecs/g722:audio_decoder_g722": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
-+                "-Wno-user-defined-warnings",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fomit-frame-pointer",
-+                "-g2",
-+                "-fvisibility=hidden",
-+                "-Xclang",
-+                "-add-plugin",
-+                "-Xclang",
-+                "find-bad-constructs",
-+                "-Xclang",
-+                "-plugin-arg-find-bad-constructs",
-+                "-Xclang",
-+                "check-auto-raw-pointer",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wextra",
-+                "-Wno-unused-parameter",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-strict-overflow",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture"
-+            ],
-+            "defines": [
-+                "V8_DEPRECATION_WARNINGS",
-+                "USE_X11=1",
-+                "CHROMIUM_BUILD",
-+                "_FILE_OFFSET_BITS=64",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "WEBRTC_RESTRICT_LOGGING",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD"
-+            ],
-+            "deps": [
-+                "//:webrtc_common",
-+                "//api:optional",
-+                "//api/audio_codecs:audio_codecs_api",
-+                "//modules/audio_coding:g722",
-+                "//rtc_base:rtc_base_approved"
-+            ],
-+            "include_dirs": [
-+                "//",
-+                "/root/firefox_upstream/firefox/obj-powerpc64-unknown-freebsd13.0/media/webrtc/trunk/webrtc/gn-output/gen/",
-+                "//modules/audio_coding/codecs/g722/include/"
-+            ],
-+            "libs": [],
-+            "sources": [
-+                "//api/audio_codecs/g722/audio_decoder_g722.cc",
-+                "//api/audio_codecs/g722/audio_decoder_g722.h"
-+            ],
-+            "type": "static_library"
-+        },
-+        "//api/audio_codecs/g722:audio_encoder_g722": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-funwind-tables",
-+                "-fcolor-diagnostics",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-covered-switch-default",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-inconsistent-missing-override",
-+                "-Wno-undefined-var-template",
-+                "-Wno-nonportable-include-path",
-+                "-Wno-address-of-packed-member",
-+                "-Wno-unused-lambda-capture",
*** 97442 LINES SKIPPED ***