| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//build/config/linux/pkg_config.gni") | 7 import("//build/config/linux/pkg_config.gni") |
| 8 import("//components/os_crypt/features.gni") | 8 import("//components/os_crypt/features.gni") |
| 9 | 9 |
| 10 if (use_gnome_keyring) { | 10 if (use_gnome_keyring) { |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 deps = [ | 153 deps = [ |
| 154 ":os_crypt", | 154 ":os_crypt", |
| 155 ":test_support", | 155 ":test_support", |
| 156 "//base", | 156 "//base", |
| 157 "//crypto", | 157 "//crypto", |
| 158 "//testing/gmock", | 158 "//testing/gmock", |
| 159 "//testing/gtest", | 159 "//testing/gtest", |
| 160 ] | 160 ] |
| 161 | 161 |
| 162 if (is_desktop_linux) { | 162 if (is_desktop_linux) { |
| 163 sources += [ "os_crypt_linux_unittest.cc" ] | 163 sources += [ |
| 164 "key_storage_util_linux_unittest.cc", |
| 165 "os_crypt_linux_unittest.cc", |
| 166 ] |
| 164 defines = [] | 167 defines = [] |
| 165 | 168 |
| 166 if (use_gnome_keyring) { | 169 if (use_gnome_keyring) { |
| 167 sources += [ "key_storage_keyring_unittest.cc" ] | 170 sources += [ "key_storage_keyring_unittest.cc" ] |
| 168 configs += [ ":gnome_keyring" ] | 171 configs += [ ":gnome_keyring" ] |
| 169 deps += [ "//base/test:test_support" ] | 172 deps += [ "//base/test:test_support" ] |
| 170 defines += [ "USE_KEYRING" ] | 173 defines += [ "USE_KEYRING" ] |
| 171 } | 174 } |
| 172 if (use_glib) { | 175 if (use_glib) { |
| 173 sources += [ "key_storage_libsecret_unittest.cc" ] | 176 sources += [ "key_storage_libsecret_unittest.cc" ] |
| 174 deps += [ "//third_party/libsecret" ] | 177 deps += [ "//third_party/libsecret" ] |
| 175 defines += [ "USE_LIBSECRET" ] | 178 defines += [ "USE_LIBSECRET" ] |
| 176 } | 179 } |
| 177 if (use_dbus) { | 180 if (use_dbus) { |
| 178 sources += [ | 181 sources += [ |
| 179 "key_storage_kwallet_unittest.cc", | 182 "key_storage_kwallet_unittest.cc", |
| 180 "kwallet_dbus_unittest.cc", | 183 "kwallet_dbus_unittest.cc", |
| 181 ] | 184 ] |
| 182 deps += [ "//dbus:test_support" ] | 185 deps += [ "//dbus:test_support" ] |
| 183 defines += [ "USE_KWALLET" ] | 186 defines += [ "USE_KWALLET" ] |
| 184 } | 187 } |
| 185 } | 188 } |
| 186 } | 189 } |
| OLD | NEW |