OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'crypto.gypi', | 10 'crypto.gypi', |
(...skipping 23 matching lines...) Expand all Loading... |
34 ], | 34 ], |
35 'conditions': [ | 35 'conditions': [ |
36 [ 'chromeos==1', { | 36 [ 'chromeos==1', { |
37 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 37 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
38 }, | 38 }, |
39 ], | 39 ], |
40 ], | 40 ], |
41 }, { # os_posix != 1 or OS == "mac" or OS == "ios" or OS == "android" | 41 }, { # os_posix != 1 or OS == "mac" or OS == "ios" or OS == "android" |
42 'sources!': [ | 42 'sources!': [ |
43 'hmac_win.cc', | 43 'hmac_win.cc', |
44 'openpgp_symmetric_encryption.cc', | |
45 'openpgp_symmetric_encryption.h', | |
46 'symmetric_key_win.cc', | 44 'symmetric_key_win.cc', |
47 ], | 45 ], |
48 }], | 46 }], |
49 [ 'OS != "mac" and OS != "ios"', { | 47 [ 'OS != "mac" and OS != "ios"', { |
50 'sources!': [ | 48 'sources!': [ |
51 'apple_keychain.h', | 49 'apple_keychain.h', |
52 'mock_apple_keychain.cc', | 50 'mock_apple_keychain.cc', |
53 'mock_apple_keychain.h', | 51 'mock_apple_keychain.h', |
54 ], | 52 ], |
55 }], | 53 }], |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 ], | 104 ], |
107 # TODO(joth): Use a glob to match exclude patterns once the | 105 # TODO(joth): Use a glob to match exclude patterns once the |
108 # OpenSSL file set is complete. | 106 # OpenSSL file set is complete. |
109 'sources!': [ | 107 'sources!': [ |
110 'ec_private_key_nss.cc', | 108 'ec_private_key_nss.cc', |
111 'ec_signature_creator_nss.cc', | 109 'ec_signature_creator_nss.cc', |
112 'encryptor_nss.cc', | 110 'encryptor_nss.cc', |
113 'hmac_nss.cc', | 111 'hmac_nss.cc', |
114 'nss_util.cc', | 112 'nss_util.cc', |
115 'nss_util.h', | 113 'nss_util.h', |
116 'openpgp_symmetric_encryption.cc', | |
117 'rsa_private_key_nss.cc', | 114 'rsa_private_key_nss.cc', |
118 'secure_hash_default.cc', | 115 'secure_hash_default.cc', |
119 'signature_creator_nss.cc', | 116 'signature_creator_nss.cc', |
120 'signature_verifier_nss.cc', | 117 'signature_verifier_nss.cc', |
121 'symmetric_key_nss.cc', | 118 'symmetric_key_nss.cc', |
122 'third_party/nss/chromium-blapi.h', | 119 'third_party/nss/chromium-blapi.h', |
123 'third_party/nss/chromium-blapit.h', | 120 'third_party/nss/chromium-blapit.h', |
124 'third_party/nss/chromium-nss.h', | 121 'third_party/nss/chromium-nss.h', |
125 'third_party/nss/chromium-prtypes.h', | 122 'third_party/nss/chromium-prtypes.h', |
126 'third_party/nss/chromium-sha256.h', | 123 'third_party/nss/chromium-sha256.h', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 'p224_unittest.cc', | 161 'p224_unittest.cc', |
165 'p224_spake_unittest.cc', | 162 'p224_spake_unittest.cc', |
166 'random_unittest.cc', | 163 'random_unittest.cc', |
167 'rsa_private_key_unittest.cc', | 164 'rsa_private_key_unittest.cc', |
168 'rsa_private_key_nss_unittest.cc', | 165 'rsa_private_key_nss_unittest.cc', |
169 'secure_hash_unittest.cc', | 166 'secure_hash_unittest.cc', |
170 'sha2_unittest.cc', | 167 'sha2_unittest.cc', |
171 'signature_creator_unittest.cc', | 168 'signature_creator_unittest.cc', |
172 'signature_verifier_unittest.cc', | 169 'signature_verifier_unittest.cc', |
173 'symmetric_key_unittest.cc', | 170 'symmetric_key_unittest.cc', |
174 'openpgp_symmetric_encryption_unittest.cc', | |
175 ], | 171 ], |
176 'dependencies': [ | 172 'dependencies': [ |
177 'crypto', | 173 'crypto', |
178 '../base/base.gyp:base', | 174 '../base/base.gyp:base', |
179 '../base/base.gyp:run_all_unittests', | 175 '../base/base.gyp:run_all_unittests', |
180 '../base/base.gyp:test_support_base', | 176 '../base/base.gyp:test_support_base', |
181 '../testing/gmock.gyp:gmock', | 177 '../testing/gmock.gyp:gmock', |
182 '../testing/gtest.gyp:gtest', | 178 '../testing/gtest.gyp:gtest', |
183 ], | 179 ], |
184 'conditions': [ | 180 'conditions': [ |
185 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 181 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
186 'conditions': [ | 182 'conditions': [ |
187 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 183 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
188 [ '(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or
(use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', { | 184 [ '(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or
(use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', { |
189 'dependencies': [ | 185 'dependencies': [ |
190 '../base/allocator/allocator.gyp:allocator', | 186 '../base/allocator/allocator.gyp:allocator', |
191 ], | 187 ], |
192 }, | 188 }, |
193 ], | 189 ], |
194 ], | 190 ], |
195 'dependencies': [ | 191 'dependencies': [ |
196 '../build/linux/system.gyp:ssl', | 192 '../build/linux/system.gyp:ssl', |
197 ], | 193 ], |
198 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" | 194 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" |
199 'sources!': [ | 195 'sources!': [ |
200 'rsa_private_key_nss_unittest.cc', | 196 'rsa_private_key_nss_unittest.cc', |
201 'openpgp_symmetric_encryption_unittest.cc', | |
202 ] | 197 ] |
203 }], | 198 }], |
204 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { | 199 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { |
205 'dependencies': [ | 200 'dependencies': [ |
206 '../third_party/nss/nss.gyp:nspr', | 201 '../third_party/nss/nss.gyp:nspr', |
207 ], | 202 ], |
208 }], | 203 }], |
209 [ 'OS == "win"', { | 204 [ 'OS == "win"', { |
210 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 205 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
211 'msvs_disabled_warnings': [4267, ], | 206 'msvs_disabled_warnings': [4267, ], |
212 }], | 207 }], |
213 [ 'use_openssl==1', { | 208 [ 'use_openssl==1', { |
214 'sources!': [ | 209 'sources!': [ |
215 'nss_util_unittest.cc', | 210 'nss_util_unittest.cc', |
216 'openpgp_symmetric_encryption_unittest.cc', | |
217 'rsa_private_key_nss_unittest.cc', | 211 'rsa_private_key_nss_unittest.cc', |
218 ], | 212 ], |
219 }], | 213 }], |
220 ], | 214 ], |
221 }, | 215 }, |
222 ], | 216 ], |
223 'conditions': [ | 217 'conditions': [ |
224 ['OS == "win" and target_arch=="ia32"', { | 218 ['OS == "win" and target_arch=="ia32"', { |
225 'targets': [ | 219 'targets': [ |
226 { | 220 { |
(...skipping 19 matching lines...) Expand all Loading... |
246 'configurations': { | 240 'configurations': { |
247 'Common_Base': { | 241 'Common_Base': { |
248 'msvs_target_platform': 'x64', | 242 'msvs_target_platform': 'x64', |
249 }, | 243 }, |
250 }, | 244 }, |
251 }, | 245 }, |
252 ], | 246 ], |
253 }], | 247 }], |
254 ], | 248 ], |
255 } | 249 } |
OLD | NEW |