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

Side by Side Diff: chrome/chrome_common.gypi

Issue 387753003: Add stub networking_private OpenSSL implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 'chrome_common_sources': [ 7 'chrome_common_sources': [
8 '../apps/app_shim/app_shim_launch.h', 8 '../apps/app_shim/app_shim_launch.h',
9 '../apps/app_shim/app_shim_messages.h', 9 '../apps/app_shim/app_shim_messages.h',
10 'common/all_messages.h', 10 'common/all_messages.h',
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 'sources': [ 332 'sources': [
333 '<@(chrome_common_extensions_sources)', 333 '<@(chrome_common_extensions_sources)',
334 ], 334 ],
335 'dependencies': [ 335 'dependencies': [
336 '../device/bluetooth/bluetooth.gyp:device_bluetooth', 336 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
337 '../device/usb/usb.gyp:device_usb', 337 '../device/usb/usb.gyp:device_usb',
338 ], 338 ],
339 }], 339 }],
340 ['OS=="win" or OS=="mac"', { 340 ['OS=="win" or OS=="mac"', {
341 'sources': [ 341 'sources': [
342 'common/extensions/api/networking_private/networking_private_crypto. cc', 342 'common/extensions/api/networking_private/networking_private_crypto_ nss.cc',
343 'common/extensions/api/networking_private/networking_private_crypto_ openssl.cc',
343 'common/extensions/api/networking_private/networking_private_crypto. h', 344 'common/extensions/api/networking_private/networking_private_crypto. h',
344 'common/media_galleries/itunes_library.cc', 345 'common/media_galleries/itunes_library.cc',
345 'common/media_galleries/itunes_library.h', 346 'common/media_galleries/itunes_library.h',
346 'common/media_galleries/picasa_types.cc', 347 'common/media_galleries/picasa_types.cc',
347 'common/media_galleries/picasa_types.h', 348 'common/media_galleries/picasa_types.h',
348 'common/media_galleries/pmp_constants.h', 349 'common/media_galleries/pmp_constants.h',
349 ], 350 ],
350 }], 351 }],
351 ['OS=="mac"', { 352 ['OS=="mac"', {
352 'sources': [ 353 'sources': [
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 '<(DEPTH)/components/components.gyp:policy', 505 '<(DEPTH)/components/components.gyp:policy',
505 ], 506 ],
506 }], 507 }],
507 ['safe_browsing==1', { 508 ['safe_browsing==1', {
508 'defines': [ 'FULL_SAFE_BROWSING' ], 509 'defines': [ 'FULL_SAFE_BROWSING' ],
509 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ], 510 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
510 }], 511 }],
511 ['safe_browsing==2', { 512 ['safe_browsing==2', {
512 'defines': [ 'MOBILE_SAFE_BROWSING' ], 513 'defines': [ 'MOBILE_SAFE_BROWSING' ],
513 }], 514 }],
515 ['use_openssl==1', {
516 'sources!': [
517 'common/extensions/api/networking_private/networking_private_crypto _nss.cc',
518 ],
519 },
520 { # else !use_openssl
521 'sources!': [
522 'common/extensions/api/networking_private/networking_private_crypto _openssl.cc',
523 ],
524 },
525 ],
514 ], 526 ],
515 'target_conditions': [ 527 'target_conditions': [
516 ['OS == "ios"', { 528 ['OS == "ios"', {
517 'sources/': [ 529 'sources/': [
518 # Pull in specific Mac files for iOS (which have been filtered out 530 # Pull in specific Mac files for iOS (which have been filtered out
519 # by file name rules). 531 # by file name rules).
520 ['include', '^common/chrome_version_info_mac\\.mm$'], 532 ['include', '^common/chrome_version_info_mac\\.mm$'],
521 ], 533 ],
522 }], 534 }],
523 ], 535 ],
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 'dependencies': [ 651 'dependencies': [
640 '../third_party/openssl/openssl.gyp:openssl', 652 '../third_party/openssl/openssl.gyp:openssl',
641 ], 653 ],
642 'sources!': [ 654 'sources!': [
643 'common/net/x509_certificate_model.cc', 655 'common/net/x509_certificate_model.cc',
644 'common/net/x509_certificate_model_openssl.cc', 656 'common/net/x509_certificate_model_openssl.cc',
645 ], 657 ],
646 }], 658 }],
647 ['use_openssl==1', { 659 ['use_openssl==1', {
648 'sources!': [ 660 'sources!': [
649 # networking_private_crypto.cc uses NSS functions.
650 'common/extensions/api/networking_private/networking_private_crypt o.cc',
651 'common/net/x509_certificate_model_nss.cc', 661 'common/net/x509_certificate_model_nss.cc',
652 ], 662 ],
653 }, 663 },
654 { # else !use_openssl: remove the unneeded files 664 { # else !use_openssl: remove the unneeded files
655 'sources!': [ 665 'sources!': [
656 'common/net/x509_certificate_model_openssl.cc', 666 'common/net/x509_certificate_model_openssl.cc',
657 ], 667 ],
658 }, 668 },
659 ], 669 ],
660 ['OS=="win"', { 670 ['OS=="win"', {
(...skipping 17 matching lines...) Expand all
678 'common/safe_browsing/csd.proto' 688 'common/safe_browsing/csd.proto'
679 ], 689 ],
680 'variables': { 690 'variables': {
681 'proto_in_dir': 'common/safe_browsing', 691 'proto_in_dir': 'common/safe_browsing',
682 'proto_out_dir': 'chrome/common/safe_browsing', 692 'proto_out_dir': 'chrome/common/safe_browsing',
683 }, 693 },
684 'includes': [ '../build/protoc.gypi' ], 694 'includes': [ '../build/protoc.gypi' ],
685 }, 695 },
686 ], 696 ],
687 } 697 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698