2022-10-18 03:42:58 +02:00
|
|
|
diff --git ui/accessibility/platform/BUILD.gn ui/accessibility/platform/BUILD.gn
|
2023-08-09 23:17:17 +02:00
|
|
|
index 4e23c38763184..162f8b453f4ac 100644
|
2022-10-18 03:42:58 +02:00
|
|
|
--- ui/accessibility/platform/BUILD.gn
|
|
|
|
+++ ui/accessibility/platform/BUILD.gn
|
2023-08-09 23:17:17 +02:00
|
|
|
@@ -287,6 +287,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
|
2023-08-09 23:17:17 +02:00
|
|
|
index f4c5a2bcebbb7..5faf19980b1bd 100644
|
2022-10-18 03:42:58 +02:00
|
|
|
--- ui/gtk/BUILD.gn
|
|
|
|
+++ ui/gtk/BUILD.gn
|
2023-02-27 19:52:38 +01:00
|
|
|
@@ -174,4 +174,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" ]
|
|
|
|
+ }
|
|
|
|
}
|