commit ca45aae537a9623d39ed1c2237ef848a986fa9a4
parent f4cc2ab5dd16ec85f9a3f9ff07e11c7d2d67d753
Author: Michael Froman <mfroman@mozilla.com>
Date: Wed, 15 Oct 2025 14:19:01 -0500
Bug 1993083 - Vendor libwebrtc from ec2e093baa - moz.build file updates
Diffstat:
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/CLOBBER b/CLOBBER
@@ -22,4 +22,4 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.
-Merge day clobber 2025-10-13
-\ No newline at end of file
+Modified build files in third_party/libwebrtc - Bug 1993083 - Vendor libwebrtc from ec2e093baa
diff --git a/third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build b/third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build
@@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1":
if CONFIG["OS_TARGET"] == "Android":
+ CXXFLAGS += [
+ "-std=gnu++20"
+ ]
+
DEFINES["ANDROID"] = True
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
DEFINES["HAVE_SYS_UIO_H"] = True
@@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
+ CXXFLAGS += [
+ "-std=gnu++20"
+ ]
+
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin":
if CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+ "-std=gnu++20"
+ ]
+
DEFINES["USE_AURA"] = "1"
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_OZONE"] = "1"
@@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux":
if CONFIG["OS_TARGET"] == "OpenBSD":
+ CXXFLAGS += [
+ "-std=gnu++20"
+ ]
+
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_OZONE"] = "1"
DEFINES["WEBRTC_BSD"] = True
@@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
if CONFIG["OS_TARGET"] == "WINNT":
+ CXXFLAGS += [
+ "-std:c++20"
+ ]
+
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["NOMINMAX"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"