cef/patch/patches/linux_glib_deprecated_volatile.patch
Marshall Greenblatt 584b19967a Update to Chromium version 112.0.5615.0
- Windows: VS2022 and Win11 SDK 10.0.22621.0 are now required.
2023-03-03 09:59:30 -05:00

29 lines
729 B
Diff

diff --git ui/accessibility/platform/BUILD.gn ui/accessibility/platform/BUILD.gn
index ebc2470893838..dd3b924499c9c 100644
--- ui/accessibility/platform/BUILD.gn
+++ ui/accessibility/platform/BUILD.gn
@@ -285,6 +285,10 @@ component("platform") {
if (use_gio) {
configs += [ "//build/linux:gio_config" ]
}
+
+ if (is_clang) {
+ cflags = [ "-Wno-deprecated-volatile" ]
+ }
}
}
}
diff --git ui/gtk/BUILD.gn ui/gtk/BUILD.gn
index 76ab8c9765bec..8bc3cdd0fec96 100644
--- ui/gtk/BUILD.gn
+++ ui/gtk/BUILD.gn
@@ -174,4 +174,8 @@ component("gtk") {
# TODO: This should be removed.
deps += [ "//ui/ozone" ]
+
+ if (is_clang) {
+ cflags = [ "-Wno-deprecated-volatile" ]
+ }
}