Enable wexit_time_destructors config in google_apis production targets
Ensure google_apis code do not accidentally add exit time destructors going forward. Bug: 101600 Change-Id: I895505a4c445fffd6004d7b3145e41f4806c2644 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4912442 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1205899}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
0c002f01f0
commit
ca6762aed6
@ -163,7 +163,10 @@ component("google_apis") {
|
||||
"google_api_keys.h",
|
||||
]
|
||||
|
||||
configs += [ ":key_defines" ]
|
||||
configs += [
|
||||
":key_defines",
|
||||
"//build/config/compiler:wexit_time_destructors",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
":buildflags",
|
||||
|
@ -25,6 +25,8 @@ static_library("calendar") {
|
||||
"//net",
|
||||
"//services/network/public/cpp",
|
||||
]
|
||||
|
||||
configs += [ "//build/config/compiler:wexit_time_destructors" ]
|
||||
}
|
||||
|
||||
source_set("test_support") {
|
||||
|
@ -31,6 +31,8 @@ static_library("classroom") {
|
||||
"//net",
|
||||
"//services/network/public/cpp",
|
||||
]
|
||||
|
||||
configs += [ "//build/config/compiler:wexit_time_destructors" ]
|
||||
}
|
||||
|
||||
source_set("classroom_unittests") {
|
||||
|
@ -32,6 +32,8 @@ static_library("common") {
|
||||
"//net",
|
||||
"//services/network/public/cpp",
|
||||
]
|
||||
|
||||
configs += [ "//build/config/compiler:wexit_time_destructors" ]
|
||||
}
|
||||
|
||||
source_set("test_support") {
|
||||
|
@ -29,6 +29,8 @@ source_set("drive") {
|
||||
"//net",
|
||||
"//services/network/public/cpp",
|
||||
]
|
||||
|
||||
configs += [ "//build/config/compiler:wexit_time_destructors" ]
|
||||
}
|
||||
|
||||
source_set("drive_unittests") {
|
||||
|
@ -29,6 +29,8 @@ static_library("tasks") {
|
||||
"//net",
|
||||
"//services/network/public/cpp",
|
||||
]
|
||||
|
||||
configs += [ "//build/config/compiler:wexit_time_destructors" ]
|
||||
}
|
||||
|
||||
source_set("tasks_unittests") {
|
||||
|
Reference in New Issue
Block a user