• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3# found in the LICENSE file.
4
5{
6  'variables': {
7    # Put all transitive dependencies for Windows HMAC here.
8    # This is required so that we can build them for nacl win64.
9    'variables': {
10      'hmac_win64_related_sources': [
11        'hmac.cc',
12        'hmac.h',
13        'hmac_win.cc',
14        'secure_util.cc',
15        'secure_util.h',
16        'symmetric_key.h',
17        'symmetric_key_win.cc',
18        'third_party/nss/chromium-blapi.h',
19        'third_party/nss/chromium-blapit.h',
20        'third_party/nss/chromium-prtypes.h',
21        'third_party/nss/chromium-sha256.h',
22        'third_party/nss/sha512.cc',
23        'wincrypt_shim.h',
24      ],
25    },
26    'crypto_sources': [
27      # NOTE: all transitive dependencies of HMAC on windows need
28      #     to be placed in the source list above.
29      '<@(hmac_win64_related_sources)',
30      'aead_openssl.cc',
31      'aead_openssl.h',
32      'apple_keychain.h',
33      'apple_keychain_ios.mm',
34      'apple_keychain_mac.mm',
35      'capi_util.cc',
36      'capi_util.h',
37      'crypto_export.h',
38      'cssm_init.cc',
39      'cssm_init.h',
40      'curve25519-donna.c',
41      'curve25519.h',
42      'curve25519_nss.cc',
43      'curve25519_openssl.cc',
44      'ghash.cc',
45      'ghash.h',
46      'ec_private_key.h',
47      'ec_private_key_nss.cc',
48      'ec_private_key_openssl.cc',
49      'ec_signature_creator.cc',
50      'ec_signature_creator.h',
51      'ec_signature_creator_impl.h',
52      'ec_signature_creator_nss.cc',
53      'ec_signature_creator_openssl.cc',
54      'encryptor.cc',
55      'encryptor.h',
56      'encryptor_nss.cc',
57      'encryptor_openssl.cc',
58      'hkdf.cc',
59      'hkdf.h',
60      'hmac_nss.cc',
61      'hmac_openssl.cc',
62      'mac_security_services_lock.cc',
63      'mac_security_services_lock.h',
64      'mock_apple_keychain.cc',
65      'mock_apple_keychain.h',
66      'mock_apple_keychain_ios.cc',
67      'mock_apple_keychain_mac.cc',
68      'p224_spake.cc',
69      'p224_spake.h',
70      'nss_crypto_module_delegate.h',
71      'nss_key_util.cc',
72      'nss_key_util.h',
73      'nss_util.cc',
74      'nss_util.h',
75      'nss_util_internal.h',
76      'openssl_bio_string.cc',
77      'openssl_bio_string.h',
78      'openssl_util.cc',
79      'openssl_util.h',
80      'p224.cc',
81      'p224.h',
82      'random.h',
83      'random.cc',
84      'rsa_private_key.cc',
85      'rsa_private_key.h',
86      'rsa_private_key_nss.cc',
87      'rsa_private_key_openssl.cc',
88      'scoped_capi_types.h',
89      'scoped_nss_types.h',
90      'secure_hash.h',
91      'secure_hash_default.cc',
92      'secure_hash_openssl.cc',
93      'sha2.cc',
94      'sha2.h',
95      'signature_creator.h',
96      'signature_creator_nss.cc',
97      'signature_creator_openssl.cc',
98      'signature_verifier.h',
99      'signature_verifier_nss.cc',
100      'signature_verifier_openssl.cc',
101      'symmetric_key_nss.cc',
102      'symmetric_key_openssl.cc',
103      'third_party/nss/chromium-nss.h',
104      'third_party/nss/pk11akey.cc',
105      'third_party/nss/rsawrapr.c',
106      'third_party/nss/secsign.cc',
107    ],
108    'nacl_win64_sources': [
109      '<@(hmac_win64_related_sources)',
110      'random.cc',
111      'random.h',
112    ],
113  }
114}
115