Index: chrome/browser/BUILD.gn |
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn |
index 9a51a0f8330f4c658639c9ffab4bb7fbc2a2b71e..1ad2af0ebd858366569e6d28ab9f0c53ba0a4180 100644 |
--- a/chrome/browser/BUILD.gn |
+++ b/chrome/browser/BUILD.gn |
@@ -3496,7 +3496,9 @@ split_static_library("browser") { |
"themes/theme_service_aurax11.h", |
"web_applications/web_app_linux.cc", |
] |
- if (!use_ozone) { |
+ |
+ # libsecret hard depends on GLib. |
+ if (use_glib) { |
sources += [ |
"password_manager/native_backend_libsecret.cc", |
"password_manager/native_backend_libsecret.h", |