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

Side by Side Diff: net/net.gyp

Issue 2322008: Use SSLClientSocketNSS on Mac OS X. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add build/linux/system.gyp to the CL. Created 10 years, 6 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) 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 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 'base/x509_certificate_win.cc', 170 'base/x509_certificate_win.cc',
171 'base/x509_cert_types.cc', 171 'base/x509_cert_types.cc',
172 'base/x509_cert_types.h', 172 'base/x509_cert_types.h',
173 'base/x509_cert_types_mac.cc', 173 'base/x509_cert_types_mac.cc',
174 ], 174 ],
175 'export_dependent_settings': [ 175 'export_dependent_settings': [
176 '../base/base.gyp:base', 176 '../base/base.gyp:base',
177 ], 177 ],
178 'conditions': [ 178 'conditions': [
179 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 179 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
180 'dependencies': [ 180 'dependencies': [
181 '../build/linux/system.gyp:gconf', 181 '../build/linux/system.gyp:gconf',
182 '../build/linux/system.gyp:gdk', 182 '../build/linux/system.gyp:gdk',
183 '../build/linux/system.gyp:nss', 183 '../build/linux/system.gyp:nss',
184 ], 184 ],
185 }], 185 },
186 { # else: OS is not in the above list
187 'sources!': [
188 'base/cert_database_nss.cc',
189 'base/keygen_handler_nss.cc',
190 'base/x509_certificate_nss.cc',
191 ],
192 },
193 ],
186 [ 'OS == "win"', { 194 [ 'OS == "win"', {
187 'dependencies': [ 195 'dependencies': [
188 # For nss_memio.{c,h}, which require only NSPR. 196 # For nss_memio.{c,h}, which require only NSPR.
189 '../third_party/nss/nss.gyp:nspr', 197 '../third_party/nss/nss.gyp:nspr',
190 'tld_cleanup', 198 'tld_cleanup',
191 ], 199 ],
192 }, 200 },
193 { # else: OS != "win" 201 { # else: OS != "win"
194 'sources!': [ 202 'sources!': [
195 'base/winsock_init.cc', 203 'base/winsock_init.cc',
196 ], 204 ],
197 }, 205 },
198 ], 206 ],
199 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
200 },
201 { # else: OS is not in the above list
202 'sources!': [
203 'base/cert_database_nss.cc',
204 'base/keygen_handler_nss.cc',
205 'base/x509_certificate_nss.cc',
206 ],
207 },
208 ],
209 [ 'OS == "mac"', { 207 [ 'OS == "mac"', {
210 'sources!': [ 208 'dependencies': [
211 # TODO(wtc): Remove nss_memio.{c,h} when http://crbug.com/30689 209 # For nss_memio.{c,h}, which require only NSPR.
212 # is fixed. 210 '../third_party/nss/nss.gyp:nspr',
213 'base/nss_memio.c',
214 'base/nss_memio.h',
215 ], 211 ],
216 'link_settings': { 212 'link_settings': {
217 'libraries': [ 213 'libraries': [
218 '$(SDKROOT)/System/Library/Frameworks/Security.framework', 214 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
219 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', 215 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork',
220 ] 216 ]
221 }, 217 },
222 }, 218 },
223 ], 219 ],
224 ], 220 ],
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 'export_dependent_settings': [ 539 'export_dependent_settings': [
544 '../base/base.gyp:base', 540 '../base/base.gyp:base',
545 ], 541 ],
546 'conditions': [ 542 'conditions': [
547 ['javascript_engine=="v8"', { 543 ['javascript_engine=="v8"', {
548 'dependencies': [ 544 'dependencies': [
549 '../v8/tools/gyp/v8.gyp:v8', 545 '../v8/tools/gyp/v8.gyp:v8',
550 ], 546 ],
551 }], 547 }],
552 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 548 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
553 'dependencies': [ 549 'sources!': [
554 '../build/linux/system.gyp:gconf', 550 'socket/ssl_client_socket_nss_factory.cc',
555 '../build/linux/system.gyp:gdk', 551 'socket/ssl_client_socket_nss_factory.h',
556 '../build/linux/system.gyp:nss', 552 ],
557 ], 553 'dependencies': [
558 }], 554 '../build/linux/system.gyp:gconf',
555 '../build/linux/system.gyp:gdk',
556 '../build/linux/system.gyp:nss',
557 ],
558 },
559 { # else: OS is not in the above list
560 'sources!': [
561 'ocsp/nss_ocsp.cc',
562 'ocsp/nss_ocsp.h',
563 ],
564 },
565 ],
559 [ 'OS == "win"', { 566 [ 'OS == "win"', {
560 'sources!': [ 567 'sources!': [
561 'http/http_auth_handler_ntlm_portable.cc', 568 'http/http_auth_handler_ntlm_portable.cc',
562 'socket/tcp_client_socket_libevent.cc', 569 'socket/tcp_client_socket_libevent.cc',
563 ], 570 ],
564 'dependencies': [ 571 'dependencies': [
565 '../third_party/nss/nss.gyp:nss', 572 '../third_party/nss/nss.gyp:nss',
566 'third_party/nss/nss.gyp:ssl', 573 'third_party/nss/ssl.gyp:ssl',
567 'tld_cleanup', 574 'tld_cleanup',
568 ], 575 ],
569 'link_settings': { 576 'link_settings': {
570 'libraries': [ 577 'libraries': [
571 '-lIphlpapi.lib', 578 '-lIphlpapi.lib',
572 ], 579 ],
573 }, 580 },
574 }, 581 },
575 { # else: OS != "win" 582 { # else: OS != "win"
576 'sources!': [ 583 'sources!': [
577 'proxy/proxy_resolver_winhttp.cc', 584 'proxy/proxy_resolver_winhttp.cc',
578 'socket/ssl_client_socket_nss_factory.cc',
579 'socket/ssl_client_socket_nss_factory.h',
580 ],
581 },
582 ],
583 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
584 },
585 { # else: OS != "linux"
586 'sources!': [
587 'ocsp/nss_ocsp.cc',
588 'ocsp/nss_ocsp.h',
589 ], 585 ],
590 }, 586 },
591 ], 587 ],
592 [ 'OS == "mac"', { 588 [ 'OS == "mac"', {
593 'sources!': [ 589 'dependencies': [
594 # TODO(wtc): Remove ssl_client_socket_nss.{cc,h} when 590 '../third_party/nss/nss.gyp:nss',
595 # http://crbug.com/30689 is fixed. 591 'third_party/nss/ssl.gyp:ssl',
596 'socket/ssl_client_socket_nss.cc',
597 'socket/ssl_client_socket_nss.h',
598 ], 592 ],
599 'link_settings': { 593 'link_settings': {
600 'libraries': [ 594 'libraries': [
601 '$(SDKROOT)/System/Library/Frameworks/Security.framework', 595 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
602 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', 596 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork',
603 ] 597 ]
604 }, 598 },
605 }, 599 },
606 ], 600 ],
607 ], 601 ],
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 ], 1035 ],
1042 }], 1036 }],
1043 ], 1037 ],
1044 } 1038 }
1045 1039
1046 # Local Variables: 1040 # Local Variables:
1047 # tab-width:2 1041 # tab-width:2
1048 # indent-tabs-mode:nil 1042 # indent-tabs-mode:nil
1049 # End: 1043 # End:
1050 # vim: set expandtab tabstop=2 shiftwidth=2: 1044 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698