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

Side by Side Diff: net/net.gyp

Issue 7633006: Linux: control usage of Kerberos via use_kerberos gyp flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dupe Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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
9 'use_kerberos%': 1,
8 }, 10 },
9 'targets': [ 11 'targets': [
10 { 12 {
11 'target_name': 'net', 13 'target_name': 'net',
12 'type': '<(component)', 14 'type': '<(component)',
13 'dependencies': [ 15 'dependencies': [
14 '../base/base.gyp:base', 16 '../base/base.gyp:base',
15 '../base/base.gyp:base_i18n', 17 '../base/base.gyp:base_i18n',
16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 18 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
17 '../build/temp_gyp/googleurl.gyp:googleurl', 19 '../build/temp_gyp/googleurl.gyp:googleurl',
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 'dependencies': [ 695 'dependencies': [
694 '../v8/tools/gyp/v8.gyp:v8', 696 '../v8/tools/gyp/v8.gyp:v8',
695 ], 697 ],
696 }], 698 }],
697 ['chromeos==1', { 699 ['chromeos==1', {
698 'sources!': [ 700 'sources!': [
699 'proxy/proxy_config_service_linux.cc', 701 'proxy/proxy_config_service_linux.cc',
700 'proxy/proxy_config_service_linux.h', 702 'proxy/proxy_config_service_linux.h',
701 ], 703 ],
702 }], 704 }],
705 ['use_kerberos==1', {
706 'defines': [
707 'USE_KERBEROS',
708 ],
709 }, { # use_kerberos == 0
710 'sources!': [
711 'http/http_auth_gssapi_posix.cc',
712 'http/http_auth_gssapi_posix.h',
713 'http/http_auth_handler_negotiate.h',
714 'http/http_auth_handler_negotiate.cc',
715 ],
716 }],
703 ['use_openssl==1', { 717 ['use_openssl==1', {
704 'sources!': [ 718 'sources!': [
705 'base/cert_database_nss.cc', 719 'base/cert_database_nss.cc',
706 'base/crypto_module_nss.cc', 720 'base/crypto_module_nss.cc',
707 'base/dnssec_keyset.cc', 721 'base/dnssec_keyset.cc',
708 'base/dnssec_keyset.h', 722 'base/dnssec_keyset.h',
709 'base/keygen_handler_nss.cc', 723 'base/keygen_handler_nss.cc',
710 'base/nss_memio.c', 724 'base/nss_memio.c',
711 'base/nss_memio.h', 725 'base/nss_memio.h',
712 'base/test_root_certs_nss.cc', 726 'base/test_root_certs_nss.cc',
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 ], 1077 ],
1064 [ 'os_posix == 1 and OS != "mac"', { 1078 [ 'os_posix == 1 and OS != "mac"', {
1065 'conditions': [ 1079 'conditions': [
1066 ['linux_use_tcmalloc==1', { 1080 ['linux_use_tcmalloc==1', {
1067 'dependencies': [ 1081 'dependencies': [
1068 '../base/allocator/allocator.gyp:allocator', 1082 '../base/allocator/allocator.gyp:allocator',
1069 ], 1083 ],
1070 }], 1084 }],
1071 ], 1085 ],
1072 }], 1086 }],
1087 [ 'use_kerberos==1', {
1088 'defines': [
1089 'USE_KERBEROS',
1090 ],
1091 }, { # use_kerberos == 0
1092 'sources!': [
1093 'http/http_auth_gssapi_posix_unittest.cc',
1094 'http/http_auth_handler_negotiate_unittest.cc',
1095 'http/mock_gssapi_library_posix.cc',
1096 'http/mock_gssapi_library_posix.h',
1097 ],
1098 }],
1073 [ 'use_openssl==1', { 1099 [ 'use_openssl==1', {
1074 # When building for OpenSSL, we need to exclude NSS specific tests. 1100 # When building for OpenSSL, we need to exclude NSS specific tests.
1075 # TODO(bulach): Add equivalent tests when the underlying 1101 # TODO(bulach): Add equivalent tests when the underlying
1076 # functionality is ported to OpenSSL. 1102 # functionality is ported to OpenSSL.
1077 'sources!': [ 1103 'sources!': [
1078 'base/cert_database_nss_unittest.cc', 1104 'base/cert_database_nss_unittest.cc',
1079 'base/dnssec_unittest.cc', 1105 'base/dnssec_unittest.cc',
1080 ], 1106 ],
1081 }, 1107 },
1082 ], 1108 ],
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 'tools/dump_cache/url_to_filename_encoder.cc', 1513 'tools/dump_cache/url_to_filename_encoder.cc',
1488 'tools/dump_cache/url_to_filename_encoder.h', 1514 'tools/dump_cache/url_to_filename_encoder.h',
1489 'tools/dump_cache/url_utilities.h', 1515 'tools/dump_cache/url_utilities.h',
1490 'tools/dump_cache/url_utilities.cc', 1516 'tools/dump_cache/url_utilities.cc',
1491 ], 1517 ],
1492 }, 1518 },
1493 ], 1519 ],
1494 }], 1520 }],
1495 ], 1521 ],
1496 } 1522 }
OLDNEW
« net/http/http_auth_handler_factory.cc ('K') | « net/http/http_auth_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698