diff options
author | yfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-05 18:34:53 +0000 |
---|---|---|
committer | yfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-05 18:34:53 +0000 |
commit | cdb756ef72f012a5dd9361e316d03960bc18029e (patch) | |
tree | 17db17336ed4b941a3602e7b1ea96a77d5838e57 /build | |
parent | 4b4e6aa376e9674fa659942cb703494a6e0846f1 (diff) | |
download | chromium_src-cdb756ef72f012a5dd9361e316d03960bc18029e.zip chromium_src-cdb756ef72f012a5dd9361e316d03960bc18029e.tar.gz chromium_src-cdb756ef72f012a5dd9361e316d03960bc18029e.tar.bz2 |
Allow SessionService to be disabled.
Android manages persistence of sessions separately in Java code.
BUG=117407
Review URL: http://codereview.chromium.org/9985002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 500d8ac..269c2c6 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -230,6 +230,10 @@ # plugins to make call of the main thread. 'enable_pepper_threading%': 0, + # Enables use of the session service, which is enabled by default. + # Support for disabling depends on the platform. + 'enable_session_service%': 1, + # Enables theme support, which is enabled by default. Support for # disabling depends on the platform. 'enable_themes%': 1, @@ -497,6 +501,7 @@ 'enable_web_intents_tag%': '<(enable_web_intents_tag)', 'enable_plugin_installation%': '<(enable_plugin_installation)', 'enable_protector_service%': '<(enable_protector_service)', + 'enable_session_service%': '<(enable_session_service)', 'enable_themes%': '<(enable_themes)', 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 'linux_use_gold_flags%': '<(linux_use_gold_flags)', @@ -788,6 +793,9 @@ # Android does not support themes. 'enable_themes%': 0, + # Sessions are store separately in the Java side. + 'enable_session_service%': 0, + # Set to 1 once we have a notification system for Android. # http://crbug.com/115320 'notifications%': 0, @@ -1365,6 +1373,9 @@ ['enable_protector_service==1', { 'defines': ['ENABLE_PROTECTOR_SERVICE=1'], }], + ['enable_session_service==1', { + 'defines': ['ENABLE_SESSION_SERVICE=1'], + }], ['enable_themes==1', { 'defines': ['ENABLE_THEMES=1'], }], |