Reenable -Wdeprecated-declarations in google_benchmark
This warning was previously suppressed because google_benchmark used
std::wstring_convert. However, google_benchmark's use of
std::wstring_convert was removed in
https://github.com/google/benchmark/pull/1474, which has been rolled
into Chrome. Therefore, the warning is no longer necessary.
Bug: 1344570
Change-Id: Idd6a6cbcab0134c30441c96c14310a15ac939637
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4367883
Auto-Submit: Alan Zhao <ayzhao@google.com>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1121726}
NOKEYCHECK=True
GitOrigin-RevId: ad08c8ddcebdde07f033c4a8d8139d875677ade7
diff --git a/BUILD.gn b/BUILD.gn
index c2ff928..2f26cfe 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -10,12 +10,6 @@
}
}
-# TODO(crbug.com/1344570): Remove once third_party/google_benchmark no longer
-# uses std::wstring_convert.
-config("benchmark_suppress_warnings") {
- cflags = [ "-Wno-deprecated-declarations" ]
-}
-
component("google_benchmark") {
testonly = true
@@ -71,7 +65,6 @@
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
- ":benchmark_suppress_warnings",
]
if (is_win) {