[email protected] | 656b6b2 | 2014-04-18 00:34:58 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | source_set("os_crypt") { |
| 6 | sources = [ |
| 7 | "ie7_password_win.cc", |
| 8 | "ie7_password_win.h", |
| 9 | "keychain_password_mac.h", |
| 10 | "keychain_password_mac.mm", |
| 11 | "os_crypt.h", |
| 12 | "os_crypt_mac.mm", |
| 13 | "os_crypt_posix.cc", |
| 14 | "os_crypt_switches.cc", |
| 15 | "os_crypt_switches.h", |
| 16 | "os_crypt_win.cc", |
| 17 | ] |
| 18 | |
| 19 | deps = [ |
| 20 | "//base", |
| 21 | "//crypto", |
scottmg | ac0ea031 | 2014-12-03 19:21:05 | [diff] [blame] | 22 | |
[email protected] | 656b6b2 | 2014-04-18 00:34:58 | [diff] [blame] | 23 | # TODO(tfarina): Remove this dep when http://crbug.com/363749 is fixed. |
| 24 | "//crypto:platform", |
| 25 | ] |
| 26 | |
| 27 | if (is_mac) { |
| 28 | sources -= [ "os_crypt_posix.cc" ] |
| 29 | } |
| 30 | |
| 31 | if (is_ios) { |
| 32 | sources += [ |
| 33 | "keychain_password_mac.mm", |
| 34 | "os_crypt_mac.mm", |
| 35 | ] |
| 36 | } |
| 37 | } |