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

Side by Side Diff: net/net.gyp

Issue 7655046: Linux: allow linking directly with Kerberos instead of using dlopen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 8
9 'use_kerberos%': 1, 9 'use_kerberos%': 1,
10 'linux_link_kerberos%': 0,
cbentzel 2011/08/18 21:21:17 Should linux be removed from the name?
Paweł Hajdan Jr. 2011/08/18 23:30:32 This follows the convention used for gnome-keyring
cbentzel 2011/08/19 12:22:35 This is fine for consistency.
10 }, 11 },
11 'targets': [ 12 'targets': [
12 { 13 {
13 'target_name': 'net', 14 'target_name': 'net',
14 'type': '<(component)', 15 'type': '<(component)',
15 'dependencies': [ 16 'dependencies': [
16 '../base/base.gyp:base', 17 '../base/base.gyp:base',
17 '../base/base.gyp:base_i18n', 18 '../base/base.gyp:base_i18n',
18 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 19 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
19 '../build/temp_gyp/googleurl.gyp:googleurl', 20 '../build/temp_gyp/googleurl.gyp:googleurl',
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 ['chromeos==1', { 704 ['chromeos==1', {
704 'sources!': [ 705 'sources!': [
705 'proxy/proxy_config_service_linux.cc', 706 'proxy/proxy_config_service_linux.cc',
706 'proxy/proxy_config_service_linux.h', 707 'proxy/proxy_config_service_linux.h',
707 ], 708 ],
708 }], 709 }],
709 ['use_kerberos==1', { 710 ['use_kerberos==1', {
710 'defines': [ 711 'defines': [
711 'USE_KERBEROS', 712 'USE_KERBEROS',
712 ], 713 ],
714 'conditions': [
715 ['linux_link_kerberos==1', {
716 'link_settings': {
717 'ldflags': [
718 '<!@(krb5-config --libs gssapi)',
719 ],
720 },
721 }, { # linux_link_kerberos==0
722 'defines': [
723 'DLOPEN_KERBEROS',
724 ],
725 }],
726 ],
713 }, { # use_kerberos == 0 727 }, { # use_kerberos == 0
714 'sources!': [ 728 'sources!': [
715 'http/http_auth_gssapi_posix.cc', 729 'http/http_auth_gssapi_posix.cc',
716 'http/http_auth_gssapi_posix.h', 730 'http/http_auth_gssapi_posix.h',
717 'http/http_auth_handler_negotiate.h', 731 'http/http_auth_handler_negotiate.h',
718 'http/http_auth_handler_negotiate.cc', 732 'http/http_auth_handler_negotiate.cc',
719 ], 733 ],
720 }], 734 }],
721 ['use_openssl==1', { 735 ['use_openssl==1', {
722 'sources!': [ 736 'sources!': [
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 'tools/dump_cache/url_to_filename_encoder.cc', 1533 'tools/dump_cache/url_to_filename_encoder.cc',
1520 'tools/dump_cache/url_to_filename_encoder.h', 1534 'tools/dump_cache/url_to_filename_encoder.h',
1521 'tools/dump_cache/url_utilities.h', 1535 'tools/dump_cache/url_utilities.h',
1522 'tools/dump_cache/url_utilities.cc', 1536 'tools/dump_cache/url_utilities.cc',
1523 ], 1537 ],
1524 }, 1538 },
1525 ], 1539 ],
1526 }], 1540 }],
1527 ], 1541 ],
1528 } 1542 }
OLDNEW
« net/http/mock_gssapi_library_posix.cc ('K') | « net/http/mock_gssapi_library_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698