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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'defines': [
7 'FEATURE_ENABLE_SSL',
8 ],
9 'targets': [ 6 'targets': [
10 { 7 {
8 'target_name': 'chrome_async_socket',
9 'type': '<(library)',
10 'sources': [
11 'chrome_async_socket.cc',
12 'chrome_async_socket.h',
13 ],
14 'dependencies': [
15 '<(DEPTH)/base/base.gyp:base',
16 '<(DEPTH)/net/net.gyp:net',
17 '<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle',
18 ],
19 'export_dependent_settings': [
20 '<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle',
21 ],
22 },
23 {
11 'target_name': 'sync_listen_notifications', 24 'target_name': 'sync_listen_notifications',
12 'type': 'executable', 25 'type': 'executable',
13 'sources': [ 26 'sources': [
14 'sync_listen_notifications.cc', 27 'sync_listen_notifications.cc',
15 # We are directly including the sync_constants.cc and h files to avoid 28 # We are directly including the sync_constants.cc and h files to avoid
16 # pulling in browser.lib. 29 # pulling in browser.lib.
17 # TODO(akalin): Fix this. 30 # TODO(akalin): Fix this.
18 '<(DEPTH)/chrome/browser/sync/sync_constants.cc', 31 '<(DEPTH)/chrome/browser/sync/sync_constants.cc',
19 '<(DEPTH)/chrome/browser/sync/sync_constants.h', 32 '<(DEPTH)/chrome/browser/sync/sync_constants.h',
20 ], 33 ],
21 'dependencies': [ 34 'dependencies': [
35 'chrome_async_socket',
22 '<(DEPTH)/base/base.gyp:base', 36 '<(DEPTH)/base/base.gyp:base',
23 '<(DEPTH)/chrome/chrome.gyp:common_constants', 37 '<(DEPTH)/chrome/chrome.gyp:common_constants',
24 '<(DEPTH)/chrome/chrome.gyp:sync_notifier', 38 '<(DEPTH)/chrome/chrome.gyp:sync_notifier',
25 '<(DEPTH)/jingle/jingle.gyp:notifier', 39 '<(DEPTH)/jingle/jingle.gyp:notifier',
26 '<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle', 40 '<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle',
27 ], 41 ],
28 }, 42 },
43 {
44 'target_name': 'chrome_async_socket_unit_tests',
45 'type': 'executable',
46 'sources': [
47 # TODO(akalin): Write our own test suite and runner.
48 '<(DEPTH)/base/test/run_all_unittests.cc',
49 '<(DEPTH)/base/test/test_suite.h',
50 'chrome_async_socket_unittest.cc',
51 ],
52 'dependencies': [
53 'chrome_async_socket',
54 '<(DEPTH)/base/base.gyp:base',
55 '<(DEPTH)/net/net.gyp:net',
56 '<(DEPTH)/net/net.gyp:net_test_support',
57 '<(DEPTH)/testing/gtest.gyp:gtest',
58 ],
59 # TODO(akalin): Remove this once we have our own test suite and
60 # runner.
61 'conditions': [
62 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', {
63 'dependencies': [
64 # Needed to handle the #include chain:
65 # base/test/test_suite.h
66 # gtk/gtk.h
67 '<(DEPTH)/build/linux/system.gyp:gtk',
68 ],
69 }],
70 ],
71 },
29 ], 72 ],
30 } 73 }
31 74
32 # Local Variables: 75 # Local Variables:
33 # tab-width:2 76 # tab-width:2
34 # indent-tabs-mode:nil 77 # indent-tabs-mode:nil
35 # End: 78 # End:
36 # vim: set expandtab tabstop=2 shiftwidth=2: 79 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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