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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 if (is_win) { | 67 if (is_win) { |
68 libs = [ "crypt32.lib" ] | 68 libs = [ "crypt32.lib" ] |
69 } | 69 } |
70 | 70 |
71 if (is_desktop_linux) { | 71 if (is_desktop_linux) { |
72 sources -= [ "os_crypt_posix.cc" ] | 72 sources -= [ "os_crypt_posix.cc" ] |
73 sources += [ | 73 sources += [ |
74 "key_storage_linux.cc", | 74 "key_storage_linux.cc", |
75 "key_storage_linux.h", | 75 "key_storage_linux.h", |
| 76 "key_storage_util_linux.cc", |
| 77 "key_storage_util_linux.h", |
76 "os_crypt_linux.cc", | 78 "os_crypt_linux.cc", |
77 ] | 79 ] |
78 defines = [] | 80 defines = [] |
79 | 81 |
80 if (use_gnome_keyring) { | 82 if (use_gnome_keyring) { |
81 sources += [ | 83 sources += [ |
82 "keyring_util_linux.cc", | 84 "keyring_util_linux.cc", |
83 "keyring_util_linux.h", | 85 "keyring_util_linux.h", |
84 ] | 86 ] |
85 configs += [ ":gnome_keyring" ] | 87 configs += [ ":gnome_keyring" ] |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 if (use_dbus) { | 164 if (use_dbus) { |
163 sources += [ | 165 sources += [ |
164 "key_storage_kwallet_unittest.cc", | 166 "key_storage_kwallet_unittest.cc", |
165 "kwallet_dbus_unittest.cc", | 167 "kwallet_dbus_unittest.cc", |
166 ] | 168 ] |
167 deps += [ "//dbus:test_support" ] | 169 deps += [ "//dbus:test_support" ] |
168 defines += [ "USE_KWALLET" ] | 170 defines += [ "USE_KWALLET" ] |
169 } | 171 } |
170 } | 172 } |
171 } | 173 } |
OLD | NEW |