summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 01:13:56 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 01:13:56 +0000
commit8516471942ded5ca17efd0681f1ae12ac86f3617 (patch)
tree2c2cfb3d1891c638dff5b62d3c68e916814237a7 /chrome/chrome.gyp
parent11fb5e5771fb2d148e6c8d7245f28642a749a722 (diff)
downloadchromium_src-8516471942ded5ca17efd0681f1ae12ac86f3617.zip
chromium_src-8516471942ded5ca17efd0681f1ae12ac86f3617.tar.gz
chromium_src-8516471942ded5ca17efd0681f1ae12ac86f3617.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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50479 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50550 Review URL: http://codereview.chromium.org/2827014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp36
1 files changed, 36 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index f55067f..80a659e 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)',