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', | 18 'encryptor/encryptor.h', |
19 'encryptor/encryptor_mac.mm', | 19 'encryptor/encryptor_mac.mm', |
20 'encryptor/encryptor_password_mac.h', | 20 'encryptor/encryptor_password_mac.h', |
21 'encryptor/encryptor_password_mac.mm', | 21 'encryptor/encryptor_password_mac.mm', |
22 'encryptor/encryptor_posix.cc', | 22 'encryptor/encryptor_posix.cc', |
| 23 'encryptor/encryptor_switches.cc', |
| 24 'encryptor/encryptor_switches.h', |
23 'encryptor/encryptor_win.cc', | 25 'encryptor/encryptor_win.cc', |
24 'encryptor/ie7_password_win.cc', | 26 'encryptor/ie7_password_win.cc', |
25 'encryptor/ie7_password_win.h', | 27 'encryptor/ie7_password_win.h', |
26 ], | 28 ], |
27 'conditions': [ | 29 'conditions': [ |
28 ['OS=="mac"', { | 30 ['OS=="mac"', { |
29 'sources!': [ | 31 'sources!': [ |
30 'encryptor/encryptor_posix.cc', | 32 'encryptor/encryptor_posix.cc', |
31 ], | 33 ], |
32 }], | 34 }], |
33 ], | 35 ], |
34 'target_conditions': [ | 36 'target_conditions': [ |
35 ['OS=="ios"', { | 37 ['OS=="ios"', { |
36 'sources/': [ | 38 'sources/': [ |
37 ['include', '^encryptor/encryptor_mac\\.mm$'], | 39 ['include', '^encryptor/encryptor_mac\\.mm$'], |
38 ['include', '^encryptor/encryptor_password_mac\\.mm$'], | 40 ['include', '^encryptor/encryptor_password_mac\\.mm$'], |
39 ], | 41 ], |
40 }], | 42 }], |
41 ], | 43 ], |
42 }, | 44 }, |
43 ], | 45 ], |
44 } | 46 } |
OLD | NEW |