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 # Put all transitive dependencies for Windows HMAC here. | 8 # Put all transitive dependencies for Windows HMAC here. |
9 # This is required so that we can build them for nacl win64. | 9 # This is required so that we can build them for nacl win64. |
10 'hmac_win64_related_sources': [ | 10 'hmac_win64_related_sources': [ |
(...skipping 17 matching lines...) Expand all Loading... |
28 '../base/base.gyp:base', | 28 '../base/base.gyp:base', |
29 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 29 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
30 ], | 30 ], |
31 'defines': [ | 31 'defines': [ |
32 'CRYPTO_IMPLEMENTATION', | 32 'CRYPTO_IMPLEMENTATION', |
33 ], | 33 ], |
34 'msvs_disabled_warnings': [ | 34 'msvs_disabled_warnings': [ |
35 4018, | 35 4018, |
36 ], | 36 ], |
37 'conditions': [ | 37 'conditions': [ |
38 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { | 38 [ 'os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
39 'dependencies': [ | 39 'dependencies': [ |
40 '../build/linux/system.gyp:ssl', | 40 '../build/linux/system.gyp:ssl', |
41 ], | 41 ], |
42 'export_dependent_settings': [ | 42 'export_dependent_settings': [ |
43 '../build/linux/system.gyp:ssl', | 43 '../build/linux/system.gyp:ssl', |
44 ], | 44 ], |
45 'conditions': [ | 45 'conditions': [ |
46 [ 'chromeos==1', { | 46 [ 'chromeos==1', { |
47 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 47 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
48 }, | 48 }, |
49 ], | 49 ], |
50 ], | 50 ], |
51 }, { # os_posix != 1 or OS == "mac" or OS == "android" | 51 }, { # os_posix != 1 or OS == "mac" or OS == "ios" or OS == "android" |
52 'sources/': [ | 52 'sources/': [ |
53 ['exclude', '_nss\.cc$'], | 53 ['exclude', '_nss\.cc$'], |
54 ['include', 'ec_private_key_nss\.cc$'], | 54 ['include', 'ec_private_key_nss\.cc$'], |
55 ['include', 'ec_signature_creator_nss\.cc$'], | 55 ['include', 'ec_signature_creator_nss\.cc$'], |
56 ['include', 'encryptor_nss\.cc$'], | 56 ['include', 'encryptor_nss\.cc$'], |
57 ['include', 'hmac_nss\.cc$'], | 57 ['include', 'hmac_nss\.cc$'], |
58 ['include', 'signature_verifier_nss\.cc$'], | 58 ['include', 'signature_verifier_nss\.cc$'], |
59 ['include', 'symmetric_key_nss\.cc$'], | 59 ['include', 'symmetric_key_nss\.cc$'], |
60 ], | 60 ], |
61 'sources!': [ | 61 'sources!': [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 ], | 93 ], |
94 }, | 94 }, |
95 }, { # OS != "mac" | 95 }, { # OS != "mac" |
96 'sources!': [ | 96 'sources!': [ |
97 'cssm_init.cc', | 97 'cssm_init.cc', |
98 'cssm_init.h', | 98 'cssm_init.h', |
99 'mac_security_services_lock.cc', | 99 'mac_security_services_lock.cc', |
100 'mac_security_services_lock.h', | 100 'mac_security_services_lock.h', |
101 ], | 101 ], |
102 }], | 102 }], |
103 [ 'OS == "mac" or OS == "win"', { | 103 [ 'OS == "mac" or OS == "ios" or OS == "win"', { |
104 'dependencies': [ | 104 'dependencies': [ |
105 '../third_party/nss/nss.gyp:nspr', | 105 '../third_party/nss/nss.gyp:nspr', |
106 '../third_party/nss/nss.gyp:nss', | 106 '../third_party/nss/nss.gyp:nss', |
107 ], | 107 ], |
108 'export_dependent_settings': [ | 108 'export_dependent_settings': [ |
109 '../third_party/nss/nss.gyp:nspr', | 109 '../third_party/nss/nss.gyp:nspr', |
110 '../third_party/nss/nss.gyp:nss', | 110 '../third_party/nss/nss.gyp:nss', |
111 ], | 111 ], |
112 }], | 112 }], |
113 [ 'OS != "win"', { | 113 [ 'OS != "win"', { |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 'openpgp_symmetric_encryption_unittest.cc', | 255 'openpgp_symmetric_encryption_unittest.cc', |
256 ], | 256 ], |
257 'dependencies': [ | 257 'dependencies': [ |
258 'crypto', | 258 'crypto', |
259 '../base/base.gyp:base', | 259 '../base/base.gyp:base', |
260 '../base/base.gyp:test_support_base', | 260 '../base/base.gyp:test_support_base', |
261 '../testing/gmock.gyp:gmock', | 261 '../testing/gmock.gyp:gmock', |
262 '../testing/gtest.gyp:gtest', | 262 '../testing/gtest.gyp:gtest', |
263 ], | 263 ], |
264 'conditions': [ | 264 'conditions': [ |
265 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { | 265 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
266 'conditions': [ | 266 'conditions': [ |
267 [ 'linux_use_tcmalloc==1', { | 267 [ 'linux_use_tcmalloc==1', { |
268 'dependencies': [ | 268 'dependencies': [ |
269 '../base/allocator/allocator.gyp:allocator', | 269 '../base/allocator/allocator.gyp:allocator', |
270 ], | 270 ], |
271 }, | 271 }, |
272 ], | 272 ], |
273 ], | 273 ], |
274 'dependencies': [ | 274 'dependencies': [ |
275 '../build/linux/system.gyp:ssl', | 275 '../build/linux/system.gyp:ssl', |
276 ], | 276 ], |
277 }, { # os_posix != 1 or OS == "mac" or OS == "android" | 277 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" |
278 'sources!': [ | 278 'sources!': [ |
279 'rsa_private_key_nss_unittest.cc', | 279 'rsa_private_key_nss_unittest.cc', |
280 'openpgp_symmetric_encryption_unittest.cc', | 280 'openpgp_symmetric_encryption_unittest.cc', |
281 ] | 281 ] |
282 }], | 282 }], |
283 [ 'OS == "mac" or OS == "win"', { | 283 [ 'OS == "mac" or OS == "ios" or OS == "win"', { |
284 'dependencies': [ | 284 'dependencies': [ |
285 '../third_party/nss/nss.gyp:nss', | 285 '../third_party/nss/nss.gyp:nss', |
286 ], | 286 ], |
287 }], | 287 }], |
| 288 ['OS == "ios"', { |
| 289 'sources!': [ |
| 290 # These tests are excluded because they test classes that are not |
| 291 # implemented on iOS. |
| 292 'rsa_private_key_unittest.cc', |
| 293 'signature_creator_unittest.cc', |
| 294 'signature_verifier_unittest.cc', |
| 295 ], |
| 296 }], |
288 [ 'OS == "mac"', { | 297 [ 'OS == "mac"', { |
289 'dependencies': [ | 298 'dependencies': [ |
290 '../third_party/nss/nss.gyp:nspr', | 299 '../third_party/nss/nss.gyp:nspr', |
291 ], | 300 ], |
292 }], | 301 }], |
293 [ 'use_openssl==1', { | 302 [ 'use_openssl==1', { |
294 'sources!': [ | 303 'sources!': [ |
295 'nss_util_unittest.cc', | 304 'nss_util_unittest.cc', |
296 'openpgp_symmetric_encryption_unittest.cc', | 305 'openpgp_symmetric_encryption_unittest.cc', |
297 'rsa_private_key_nss_unittest.cc', | 306 'rsa_private_key_nss_unittest.cc', |
(...skipping 28 matching lines...) Expand all Loading... |
326 'configurations': { | 335 'configurations': { |
327 'Common_Base': { | 336 'Common_Base': { |
328 'msvs_target_platform': 'x64', | 337 'msvs_target_platform': 'x64', |
329 }, | 338 }, |
330 }, | 339 }, |
331 }, | 340 }, |
332 ], | 341 ], |
333 }], | 342 }], |
334 ], | 343 ], |
335 } | 344 } |
OLD | NEW |