Files
cef/patch/patches/linux_glib_deprecated_volatile.patch
2025-05-06 17:09:21 -04:00

29 lines
729 B
Diff

diff --git ui/accessibility/platform/BUILD.gn ui/accessibility/platform/BUILD.gn
index 30440d1b5ba07..c16bda68afbd2 100644
--- ui/accessibility/platform/BUILD.gn
+++ ui/accessibility/platform/BUILD.gn
@@ -355,6 +355,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 539cc383b43be..574a7a48787fe 100644
--- ui/gtk/BUILD.gn
+++ ui/gtk/BUILD.gn
@@ -173,4 +173,8 @@ component("gtk") {
# TODO: This should be removed.
deps += [ "//ui/ozone" ]
+
+ if (is_clang) {
+ cflags = [ "-Wno-deprecated-volatile" ]
+ }
}