diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 17:46:04 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 17:46:04 +0000 |
commit | ca87e49f2bd61d3f5034477631f9c06c6d73c923 (patch) | |
tree | 2618b67acd11786cd0299732895c41e62b3e09d9 /chrome/chrome.gyp | |
parent | f9ee3990f0eaf1bb340447bbd7d6c196e2178ab9 (diff) | |
download | chromium_src-ca87e49f2bd61d3f5034477631f9c06c6d73c923.zip chromium_src-ca87e49f2bd61d3f5034477631f9c06c6d73c923.tar.gz chromium_src-ca87e49f2bd61d3f5034477631f9c06c6d73c923.tar.bz2 |
Implemented initial version of server-issued notification client.
Added NOTIFICATION_SERVER notification method (use
--sync-notification-method=server to turn on).
BUG=34647
TEST=manually
Review URL: http://codereview.chromium.org/2827014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50479 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index a486c7d..9d099fa 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -788,6 +788,7 @@ 'common_net', 'notifier', 'sync', + 'sync_notifier', ], 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { @@ -797,6 +798,10 @@ }], ], }, + # A library for sending and receiving peer-issued notifications. + # + # TODO(akalin): Separate out the XMPP stuff from this library into + # its own library. { 'target_name': 'notifier', 'type': '<(library)', @@ -869,6 +874,9 @@ '../third_party/libjingle/libjingle.gyp:libjingle', 'common_net', ], + 'export_dependent_settings': [ + '../third_party/libjingle/libjingle.gyp:libjingle', + ], 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 'dependencies': [ @@ -1063,6 +1071,34 @@ }], ], }, + # A library for sending and receiving server-issued notifications. + { + 'target_name': 'sync_notifier', + 'type': '<(library)', + 'sources': [ + 'browser/sync/notifier/cache_invalidation_packet_handler.cc', + 'browser/sync/notifier/cache_invalidation_packet_handler.h', + 'browser/sync/notifier/chrome_invalidation_client.cc', + 'browser/sync/notifier/chrome_invalidation_client.h', + 'browser/sync/notifier/chrome_system_resources.cc', + 'browser/sync/notifier/chrome_system_resources.h', + 'browser/sync/notifier/invalidation_util.cc', + 'browser/sync/notifier/invalidation_util.h', + 'browser/sync/notifier/server_notifier_thread.cc', + 'browser/sync/notifier/server_notifier_thread.h', + ], + 'include_dirs': [ + '..', + ], + 'dependencies': [ + 'notifier', + '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', + ], + 'export_dependent_settings': [ + 'notifier', + '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', + ], + }, { 'target_name': 'service', 'type': '<(library)', |