| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 == "ios" or OS == "android" | 51 }, { # os_posix != 1 or OS == "mac" or OS == "ios" or OS == "android" |
| 52 'sources/': [ | |
| 53 ['exclude', '_nss\.cc$'], | |
| 54 ['include', 'ec_private_key_nss\.cc$'], | |
| 55 ['include', 'ec_signature_creator_nss\.cc$'], | |
| 56 ['include', 'encryptor_nss\.cc$'], | |
| 57 ['include', 'hmac_nss\.cc$'], | |
| 58 ['include', 'signature_verifier_nss\.cc$'], | |
| 59 ['include', 'symmetric_key_nss\.cc$'], | |
| 60 ], | |
| 61 'sources!': [ | 52 'sources!': [ |
| 62 'hmac_win.cc', | 53 'hmac_win.cc', |
| 63 'openpgp_symmetric_encryption.cc', | 54 'openpgp_symmetric_encryption.cc', |
| 64 'openpgp_symmetric_encryption.h', | 55 'openpgp_symmetric_encryption.h', |
| 65 'symmetric_key_win.cc', | 56 'symmetric_key_win.cc', |
| 66 ], | 57 ], |
| 67 }], | 58 }], |
| 68 [ 'OS != "mac" and OS != "ios"', { | 59 [ 'OS != "mac" and OS != "ios"', { |
| 69 'sources!': [ | 60 'sources!': [ |
| 70 'apple_keychain.h', | 61 'apple_keychain.h', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 86 ], | 77 ], |
| 87 }], | 78 }], |
| 88 [ 'os_bsd==1', { | 79 [ 'os_bsd==1', { |
| 89 'link_settings': { | 80 'link_settings': { |
| 90 'libraries': [ | 81 'libraries': [ |
| 91 '-L/usr/local/lib -lexecinfo', | 82 '-L/usr/local/lib -lexecinfo', |
| 92 ], | 83 ], |
| 93 }, | 84 }, |
| 94 }, | 85 }, |
| 95 ], | 86 ], |
| 96 [ 'OS == "ios"', { | |
| 97 'sources!': [ | |
| 98 # This class is stubbed out on iOS. | |
| 99 'rsa_private_key.cc', | |
| 100 ], | |
| 101 }], | |
| 102 [ 'OS == "mac"', { | 87 [ 'OS == "mac"', { |
| 103 'link_settings': { | 88 'link_settings': { |
| 104 'libraries': [ | 89 'libraries': [ |
| 105 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 90 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 106 ], | 91 ], |
| 107 }, | 92 }, |
| 108 }, { # OS != "mac" | 93 }, { # OS != "mac" |
| 109 'sources!': [ | 94 'sources!': [ |
| 110 'cssm_init.cc', | 95 'cssm_init.cc', |
| 111 'cssm_init.h', | 96 'cssm_init.h', |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 'openpgp_symmetric_encryption.cc', | 206 'openpgp_symmetric_encryption.cc', |
| 222 'openpgp_symmetric_encryption.h', | 207 'openpgp_symmetric_encryption.h', |
| 223 'openssl_util.cc', | 208 'openssl_util.cc', |
| 224 'openssl_util.h', | 209 'openssl_util.h', |
| 225 'p224.cc', | 210 'p224.cc', |
| 226 'p224.h', | 211 'p224.h', |
| 227 'random.h', | 212 'random.h', |
| 228 'random.cc', | 213 'random.cc', |
| 229 'rsa_private_key.cc', | 214 'rsa_private_key.cc', |
| 230 'rsa_private_key.h', | 215 'rsa_private_key.h', |
| 231 'rsa_private_key_ios.cc', | |
| 232 'rsa_private_key_mac.cc', | |
| 233 'rsa_private_key_nss.cc', | 216 'rsa_private_key_nss.cc', |
| 234 'rsa_private_key_openssl.cc', | 217 'rsa_private_key_openssl.cc', |
| 235 'rsa_private_key_win.cc', | |
| 236 'scoped_capi_types.h', | 218 'scoped_capi_types.h', |
| 237 'scoped_nss_types.h', | 219 'scoped_nss_types.h', |
| 238 'secure_hash.h', | 220 'secure_hash.h', |
| 239 'secure_hash_default.cc', | 221 'secure_hash_default.cc', |
| 240 'secure_hash_openssl.cc', | 222 'secure_hash_openssl.cc', |
| 241 'sha2.cc', | 223 'sha2.cc', |
| 242 'sha2.h', | 224 'sha2.h', |
| 243 'signature_creator.h', | 225 'signature_creator.h', |
| 244 'signature_creator_mac.cc', | |
| 245 'signature_creator_nss.cc', | 226 'signature_creator_nss.cc', |
| 246 'signature_creator_openssl.cc', | 227 'signature_creator_openssl.cc', |
| 247 'signature_creator_win.cc', | |
| 248 'signature_verifier.h', | 228 'signature_verifier.h', |
| 249 'signature_verifier_nss.cc', | 229 'signature_verifier_nss.cc', |
| 250 'signature_verifier_openssl.cc', | 230 'signature_verifier_openssl.cc', |
| 251 'symmetric_key_nss.cc', | 231 'symmetric_key_nss.cc', |
| 252 'symmetric_key_openssl.cc', | 232 'symmetric_key_openssl.cc', |
| 253 'third_party/nss/chromium-blapi.h', | 233 'third_party/nss/chromium-blapi.h', |
| 254 'third_party/nss/chromium-blapit.h', | 234 'third_party/nss/chromium-blapit.h', |
| 255 'third_party/nss/chromium-nss.h', | 235 'third_party/nss/chromium-nss.h', |
| 256 'third_party/nss/pk11akey.cc', | 236 'third_party/nss/pk11akey.cc', |
| 257 'third_party/nss/secsign.cc', | 237 'third_party/nss/secsign.cc', |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 'sources!': [ | 289 'sources!': [ |
| 310 'rsa_private_key_nss_unittest.cc', | 290 'rsa_private_key_nss_unittest.cc', |
| 311 'openpgp_symmetric_encryption_unittest.cc', | 291 'openpgp_symmetric_encryption_unittest.cc', |
| 312 ] | 292 ] |
| 313 }], | 293 }], |
| 314 [ 'OS == "mac" or OS == "ios" or OS == "win"', { | 294 [ 'OS == "mac" or OS == "ios" or OS == "win"', { |
| 315 'dependencies': [ | 295 'dependencies': [ |
| 316 '../third_party/nss/nss.gyp:nss', | 296 '../third_party/nss/nss.gyp:nss', |
| 317 ], | 297 ], |
| 318 }], | 298 }], |
| 319 ['OS == "ios"', { | |
| 320 'sources!': [ | |
| 321 # These tests are excluded because they test classes that are not | |
| 322 # implemented on iOS. | |
| 323 'rsa_private_key_unittest.cc', | |
| 324 'signature_creator_unittest.cc', | |
| 325 'signature_verifier_unittest.cc', | |
| 326 ], | |
| 327 }], | |
| 328 [ 'OS == "mac"', { | 299 [ 'OS == "mac"', { |
| 329 'dependencies': [ | 300 'dependencies': [ |
| 330 '../third_party/nss/nss.gyp:nspr', | 301 '../third_party/nss/nss.gyp:nspr', |
| 331 ], | 302 ], |
| 332 }], | 303 }], |
| 333 [ 'OS == "win"', { | 304 [ 'OS == "win"', { |
| 334 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 305 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 335 'msvs_disabled_warnings': [4267, ], | 306 'msvs_disabled_warnings': [4267, ], |
| 336 }], | 307 }], |
| 337 [ 'use_openssl==1', { | 308 [ 'use_openssl==1', { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 'configurations': { | 341 'configurations': { |
| 371 'Common_Base': { | 342 'Common_Base': { |
| 372 'msvs_target_platform': 'x64', | 343 'msvs_target_platform': 'x64', |
| 373 }, | 344 }, |
| 374 }, | 345 }, |
| 375 }, | 346 }, |
| 376 ], | 347 ], |
| 377 }], | 348 }], |
| 378 ], | 349 ], |
| 379 } | 350 } |
| OLD | NEW |