OLD | NEW |
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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 4018, | 248 4018, |
249 ], | 249 ], |
250 'configurations': { | 250 'configurations': { |
251 'Common_Base': { | 251 'Common_Base': { |
252 'msvs_target_platform': 'x64', | 252 'msvs_target_platform': 'x64', |
253 }, | 253 }, |
254 }, | 254 }, |
255 }, | 255 }, |
256 ], | 256 ], |
257 }], | 257 }], |
258 ['use_nss==1', { | 258 ['use_nss_certs==1', { |
259 'targets': [ | 259 'targets': [ |
260 { | 260 { |
261 'target_name': 'crypto_test_support', | 261 'target_name': 'crypto_test_support', |
262 'type': 'static_library', | 262 'type': 'static_library', |
263 'dependencies': [ | 263 'dependencies': [ |
264 '../base/base.gyp:base', | 264 '../base/base.gyp:base', |
265 'crypto', | 265 'crypto', |
266 ], | 266 ], |
267 'sources': [ | 267 'sources': [ |
268 'scoped_test_nss_db.cc', | 268 'scoped_test_nss_db.cc', |
269 'scoped_test_nss_db.h', | 269 'scoped_test_nss_db.h', |
270 'scoped_test_nss_chromeos_user.cc', | 270 'scoped_test_nss_chromeos_user.cc', |
271 'scoped_test_nss_chromeos_user.h', | 271 'scoped_test_nss_chromeos_user.h', |
272 'scoped_test_system_nss_key_slot.cc', | 272 'scoped_test_system_nss_key_slot.cc', |
273 'scoped_test_system_nss_key_slot.h', | 273 'scoped_test_system_nss_key_slot.h', |
274 ], | 274 ], |
275 'conditions': [ | 275 'conditions': [ |
276 ['use_nss==0', { | 276 ['use_nss_certs==0', { |
277 'sources!': [ | 277 'sources!': [ |
278 'scoped_test_nss_db.cc', | 278 'scoped_test_nss_db.cc', |
279 'scoped_test_nss_db.h', | 279 'scoped_test_nss_db.h', |
280 ], | 280 ], |
281 }], | 281 }], |
282 [ 'chromeos==0', { | 282 [ 'chromeos==0', { |
283 'sources!': [ | 283 'sources!': [ |
284 'scoped_test_nss_chromeos_user.cc', | 284 'scoped_test_nss_chromeos_user.cc', |
285 'scoped_test_nss_chromeos_user.h', | 285 'scoped_test_nss_chromeos_user.h', |
286 'scoped_test_system_nss_key_slot.cc', | 286 'scoped_test_system_nss_key_slot.cc', |
287 'scoped_test_system_nss_key_slot.h', | 287 'scoped_test_system_nss_key_slot.h', |
288 ], | 288 ], |
289 }], | 289 }], |
290 ], | 290 ], |
291 } | 291 } |
292 ]}, { # use_nss==0 | 292 ]}, { # use_nss_certs==0 |
293 'targets': [ | 293 'targets': [ |
294 { | 294 { |
295 'target_name': 'crypto_test_support', | 295 'target_name': 'crypto_test_support', |
296 'type': 'none', | 296 'type': 'none', |
297 'sources': [], | 297 'sources': [], |
298 } | 298 } |
299 ]}], | 299 ]}], |
300 ['test_isolation_mode != "noop"', { | 300 ['test_isolation_mode != "noop"', { |
301 'targets': [ | 301 'targets': [ |
302 { | 302 { |
303 'target_name': 'crypto_unittests_run', | 303 'target_name': 'crypto_unittests_run', |
304 'type': 'none', | 304 'type': 'none', |
305 'dependencies': [ | 305 'dependencies': [ |
306 'crypto_unittests', | 306 'crypto_unittests', |
307 ], | 307 ], |
308 'includes': [ | 308 'includes': [ |
309 '../build/isolate.gypi', | 309 '../build/isolate.gypi', |
310 ], | 310 ], |
311 'sources': [ | 311 'sources': [ |
312 'crypto_unittests.isolate', | 312 'crypto_unittests.isolate', |
313 ], | 313 ], |
314 }, | 314 }, |
315 ], | 315 ], |
316 }], | 316 }], |
317 ], | 317 ], |
318 } | 318 } |
OLD | NEW |