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': 'os_crypt', |
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_switches.cc', | 18 'os_crypt/ie7_password_win.cc', |
19 'encryptor/encryptor_switches.h', | 19 'os_crypt/ie7_password_win.h', |
20 'encryptor/ie7_password_win.cc', | 20 'os_crypt/keychain_password_mac.h', |
21 'encryptor/ie7_password_win.h', | 21 'os_crypt/keychain_password_mac.mm', |
22 'encryptor/keychain_password_mac.h', | 22 'os_crypt/os_crypt.h', |
23 'encryptor/keychain_password_mac.mm', | 23 'os_crypt/os_crypt_mac.mm', |
24 'encryptor/os_crypt.h', | 24 'os_crypt/os_crypt_posix.cc', |
25 'encryptor/os_crypt_mac.mm', | 25 'os_crypt/os_crypt_switches.cc', |
26 'encryptor/os_crypt_posix.cc', | 26 'os_crypt/os_crypt_switches.h', |
27 'encryptor/os_crypt_win.cc', | 27 'os_crypt/os_crypt_win.cc', |
28 ], | 28 ], |
29 'conditions': [ | 29 'conditions': [ |
30 ['OS=="mac"', { | 30 ['OS=="mac"', { |
31 'sources!': [ | 31 'sources!': [ |
32 'encryptor/os_crypt_posix.cc', | 32 'os_crypt/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/keychain_password_mac\\.mm$'], | 39 ['include', '^os_crypt/keychain_password_mac\\.mm$'], |
40 ['include', '^encryptor/os_crypt_mac\\.mm$'], | 40 ['include', '^os_crypt/os_crypt_mac\\.mm$'], |
41 ], | 41 ], |
42 }], | 42 }], |
43 ], | 43 ], |
44 }, | 44 }, |
45 ], | 45 ], |
46 } | 46 } |
OLD | NEW |