1
0
Fork 0
firefox/third_party/chromium/build/moz-patch-stack/0020.patch
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

28 lines
980 B
Diff

From: Michael Froman <mfroman@mozilla.com>
Date: Wed, 4 Oct 2023 22:29:00 +0000
Subject: Bug 1855330 - pt3 - add shim targets to limit BUILD.gn changes.
r=ng,webrtc-reviewers
Adding these shim targets reduces the need to modify many BUILD.gn
files by removing those deps. We can retroactively fix the places
we're already removing those deps in a future bug.
Depends on D190094
Differential Revision: https://phabricator.services.mozilla.com/D190095
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/a150bc95a2e914da08d6c0e0cfb0f4887f5b9ae7
---
config/compiler/BUILD.gn | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config/compiler/BUILD.gn b/config/compiler/BUILD.gn
index a1293bc43..9a91ad87c 100644
--- a/config/compiler/BUILD.gn
+++ b/config/compiler/BUILD.gn
@@ -2646,3 +2646,6 @@ config("cet_shadow_stack") {
ldflags = [ "/CETCOMPAT" ]
}
}
+
+# moz shim target to limit widespread BUILD.gn changes
+config("prevent_unsafe_narrowing") {}