2022-10-18 03:42:58 +02:00
|
|
|
diff --git ui/accessibility/platform/BUILD.gn ui/accessibility/platform/BUILD.gn
|
2024-11-14 23:07:03 +01:00
|
|
|
index 2f7f2a8f81ec0..6bea20e981df9 100644
|
2022-10-18 03:42:58 +02:00
|
|
|
--- ui/accessibility/platform/BUILD.gn
|
|
|
|
+++ ui/accessibility/platform/BUILD.gn
|
2024-10-24 17:05:31 +02:00
|
|
|
@@ -342,6 +342,10 @@ component("platform") {
|
2023-01-30 18:43:54 +01:00
|
|
|
if (use_gio) {
|
|
|
|
configs += [ "//build/linux:gio_config" ]
|
2022-10-18 03:42:58 +02:00
|
|
|
}
|
|
|
|
+
|
|
|
|
+ if (is_clang) {
|
|
|
|
+ cflags = [ "-Wno-deprecated-volatile" ]
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
diff --git ui/gtk/BUILD.gn ui/gtk/BUILD.gn
|
2024-01-26 03:12:43 +01:00
|
|
|
index 24f32893160ad..3315d46b4a910 100644
|
2022-10-18 03:42:58 +02:00
|
|
|
--- ui/gtk/BUILD.gn
|
|
|
|
+++ ui/gtk/BUILD.gn
|
2024-01-26 03:12:43 +01:00
|
|
|
@@ -175,4 +175,8 @@ component("gtk") {
|
2022-10-18 03:42:58 +02:00
|
|
|
|
|
|
|
# TODO: This should be removed.
|
|
|
|
deps += [ "//ui/ozone" ]
|
|
|
|
+
|
|
|
|
+ if (is_clang) {
|
|
|
|
+ cflags = [ "-Wno-deprecated-volatile" ]
|
|
|
|
+ }
|
|
|
|
}
|