summaryrefslogtreecommitdiffstats
path: root/net/net.gyp
diff options
context:
space:
mode:
authorsdoyon@chromium.org <sdoyon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 16:50:56 +0000
committersdoyon@chromium.org <sdoyon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 16:50:56 +0000
commit861c6c6d56add9157e04aa2ac43bec8e33bf1cc1 (patch)
tree835dd6466912cd073e3ac16177252fe0c8865c93 /net/net.gyp
parentbc1529bbafc42d96d9ac0839bcb0ba1ab9328445 (diff)
downloadchromium_src-861c6c6d56add9157e04aa2ac43bec8e33bf1cc1.zip
chromium_src-861c6c6d56add9157e04aa2ac43bec8e33bf1cc1.tar.gz
chromium_src-861c6c6d56add9157e04aa2ac43bec8e33bf1cc1.tar.bz2
ProxyConfigService for Linux.
Establishes a ProxyConfig by reading settings from gconf or consulting environment variables. BUG=8143 Thanks to ermilov.maxim@gmail.com for his contribution: some ideas< and code snippets from his patch were folded into this one. (See http://codereview.chromium.org/49009) Review URL: http://codereview.chromium.org/60009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r--net/net.gyp14
1 files changed, 13 insertions, 1 deletions
diff --git a/net/net.gyp b/net/net.gyp
index f1a4805..7759eb2 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -238,6 +238,8 @@
'proxy/proxy_config.h',
'proxy/proxy_config_service.h',
'proxy/proxy_config_service_fixed.h',
+ 'proxy/proxy_config_service_linux.cc',
+ 'proxy/proxy_config_service_linux.h',
'proxy/proxy_config_service_win.cc',
'proxy/proxy_config_service_win.h',
'proxy/proxy_info.cc',
@@ -307,6 +309,8 @@
'conditions': [
[ 'OS == "linux"', {
'dependencies': [
+ '../build/linux/system.gyp:gconf',
+ '../build/linux/system.gyp:gdk',
'../build/linux/system.gyp:nss',
],
}],
@@ -427,6 +431,9 @@
'http/http_transaction_unittest.h',
'http/http_util_unittest.cc',
'http/http_vary_data_unittest.cc',
+ 'proxy/proxy_config_service_common_unittest.cc',
+ 'proxy/proxy_config_service_common_unittest.h',
+ 'proxy/proxy_config_service_linux_unittest.cc',
'proxy/proxy_config_service_win_unittest.cc',
'proxy/proxy_config_unittest.cc',
'proxy/proxy_list_unittest.cc',
@@ -438,14 +445,18 @@
'url_request/url_request_unittest.h',
],
'conditions': [
+ [ 'OS == "win"', {
+ 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
+ },
+ ],
[ 'OS != "win"', {
'sources!': [
'base/wininet_util_unittest.cc',
- 'proxy/proxy_config_service_win_unittest.cc',
],
},
],
[ 'OS == "linux"', {
+ 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
'dependencies': [
'../build/linux/system.gyp:gtk',
],
@@ -456,6 +467,7 @@
},
],
[ 'OS == "mac"', {
+ 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
'sources!': [
'base/ssl_config_service_unittest.cc',
],