| Index: net/net.gyp
|
| diff --git a/net/net.gyp b/net/net.gyp
|
| index 4b2259eb9605039822b4dc35e409073a7e86350a..801001691e3fd4067a00f89aae079ea04ef677b5 100644
|
| --- a/net/net.gyp
|
| +++ b/net/net.gyp
|
| @@ -5,6 +5,8 @@
|
| {
|
| 'variables': {
|
| 'chromium_code': 1,
|
| +
|
| + 'use_kerberos%': 1,
|
| },
|
| 'targets': [
|
| {
|
| @@ -700,6 +702,18 @@
|
| 'proxy/proxy_config_service_linux.h',
|
| ],
|
| }],
|
| + ['use_kerberos==1', {
|
| + 'defines': [
|
| + 'USE_KERBEROS',
|
| + ],
|
| + }, { # use_kerberos == 0
|
| + 'sources!': [
|
| + 'http/http_auth_gssapi_posix.cc',
|
| + 'http/http_auth_gssapi_posix.h',
|
| + 'http/http_auth_handler_negotiate.h',
|
| + 'http/http_auth_handler_negotiate.cc',
|
| + ],
|
| + }],
|
| ['use_openssl==1', {
|
| 'sources!': [
|
| 'base/cert_database_nss.cc',
|
| @@ -1070,6 +1084,18 @@
|
| }],
|
| ],
|
| }],
|
| + [ 'use_kerberos==1', {
|
| + 'defines': [
|
| + 'USE_KERBEROS',
|
| + ],
|
| + }, { # use_kerberos == 0
|
| + 'sources!': [
|
| + 'http/http_auth_gssapi_posix_unittest.cc',
|
| + 'http/http_auth_handler_negotiate_unittest.cc',
|
| + 'http/mock_gssapi_library_posix.cc',
|
| + 'http/mock_gssapi_library_posix.h',
|
| + ],
|
| + }],
|
| [ 'use_openssl==1', {
|
| # When building for OpenSSL, we need to exclude NSS specific tests.
|
| # TODO(bulach): Add equivalent tests when the underlying
|
|
|