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        'crypto_export.h',
12        'hmac.cc',
13        'hmac.h',
14        'openssl_util.cc',
15        'openssl_util.h',
16        'secure_util.cc',
17        'secure_util.h',
18        'symmetric_key.cc',
19        'symmetric_key.h',
20      ],
21    },
22    'crypto_sources': [
23      # NOTE: all transitive dependencies of HMAC on windows need
24      #     to be placed in the source list above.
25      '<@(hmac_win64_related_sources)',
26      'aead.cc',
27      'aead.h',
28      'apple_keychain.h',
29      'apple_keychain_ios.mm',
30      'apple_keychain_mac.mm',
31      'auto_cbb.h',
32      'capi_util.cc',
33      'capi_util.h',
34      'cssm_init.cc',
35      'cssm_init.h',
36      'curve25519.cc',
37      'curve25519.h',
38      'ec_private_key.cc',
39      'ec_private_key.h',
40      'ec_signature_creator.cc',
41      'ec_signature_creator.h',
42      'ec_signature_creator_impl.cc',
43      'ec_signature_creator_impl.h',
44      'encryptor.cc',
45      'encryptor.h',
46      'hkdf.cc',
47      'hkdf.h',
48      'mac_security_services_lock.cc',
49      'mac_security_services_lock.h',
50      'mock_apple_keychain.cc',
51      'mock_apple_keychain.h',
52      'mock_apple_keychain_ios.cc',
53      'mock_apple_keychain_mac.cc',
54      'p224_spake.cc',
55      'p224_spake.h',
56      'nss_crypto_module_delegate.h',
57      'nss_key_util.cc',
58      'nss_key_util.h',
59      'nss_util.cc',
60      'nss_util.h',
61      'nss_util_internal.h',
62      'openssl_bio_string.cc',
63      'openssl_bio_string.h',
64      'p224.cc',
65      'p224.h',
66      'random.h',
67      'random.cc',
68      'rsa_private_key.cc',
69      'rsa_private_key.h',
70      'scoped_capi_types.h',
71      'scoped_nss_types.h',
72      'secure_hash.cc',
73      'secure_hash.h',
74      'sha2.cc',
75      'sha2.h',
76      'signature_creator.cc',
77      'signature_creator.h',
78      'signature_verifier.cc',
79      'signature_verifier.h',
80      'wincrypt_shim.h',
81    ],
82    'nacl_win64_sources': [
83      '<@(hmac_win64_related_sources)',
84      'random.cc',
85      'random.h',
86    ],
87  }
88}
89