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

Side by Side Diff: net/net.gyp

Issue 3495005: Prototype OpenSSL client socket implementation. (Closed)
Patch Set: agl comments no. 2 Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'use_openssl%': 0,
8 }, 9 },
9 'targets': [ 10 'targets': [
10 { 11 {
11 'target_name': 'net_base', 12 'target_name': 'net_base',
12 'type': '<(library)', 13 'type': '<(library)',
13 'dependencies': [ 14 'dependencies': [
14 '../base/base.gyp:base', 15 '../base/base.gyp:base',
15 '../base/base.gyp:base_i18n', 16 '../base/base.gyp:base_i18n',
16 '../build/temp_gyp/googleurl.gyp:googleurl', 17 '../build/temp_gyp/googleurl.gyp:googleurl',
17 '../sdch/sdch.gyp:sdch', 18 '../sdch/sdch.gyp:sdch',
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 'socket/socks_client_socket_pool.h', 533 'socket/socks_client_socket_pool.h',
533 'socket/ssl_client_socket.h', 534 'socket/ssl_client_socket.h',
534 'socket/ssl_client_socket_mac.cc', 535 'socket/ssl_client_socket_mac.cc',
535 'socket/ssl_client_socket_mac.h', 536 'socket/ssl_client_socket_mac.h',
536 'socket/ssl_client_socket_mac_factory.cc', 537 'socket/ssl_client_socket_mac_factory.cc',
537 'socket/ssl_client_socket_mac_factory.h', 538 'socket/ssl_client_socket_mac_factory.h',
538 'socket/ssl_client_socket_nss.cc', 539 'socket/ssl_client_socket_nss.cc',
539 'socket/ssl_client_socket_nss.h', 540 'socket/ssl_client_socket_nss.h',
540 'socket/ssl_client_socket_nss_factory.cc', 541 'socket/ssl_client_socket_nss_factory.cc',
541 'socket/ssl_client_socket_nss_factory.h', 542 'socket/ssl_client_socket_nss_factory.h',
543 'socket/ssl_client_socket_openssl.cc',
544 'socket/ssl_client_socket_openss.h',
542 'socket/ssl_client_socket_pool.cc', 545 'socket/ssl_client_socket_pool.cc',
543 'socket/ssl_client_socket_pool.h', 546 'socket/ssl_client_socket_pool.h',
544 'socket/ssl_client_socket_win.cc', 547 'socket/ssl_client_socket_win.cc',
545 'socket/ssl_client_socket_win.h', 548 'socket/ssl_client_socket_win.h',
546 'socket/tcp_client_socket.h', 549 'socket/tcp_client_socket.h',
547 'socket/tcp_client_socket_libevent.cc', 550 'socket/tcp_client_socket_libevent.cc',
548 'socket/tcp_client_socket_libevent.h', 551 'socket/tcp_client_socket_libevent.h',
549 'socket/tcp_client_socket_pool.cc', 552 'socket/tcp_client_socket_pool.cc',
550 'socket/tcp_client_socket_pool.h', 553 'socket/tcp_client_socket_pool.h',
551 'socket/tcp_client_socket_win.cc', 554 'socket/tcp_client_socket_win.cc',
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 'dependencies': [ 646 'dependencies': [
644 '../v8/tools/gyp/v8.gyp:v8', 647 '../v8/tools/gyp/v8.gyp:v8',
645 ], 648 ],
646 }], 649 }],
647 ['chromeos==1', { 650 ['chromeos==1', {
648 'sources!': [ 651 'sources!': [
649 'proxy/proxy_config_service_linux.cc', 652 'proxy/proxy_config_service_linux.cc',
650 'proxy/proxy_config_service_linux.h', 653 'proxy/proxy_config_service_linux.h',
651 ], 654 ],
652 }], 655 }],
656 ['use_openssl==1 and OS == "linux"', {
657 # OpenSSL support is in development.
658 'dependencies': [
659 '../build/linux/system.gyp:openssl',
660 ]
661 },
662 { # else !use_openssl: remove the unneeded files
663 'sources!': [
664 'socket/ssl_client_socket_openssl.cc',
665 'socket/ssl_client_socket_openss.h',
666 ],
667 },
668 ],
653 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 669 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
654 'dependencies': [ 670 'dependencies': [
655 '../build/linux/system.gyp:gconf', 671 '../build/linux/system.gyp:gconf',
656 '../build/linux/system.gyp:gdk', 672 '../build/linux/system.gyp:gdk',
657 '../build/linux/system.gyp:nss', 673 '../build/linux/system.gyp:nss',
658 ], 674 ],
659 }, 675 },
660 { # else: OS is not in the above list 676 { # else: OS is not in the above list
661 'sources!': [ 677 'sources!': [
662 'ocsp/nss_ocsp.cc', 678 'ocsp/nss_ocsp.cc',
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 ], 1256 ],
1241 }], 1257 }],
1242 ], 1258 ],
1243 } 1259 }
1244 1260
1245 # Local Variables: 1261 # Local Variables:
1246 # tab-width:2 1262 # tab-width:2
1247 # indent-tabs-mode:nil 1263 # indent-tabs-mode:nil
1248 # End: 1264 # End:
1249 # vim: set expandtab tabstop=2 shiftwidth=2: 1265 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698