summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoryongsheng.zhu@intel.com <yongsheng.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-17 03:31:53 +0000
committeryongsheng.zhu@intel.com <yongsheng.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-17 03:31:53 +0000
commite9d8263b8259fc48645c8846f3ffe8694dccc956 (patch)
treebe4be4d398142abc359eead06180d5177f8cb6cc /net
parentd25cea7ecc68d035bf3e2bd412dec7a848fc70ec (diff)
downloadchromium_src-e9d8263b8259fc48645c8846f3ffe8694dccc956.zip
chromium_src-e9d8263b8259fc48645c8846f3ffe8694dccc956.tar.gz
chromium_src-e9d8263b8259fc48645c8846f3ffe8694dccc956.tar.bz2
Add macro 'ENABLE_PERSISTENT_SESSION_COOKIES' for net unit tests on Android
This is the first step to fix errors of net unit tests on Android. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10701167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146952 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/net.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index 517abb1..6009ad7 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -1386,6 +1386,10 @@
},
],
[ 'OS == "android"', {
+ 'defines': [
+ # Android can shut down our app at any time, so we persist session cookies.
+ 'ENABLE_PERSISTENT_SESSION_COOKIES'
+ ],
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],