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

Side by Side Diff: crypto/crypto.gyp

Issue 401623006: Extract ScopedTestNSSDB from nss_util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 4 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 | Annotate | Revision Log
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 }, 8 },
9 'includes': [ 9 'includes': [
10 'crypto.gypi', 10 'crypto.gypi',
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 ], 104 ],
105 # TODO(joth): Use a glob to match exclude patterns once the 105 # TODO(joth): Use a glob to match exclude patterns once the
106 # OpenSSL file set is complete. 106 # OpenSSL file set is complete.
107 'sources!': [ 107 'sources!': [
108 'ec_private_key_nss.cc', 108 'ec_private_key_nss.cc',
109 'ec_signature_creator_nss.cc', 109 'ec_signature_creator_nss.cc',
110 'encryptor_nss.cc', 110 'encryptor_nss.cc',
111 'hmac_nss.cc', 111 'hmac_nss.cc',
112 'nss_util.cc', 112 'nss_util.cc',
113 'nss_util.h', 113 'nss_util.h',
114 'nss_util_internal.h',
114 'rsa_private_key_nss.cc', 115 'rsa_private_key_nss.cc',
115 'secure_hash_default.cc', 116 'secure_hash_default.cc',
116 'signature_creator_nss.cc', 117 'signature_creator_nss.cc',
117 'signature_verifier_nss.cc', 118 'signature_verifier_nss.cc',
118 'symmetric_key_nss.cc', 119 'symmetric_key_nss.cc',
119 'third_party/nss/chromium-blapi.h', 120 'third_party/nss/chromium-blapi.h',
120 'third_party/nss/chromium-blapit.h', 121 'third_party/nss/chromium-blapit.h',
121 'third_party/nss/chromium-nss.h', 122 'third_party/nss/chromium-nss.h',
122 'third_party/nss/chromium-prtypes.h', 123 'third_party/nss/chromium-prtypes.h',
123 'third_party/nss/chromium-sha256.h', 124 'third_party/nss/chromium-sha256.h',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 'rsa_private_key_unittest.cc', 168 'rsa_private_key_unittest.cc',
168 'rsa_private_key_nss_unittest.cc', 169 'rsa_private_key_nss_unittest.cc',
169 'secure_hash_unittest.cc', 170 'secure_hash_unittest.cc',
170 'sha2_unittest.cc', 171 'sha2_unittest.cc',
171 'signature_creator_unittest.cc', 172 'signature_creator_unittest.cc',
172 'signature_verifier_unittest.cc', 173 'signature_verifier_unittest.cc',
173 'symmetric_key_unittest.cc', 174 'symmetric_key_unittest.cc',
174 ], 175 ],
175 'dependencies': [ 176 'dependencies': [
176 'crypto', 177 'crypto',
178 'crypto_test_support',
177 '../base/base.gyp:base', 179 '../base/base.gyp:base',
178 '../base/base.gyp:run_all_unittests', 180 '../base/base.gyp:run_all_unittests',
179 '../base/base.gyp:test_support_base', 181 '../base/base.gyp:test_support_base',
180 '../testing/gmock.gyp:gmock', 182 '../testing/gmock.gyp:gmock',
181 '../testing/gtest.gyp:gtest', 183 '../testing/gtest.gyp:gtest',
182 ], 184 ],
183 'conditions': [ 185 'conditions': [
184 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { 186 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
185 'conditions': [ 187 'conditions': [
186 [ 'use_allocator!="none"', { 188 [ 'use_allocator!="none"', {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 4018, 249 4018,
248 ], 250 ],
249 'configurations': { 251 'configurations': {
250 'Common_Base': { 252 'Common_Base': {
251 'msvs_target_platform': 'x64', 253 'msvs_target_platform': 'x64',
252 }, 254 },
253 }, 255 },
254 }, 256 },
255 ], 257 ],
256 }], 258 }],
259 ['use_nss==1', {
260 'targets': [
261 {
262 'target_name': 'crypto_test_support',
263 'type': 'static_library',
264 'dependencies': [
265 '../base/base.gyp:base',
266 'crypto',
267 ],
268 'sources': [
269 'scoped_test_nss_db.cc',
270 'scoped_test_nss_db.h',
271 'scoped_test_nss_chromeos_user.cc',
272 'scoped_test_nss_chromeos_user.h',
273 'scoped_test_system_nss_key_slot.cc',
274 'scoped_test_system_nss_key_slot.h',
275 ],
276 'conditions': [
277 ['use_nss==0', {
278 'sources!': [
279 'scoped_test_nss_db.cc',
280 'scoped_test_nss_db.h',
281 ],
282 }],
283 [ 'chromeos==0', {
284 'sources!': [
285 'scoped_test_nss_chromeos_user.cc',
286 'scoped_test_nss_chromeos_user.h',
287 'scoped_test_system_nss_key_slot.cc',
288 'scoped_test_system_nss_key_slot.h',
289 ],
290 }],
291 ],
292 }
293 ]}, { # use_nss==0
294 'targets': [
295 {
296 'target_name': 'crypto_test_support',
297 'type': 'none',
298 'sources': [],
299 }
300 ]}],
257 ], 301 ],
258 } 302 }
OLDNEW
« no previous file with comments | « crypto/BUILD.gn ('k') | crypto/nss_util.h » ('j') | crypto/nss_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698