| 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 18 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 | 30 |
| 31 if (is_ios) { | 31 if (is_ios) { |
| 32 set_sources_assignment_filter([]) | 32 set_sources_assignment_filter([]) |
| 33 sources += [ | 33 sources += [ |
| 34 "keychain_password_mac.mm", | 34 "keychain_password_mac.mm", |
| 35 "os_crypt_mac.mm", | 35 "os_crypt_mac.mm", |
| 36 ] | 36 ] |
| 37 set_sources_assignment_filter(sources_assignment_filter) | 37 set_sources_assignment_filter(sources_assignment_filter) |
| 38 } | 38 } |
| 39 |
| 40 if (is_win) { |
| 41 libs = [ "crypt32.lib" ] |
| 42 } |
| 39 } | 43 } |
| 40 | 44 |
| 41 source_set("unit_tests") { | 45 source_set("unit_tests") { |
| 42 testonly = true | 46 testonly = true |
| 43 sources = [ | 47 sources = [ |
| 44 "ie7_password_win_unittest.cc", | 48 "ie7_password_win_unittest.cc", |
| 45 "keychain_password_mac_unittest.mm", | 49 "keychain_password_mac_unittest.mm", |
| 46 "os_crypt_unittest.cc", | 50 "os_crypt_unittest.cc", |
| 47 ] | 51 ] |
| 48 deps = [ | 52 deps = [ |
| 49 ":os_crypt", | 53 ":os_crypt", |
| 50 "//base", | 54 "//base", |
| 51 "//crypto", | 55 "//crypto", |
| 52 "//testing/gtest", | 56 "//testing/gtest", |
| 53 ] | 57 ] |
| 54 } | 58 } |
| OLD | NEW |