From e9d8263b8259fc48645c8846f3ffe8694dccc956 Mon Sep 17 00:00:00 2001 From: "yongsheng.zhu@intel.com" Date: Tue, 17 Jul 2012 03:31:53 +0000 Subject: 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 --- net/net.gyp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net') 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', ], -- cgit v1.1