| Index: components/os_crypt/BUILD.gn
|
| diff --git a/components/os_crypt/BUILD.gn b/components/os_crypt/BUILD.gn
|
| index 4dc731bc1cb372cae6d176f2d710f5ad1c56f9e0..81da1116f068d618a05e887095c7381938c10128 100644
|
| --- a/components/os_crypt/BUILD.gn
|
| +++ b/components/os_crypt/BUILD.gn
|
| @@ -44,7 +44,7 @@
|
| libs = [ "crypt32.lib" ]
|
| }
|
|
|
| - if (is_desktop_linux) {
|
| + if (is_desktop_linux && (use_glib || use_dbus)) {
|
| sources -= [ "os_crypt_posix.cc" ]
|
| sources += [
|
| "key_storage_linux.cc",
|
| @@ -86,7 +86,7 @@
|
| "//base",
|
| "//testing/gtest",
|
| ]
|
| - if (is_desktop_linux) {
|
| + if (is_desktop_linux && (use_glib || use_dbus)) {
|
| sources += [
|
| "os_crypt_mocker_linux.cc",
|
| "os_crypt_mocker_linux.h",
|
| @@ -112,7 +112,7 @@
|
| "//testing/gtest",
|
| ]
|
|
|
| - if (is_desktop_linux) {
|
| + if (is_desktop_linux && (use_glib || use_dbus)) {
|
| sources += [ "os_crypt_linux_unittest.cc" ]
|
| defines = []
|
|
|
|
|