Files
tubestation/third_party/libwebrtc/moz-patch-stack/0064.patch
Michael Froman 85ee873b2b Bug 1952339 - Vendor libwebrtc from f30c044cf9
Essentially a no-op since we're going to see this change
reverted when we vendor in 995688c8e8.

Upstream commit: https://webrtc.googlesource.com/src/+/f30c044cf9bd06f91017c171d98690094ce6d88b
    more p2p cleanups

    Move test code from p2p/base and rtc_base/ into p2p/test/
    This p2p/base much less crowded and
    clarifies that the rtc_base/nat* is in fact only test code.

    BUG=webrtc:0

    Change-Id: I4d14fae24cb0eff6783962f4b4483b560367ca5d
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/378900
    Commit-Queue: Jonas Oreland <jonaso@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Auto-Submit: Jonas Oreland <jonaso@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#43995}

Differential Revision: https://phabricator.services.mozilla.com/D244003
2025-03-07 16:45:51 -06:00

32 lines
1.3 KiB
Diff

From: Michael Froman <mfroman@mozilla.com>
Date: Mon, 24 Oct 2022 14:03:00 -0500
Subject: Bug 1797161 - pt3 - add static_assert to ensure we don't include
task_queue_win.cc in Mozilla builds. r?ng!
Differential Revision: https://phabricator.services.mozilla.com/D160117
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/50b15e036924203147e34ec20e2689fe4a847645
---
rtc_base/task_queue_win.cc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/rtc_base/task_queue_win.cc b/rtc_base/task_queue_win.cc
index 513ccd72cc..c9605c6bb2 100644
--- a/rtc_base/task_queue_win.cc
+++ b/rtc_base/task_queue_win.cc
@@ -8,6 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+// Mozilla - this file should not be included in Mozilla builds until
+// win32k API usage is removed. This was once done in Bug 1395259, but
+// the upstreaming attempt stalled. Until win32k usage is officially
+// removed upstream, we have reverted to upstream's version of the file
+// (to reduce or elminate merge conflicts), and a static assert is
+// placed here to ensure this file isn't accidentally included in the
+// Mozilla build.
+static_assert(false, "This file should not be built, see Bug 1797161.");
+
#include "rtc_base/task_queue_win.h"
// clang-format off