OLD | NEW |
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, |
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 Loading... |
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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1520 'tools/dump_cache/url_to_filename_encoder.cc', | 1534 'tools/dump_cache/url_to_filename_encoder.cc', |
1521 'tools/dump_cache/url_to_filename_encoder.h', | 1535 'tools/dump_cache/url_to_filename_encoder.h', |
1522 'tools/dump_cache/url_utilities.h', | 1536 'tools/dump_cache/url_utilities.h', |
1523 'tools/dump_cache/url_utilities.cc', | 1537 'tools/dump_cache/url_utilities.cc', |
1524 ], | 1538 ], |
1525 }, | 1539 }, |
1526 ], | 1540 ], |
1527 }], | 1541 }], |
1528 ], | 1542 ], |
1529 } | 1543 } |
OLD | NEW |