2022-10-18 03:42:58 +02:00
|
|
|
diff --git ui/accessibility/platform/BUILD.gn ui/accessibility/platform/BUILD.gn
|
2024-05-23 03:52:35 +02:00
|
|
|
index 3e295499c9ddf..f9109fecb2f49 100644
|
2022-10-18 03:42:58 +02:00
|
|
|
--- ui/accessibility/platform/BUILD.gn
|
|
|
|
+++ ui/accessibility/platform/BUILD.gn
|
2024-05-23 03:52:35 +02:00
|
|
|
@@ -305,6 +305,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" ]
|
|
|
|
+ }
|
|
|
|
}
|