diff options
Diffstat (limited to 'crypto/crypto.gyp')
-rw-r--r-- | crypto/crypto.gyp | 53 |
1 files changed, 9 insertions, 44 deletions
diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp index f095719..405ad0b 100644 --- a/crypto/crypto.gyp +++ b/crypto/crypto.gyp @@ -5,19 +5,6 @@ { 'variables': { 'chromium_code': 1, - # Put all transitive dependencies for Windows HMAC here. - # This is required so that we can build them for nacl win64. - 'hmac_win64_related_sources': [ - 'hmac.cc', - 'hmac.h', - 'hmac_win.cc', - 'secure_util.cc', - 'secure_util.h', - 'symmetric_key.h', - 'symmetric_key_win.cc', - 'third_party/nss/chromium-sha256.h', - 'third_party/nss/sha512.cc', - ], }, 'targets': [ { @@ -144,9 +131,6 @@ },], ], 'sources': [ - # NOTE: all transitive dependencies of HMAC on windows need - # to be placed in the source list above. - '<@(hmac_win64_related_sources)', 'capi_util.cc', 'capi_util.h', 'crypto_export.h', @@ -167,9 +151,12 @@ 'encryptor_nss.cc', 'encryptor_openssl.cc', 'encryptor_win.cc', + 'hmac.cc', + 'hmac.h', 'hmac_mac.cc', 'hmac_nss.cc', 'hmac_openssl.cc', + 'hmac_win.cc', 'keychain_mac.cc', 'keychain_mac.h', 'mac_security_services_lock.cc', @@ -198,6 +185,8 @@ 'secure_hash.h', 'secure_hash_default.cc', 'secure_hash_openssl.cc', + 'secure_util.cc', + 'secure_util.h', 'sha2.cc', 'sha2.h', 'signature_creator.h', @@ -208,14 +197,18 @@ 'signature_verifier.h', 'signature_verifier_nss.cc', 'signature_verifier_openssl.cc', + 'symmetric_key.h', 'symmetric_key_mac.cc', 'symmetric_key_nss.cc', 'symmetric_key_openssl.cc', + 'symmetric_key_win.cc', 'third_party/nss/chromium-blapi.h', 'third_party/nss/chromium-blapit.h', 'third_party/nss/chromium-nss.h', + 'third_party/nss/chromium-sha256.h', 'third_party/nss/pk11akey.cc', 'third_party/nss/secsign.cc', + 'third_party/nss/sha512.cc', ], }, { @@ -288,32 +281,4 @@ ], }, ], - 'conditions': [ - [ 'OS == "win"', { - 'targets': [ - { - 'target_name': 'crypto_nacl_win64', - 'type': '<(component)', - 'dependencies': [ - '../base/base.gyp:base_nacl_win64', - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64', - ], - 'sources': [ - '<@(hmac_win64_related_sources)', - ], - 'defines': [ - 'CRYPTO_IMPLEMENTATION', - ], - 'msvs_disabled_warnings': [ - 4018, - ], - 'configurations': { - 'Common_Base': { - 'msvs_target_platform': 'x64', - }, - }, - }, - ], - }], - ], } |