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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ], | 68 ], |
69 'target_conditions': [ | 69 'target_conditions': [ |
70 ['OS=="ios"', { | 70 ['OS=="ios"', { |
71 'sources/': [ | 71 'sources/': [ |
72 ['include', '^os_crypt/keychain_password_mac\\.mm$'], | 72 ['include', '^os_crypt/keychain_password_mac\\.mm$'], |
73 ['include', '^os_crypt/os_crypt_mac\\.mm$'], | 73 ['include', '^os_crypt/os_crypt_mac\\.mm$'], |
74 ], | 74 ], |
75 }], | 75 }], |
76 ], | 76 ], |
77 }, | 77 }, |
| 78 { |
| 79 'target_name': 'os_crypt_test_support', |
| 80 'type': 'static_library', |
| 81 'sources': [ |
| 82 "os_crypt/os_crypt_mocker.cc", |
| 83 "os_crypt/os_crypt_mocker.h", |
| 84 ], |
| 85 'dependencies': [ |
| 86 '../base/base.gyp:base', |
| 87 ], |
| 88 'conditions': [ |
| 89 ['OS=="linux" and chromeos!=1 and use_glib==1', { |
| 90 'defines': [ |
| 91 'USE_LIBSECRET', |
| 92 ], |
| 93 'include_dirs' : [ |
| 94 '../third_party/libsecret/' |
| 95 ], |
| 96 'dependencies': [ |
| 97 '../build/linux/system.gyp:glib', |
| 98 ], |
| 99 }], |
| 100 ] |
| 101 } |
78 ], | 102 ], |
79 } | 103 } |
OLD | NEW |