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': 'os_crypt', | 8 'target_name': 'os_crypt', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs': [ | 10 'include_dirs': [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 }, | 43 }, |
44 }, | 44 }, |
45 'msvs_settings': { | 45 'msvs_settings': { |
46 'VCLinkerTool': { | 46 'VCLinkerTool': { |
47 'AdditionalDependencies': [ | 47 'AdditionalDependencies': [ |
48 'crypt32.lib', | 48 'crypt32.lib', |
49 ], | 49 ], |
50 }, | 50 }, |
51 }, | 51 }, |
52 }], | 52 }], |
| 53 ['OS=="linux" and chromeos!=1', { |
| 54 'sources': [ |
| 55 'os_crypt/libsecret_util_posix.cc', |
| 56 'os_crypt/libsecret_util_posix.h', |
| 57 ], |
| 58 'defines': [ |
| 59 'USE_LIBSECRET', |
| 60 ], |
| 61 'include_dirs' : [ |
| 62 '../third_party/libsecret/' |
| 63 ], |
| 64 }], |
53 ], | 65 ], |
54 'target_conditions': [ | 66 'target_conditions': [ |
55 ['OS=="ios"', { | 67 ['OS=="ios"', { |
56 'sources/': [ | 68 'sources/': [ |
57 ['include', '^os_crypt/keychain_password_mac\\.mm$'], | 69 ['include', '^os_crypt/keychain_password_mac\\.mm$'], |
58 ['include', '^os_crypt/os_crypt_mac\\.mm$'], | 70 ['include', '^os_crypt/os_crypt_mac\\.mm$'], |
59 ], | 71 ], |
60 }], | 72 }], |
61 ], | 73 ], |
62 }, | 74 }, |
63 ], | 75 ], |
64 } | 76 } |
OLD | NEW |