Source code

Revision control

Copy as Markdown

Other Tools

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
---
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") {}