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 17 matching lines...) Expand all Loading... |
28 sources -= [ "os_crypt_posix.cc" ] | 28 sources -= [ "os_crypt_posix.cc" ] |
29 } | 29 } |
30 | 30 |
31 if (is_ios) { | 31 if (is_ios) { |
32 sources += [ | 32 sources += [ |
33 "keychain_password_mac.mm", | 33 "keychain_password_mac.mm", |
34 "os_crypt_mac.mm", | 34 "os_crypt_mac.mm", |
35 ] | 35 ] |
36 } | 36 } |
37 } | 37 } |
| 38 |
| 39 source_set("unit_tests") { |
| 40 testonly = true |
| 41 sources = [ |
| 42 "ie7_password_win_unittest.cc", |
| 43 "keychain_password_mac_unittest.mm", |
| 44 "os_crypt_unittest.cc", |
| 45 ] |
| 46 deps = [ |
| 47 ":os_crypt", |
| 48 "//base", |
| 49 "//testing/gtest", |
| 50 ] |
| 51 } |
OLD | NEW |