Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: chrome/browser/sync/tools/sync_tools.gyp

Issue 2863030: Added implementation of buzz::AsyncSocket that uses Chrome sockets. (Closed)
Patch Set: Addressed willchan's last comments Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/tools/sync_tools.gyp
diff --git a/chrome/browser/sync/tools/sync_tools.gyp b/chrome/browser/sync/tools/sync_tools.gyp
index 6059ea82df0af247eafe4785ee82fd8755c48b17..02050246b81e87a28937c074145e6b4943af37d5 100644
--- a/chrome/browser/sync/tools/sync_tools.gyp
+++ b/chrome/browser/sync/tools/sync_tools.gyp
@@ -3,11 +3,24 @@
# found in the LICENSE file.
{
- 'defines': [
- 'FEATURE_ENABLE_SSL',
- ],
'targets': [
{
+ 'target_name': 'chrome_async_socket',
+ 'type': '<(library)',
+ 'sources': [
+ 'chrome_async_socket.cc',
+ 'chrome_async_socket.h',
+ ],
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/net/net.gyp:net',
+ '<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle',
+ ],
+ 'export_dependent_settings': [
+ '<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle',
+ ],
+ },
+ {
'target_name': 'sync_listen_notifications',
'type': 'executable',
'sources': [
@@ -19,6 +32,7 @@
'<(DEPTH)/chrome/browser/sync/sync_constants.h',
],
'dependencies': [
+ 'chrome_async_socket',
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/chrome/chrome.gyp:common_constants',
'<(DEPTH)/chrome/chrome.gyp:sync_notifier',
@@ -26,6 +40,35 @@
'<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle',
],
},
+ {
+ 'target_name': 'chrome_async_socket_unit_tests',
+ 'type': 'executable',
+ 'sources': [
+ # TODO(akalin): Write our own test suite and runner.
+ '<(DEPTH)/base/test/run_all_unittests.cc',
+ '<(DEPTH)/base/test/test_suite.h',
+ 'chrome_async_socket_unittest.cc',
+ ],
+ 'dependencies': [
+ 'chrome_async_socket',
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/net/net.gyp:net',
+ '<(DEPTH)/net/net.gyp:net_test_support',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ ],
+ # TODO(akalin): Remove this once we have our own test suite and
+ # runner.
+ 'conditions': [
+ ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
+ 'dependencies': [
+ # Needed to handle the #include chain:
+ # base/test/test_suite.h
+ # gtk/gtk.h
+ '<(DEPTH)/build/linux/system.gyp:gtk',
+ ],
+ }],
+ ],
+ },
],
}
« no previous file with comments | « chrome/browser/sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698