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 00:16:45 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 00:16:45 +0000
commit3d47a26aed8fd135280d4924d9e9bb36cb624946 (patch)
treef515a3604302e123d67a04c80079df4da6fc6b35 /chrome/chrome.gyp
parent51e413c3e9f11186b5026123a4610dd1dc005416 (diff)
downloadchromium_src-3d47a26aed8fd135280d4924d9e9bb36cb624946.zip
chromium_src-3d47a26aed8fd135280d4924d9e9bb36cb624946.tar.gz
chromium_src-3d47a26aed8fd135280d4924d9e9bb36cb624946.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 Review URL: http://codereview.chromium.org/2827014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50550 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)',