Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Side by Side Diff: crypto/crypto.gyp

Issue 10875029: Rename MacKeychain to AppleKeychain (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile error. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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!': [
62 'hmac_win.cc', 62 'hmac_win.cc',
63 'openpgp_symmetric_encryption.cc', 63 'openpgp_symmetric_encryption.cc',
64 'openpgp_symmetric_encryption.h', 64 'openpgp_symmetric_encryption.h',
65 'symmetric_key_win.cc', 65 'symmetric_key_win.cc',
66 ], 66 ],
67 }], 67 }],
68 [ 'OS != "mac" and OS != "ios"', {
69 'sources!': [
70 'apple_keychain.h',
71 'mock_apple_keychain.cc',
72 'mock_apple_keychain.h',
73 ],
74 }],
68 [ 'OS == "android"', { 75 [ 'OS == "android"', {
69 'dependencies': [ 76 'dependencies': [
70 '../third_party/openssl/openssl.gyp:openssl', 77 '../third_party/openssl/openssl.gyp:openssl',
71 ], 78 ],
72 'sources/': [ 79 'sources/': [
73 ['exclude', 'ec_private_key_nss\.cc$'], 80 ['exclude', 'ec_private_key_nss\.cc$'],
74 ['exclude', 'ec_signature_creator_nss\.cc$'], 81 ['exclude', 'ec_signature_creator_nss\.cc$'],
75 ['exclude', 'encryptor_nss\.cc$'], 82 ['exclude', 'encryptor_nss\.cc$'],
76 ['exclude', 'hmac_nss\.cc$'], 83 ['exclude', 'hmac_nss\.cc$'],
77 ['exclude', 'signature_verifier_nss\.cc$'], 84 ['exclude', 'signature_verifier_nss\.cc$'],
78 ['exclude', 'symmetric_key_nss\.cc$'], 85 ['exclude', 'symmetric_key_nss\.cc$'],
79 ], 86 ],
80 }], 87 }],
81 [ 'os_bsd==1', { 88 [ 'os_bsd==1', {
82 'link_settings': { 89 'link_settings': {
83 'libraries': [ 90 'libraries': [
84 '-L/usr/local/lib -lexecinfo', 91 '-L/usr/local/lib -lexecinfo',
85 ], 92 ],
86 }, 93 },
87 }, 94 },
88 ], 95 ],
96 [ 'OS == "ios"', {
97 'sources!': [
98 # This class is stubbed out on iOS.
99 'rsa_private_key.cc',
100 ],
101 }],
89 [ 'OS == "mac"', { 102 [ 'OS == "mac"', {
90 'link_settings': { 103 'link_settings': {
91 'libraries': [ 104 'libraries': [
92 '$(SDKROOT)/System/Library/Frameworks/Security.framework', 105 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
93 ], 106 ],
94 }, 107 },
95 }, { # OS != "mac" 108 }, { # OS != "mac"
96 'sources!': [ 109 'sources!': [
97 'cssm_init.cc', 110 'cssm_init.cc',
98 'cssm_init.h', 111 'cssm_init.h',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 'openssl_util.cc', 162 'openssl_util.cc',
150 'openssl_util.h', 163 'openssl_util.h',
151 'rsa_private_key_openssl.cc', 164 'rsa_private_key_openssl.cc',
152 'secure_hash_openssl.cc', 165 'secure_hash_openssl.cc',
153 'signature_creator_openssl.cc', 166 'signature_creator_openssl.cc',
154 'signature_verifier_openssl.cc', 167 'signature_verifier_openssl.cc',
155 'symmetric_key_openssl.cc', 168 'symmetric_key_openssl.cc',
156 ], 169 ],
157 },], 170 },],
158 ], 171 ],
159 'target_conditions' : [
160 [ 'OS == "ios"', {
161 'sources!': [
162 # This class is stubbed out on iOS.
163 'rsa_private_key.cc',
164 ],
165 }],
166 ],
167 'sources': [ 172 'sources': [
168 # NOTE: all transitive dependencies of HMAC on windows need 173 # NOTE: all transitive dependencies of HMAC on windows need
169 # to be placed in the source list above. 174 # to be placed in the source list above.
170 '<@(hmac_win64_related_sources)', 175 '<@(hmac_win64_related_sources)',
176 'apple_keychain.h',
177 'apple_keychain_ios.mm',
178 'apple_keychain_mac.mm',
171 'capi_util.cc', 179 'capi_util.cc',
172 'capi_util.h', 180 'capi_util.h',
173 'crypto_export.h', 181 'crypto_export.h',
174 'crypto_module_blocking_password_delegate.h', 182 'crypto_module_blocking_password_delegate.h',
175 'cssm_init.cc', 183 'cssm_init.cc',
176 'cssm_init.h', 184 'cssm_init.h',
177 'ec_private_key.h', 185 'ec_private_key.h',
178 'ec_private_key_nss.cc', 186 'ec_private_key_nss.cc',
179 'ec_private_key_openssl.cc', 187 'ec_private_key_openssl.cc',
180 'ec_signature_creator.cc', 188 'ec_signature_creator.cc',
181 'ec_signature_creator.h', 189 'ec_signature_creator.h',
182 'ec_signature_creator_impl.h', 190 'ec_signature_creator_impl.h',
183 'ec_signature_creator_nss.cc', 191 'ec_signature_creator_nss.cc',
184 'ec_signature_creator_openssl.cc', 192 'ec_signature_creator_openssl.cc',
185 'encryptor.cc', 193 'encryptor.cc',
186 'encryptor.h', 194 'encryptor.h',
187 'encryptor_nss.cc', 195 'encryptor_nss.cc',
188 'encryptor_openssl.cc', 196 'encryptor_openssl.cc',
189 'hmac_nss.cc', 197 'hmac_nss.cc',
190 'hmac_openssl.cc', 198 'hmac_openssl.cc',
191 'keychain_mac.cc',
192 'keychain_mac.h',
193 'mac_security_services_lock.cc', 199 'mac_security_services_lock.cc',
194 'mac_security_services_lock.h', 200 'mac_security_services_lock.h',
195 'mock_keychain_mac.cc', 201 'mock_apple_keychain.cc',
196 'mock_keychain_mac.h', 202 'mock_apple_keychain.h',
203 'mock_apple_keychain_ios.cc',
204 'mock_apple_keychain_mac.cc',
197 'p224_spake.cc', 205 'p224_spake.cc',
198 'p224_spake.h', 206 'p224_spake.h',
199 'nss_util.cc', 207 'nss_util.cc',
200 'nss_util.h', 208 'nss_util.h',
201 'nss_util_internal.h', 209 'nss_util_internal.h',
202 'openpgp_symmetric_encryption.cc', 210 'openpgp_symmetric_encryption.cc',
203 'openpgp_symmetric_encryption.h', 211 'openpgp_symmetric_encryption.h',
204 'openssl_util.cc', 212 'openssl_util.cc',
205 'openssl_util.h', 213 'openssl_util.h',
206 'p224.cc', 214 'p224.cc',
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 'configurations': { 352 'configurations': {
345 'Common_Base': { 353 'Common_Base': {
346 'msvs_target_platform': 'x64', 354 'msvs_target_platform': 'x64',
347 }, 355 },
348 }, 356 },
349 }, 357 },
350 ], 358 ],
351 }], 359 }],
352 ], 360 ],
353 } 361 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698