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 source_set("os_crypt") { | 5 source_set("os_crypt") { |
6 sources = [ | 6 sources = [ |
7 "ie7_password_win.cc", | 7 "ie7_password_win.cc", |
8 "ie7_password_win.h", | 8 "ie7_password_win.h", |
9 "keychain_password_mac.h", | 9 "keychain_password_mac.h", |
10 "keychain_password_mac.mm", | 10 "keychain_password_mac.mm", |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 if (is_win) { | 40 if (is_win) { |
41 libs = [ "crypt32.lib" ] | 41 libs = [ "crypt32.lib" ] |
42 } | 42 } |
43 | 43 |
44 if (is_desktop_linux) { | 44 if (is_desktop_linux) { |
45 sources += [ | 45 sources += [ |
46 "libsecret_util_posix.cc", | 46 "libsecret_util_posix.cc", |
47 "libsecret_util_posix.h", | 47 "libsecret_util_posix.h", |
48 ] | 48 ] |
| 49 configs += [ "//build/config/linux:glib" ] |
49 deps += [ "//third_party/libsecret" ] | 50 deps += [ "//third_party/libsecret" ] |
50 defines = [ "USE_LIBSECRET" ] | 51 defines = [ "USE_LIBSECRET" ] |
51 } | 52 } |
52 } | 53 } |
53 | 54 |
54 source_set("unit_tests") { | 55 source_set("unit_tests") { |
55 testonly = true | 56 testonly = true |
56 sources = [ | 57 sources = [ |
57 "ie7_password_win_unittest.cc", | 58 "ie7_password_win_unittest.cc", |
58 "keychain_password_mac_unittest.mm", | 59 "keychain_password_mac_unittest.mm", |
59 "os_crypt_unittest.cc", | 60 "os_crypt_unittest.cc", |
60 ] | 61 ] |
61 deps = [ | 62 deps = [ |
62 ":os_crypt", | 63 ":os_crypt", |
63 "//base", | 64 "//base", |
64 "//crypto", | 65 "//crypto", |
65 "//testing/gtest", | 66 "//testing/gtest", |
66 ] | 67 ] |
67 } | 68 } |
OLD | NEW |