0

Enable wexit_time_destructors for security_interstitials production code

Ensure components/security_interstitials does not accidentally add exit
time destructors going forward.

Bug: 101600
Change-Id: I0c97cfc9849e573e492f9e94996d4e054106170e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4906194
Reviewed-by: Chris Thompson <cthomp@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204220}
This commit is contained in:
Lei Zhang
2023-10-02 19:43:38 +00:00
committed by Chromium LUCI CQ
parent 5c15ea1aca
commit 3ece9a7870
3 changed files with 7 additions and 0 deletions
components/security_interstitials
content
core

@ -103,6 +103,8 @@ static_library("security_interstitial_page") {
"//third_party/re2",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
if (enable_captive_portal_detection) {
sources += [
"captive_portal_metrics_recorder.cc",

@ -11,4 +11,5 @@ static_library("security_interstitial_page_controller") {
"//third_party/blink/public:blink",
"//third_party/blink/public/common",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}

@ -70,6 +70,8 @@ static_library("core") {
]
public_deps = [ "//components/security_interstitials/core/common/mojom" ]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}
static_library("unsafe_resource") {
@ -87,6 +89,8 @@ static_library("unsafe_resource") {
"//net",
"//services/network/public/mojom",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}
source_set("unit_tests") {