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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'encryptor', | 8 'target_name': 'encryptor', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '..', | 11 '..', |
12 ], | 12 ], |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
15 '../crypto/crypto.gyp:crypto', | 15 '../crypto/crypto.gyp:crypto', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 'encryptor/encryptor.h', | |
19 'encryptor/encryptor_mac.mm', | |
20 'encryptor/encryptor_password_mac.h', | |
21 'encryptor/encryptor_password_mac.mm', | |
22 'encryptor/encryptor_posix.cc', | |
23 'encryptor/encryptor_switches.cc', | 18 'encryptor/encryptor_switches.cc', |
24 'encryptor/encryptor_switches.h', | 19 'encryptor/encryptor_switches.h', |
25 'encryptor/encryptor_win.cc', | |
26 'encryptor/ie7_password_win.cc', | 20 'encryptor/ie7_password_win.cc', |
27 'encryptor/ie7_password_win.h', | 21 'encryptor/ie7_password_win.h', |
| 22 'encryptor/keychain_password_mac.h', |
| 23 'encryptor/keychain_password_mac.mm', |
| 24 'encryptor/os_crypt.h', |
| 25 'encryptor/os_crypt_mac.mm', |
| 26 'encryptor/os_crypt_posix.cc', |
| 27 'encryptor/os_crypt_win.cc', |
28 ], | 28 ], |
29 'conditions': [ | 29 'conditions': [ |
30 ['OS=="mac"', { | 30 ['OS=="mac"', { |
31 'sources!': [ | 31 'sources!': [ |
32 'encryptor/encryptor_posix.cc', | 32 'encryptor/os_crypt_posix.cc', |
33 ], | 33 ], |
34 }], | 34 }], |
35 ], | 35 ], |
36 'target_conditions': [ | 36 'target_conditions': [ |
37 ['OS=="ios"', { | 37 ['OS=="ios"', { |
38 'sources/': [ | 38 'sources/': [ |
39 ['include', '^encryptor/encryptor_mac\\.mm$'], | 39 ['include', '^encryptor/keychain_password_mac\\.mm$'], |
40 ['include', '^encryptor/encryptor_password_mac\\.mm$'], | 40 ['include', '^encryptor/os_crypt_mac\\.mm$'], |
41 ], | 41 ], |
42 }], | 42 }], |
43 ], | 43 ], |
44 }, | 44 }, |
45 ], | 45 ], |
46 } | 46 } |
OLD | NEW |