OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, # variables | 8 }, # variables |
9 'targets': [ | 9 'targets': [ |
10 # A library of various utils for integration with libjingle. | 10 # A library of various utils for integration with libjingle. |
11 { | 11 { |
12 'target_name': 'jingle_glue', | 12 'target_name': 'jingle_glue', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'sources': [ | 14 'sources': [ |
15 'glue/channel_socket_adapter.cc', | 15 'glue/channel_socket_adapter.cc', |
16 'glue/channel_socket_adapter.h', | 16 'glue/channel_socket_adapter.h', |
| 17 'glue/chrome_async_socket.cc', |
| 18 'glue/chrome_async_socket.h', |
| 19 'glue/fake_ssl_client_socket.cc', |
| 20 'glue/fake_ssl_client_socket.h', |
| 21 'glue/proxy_resolving_client_socket.cc', |
| 22 'glue/proxy_resolving_client_socket.h', |
17 'glue/pseudotcp_adapter.cc', | 23 'glue/pseudotcp_adapter.cc', |
18 'glue/pseudotcp_adapter.h', | 24 'glue/pseudotcp_adapter.h', |
| 25 'glue/resolving_client_socket_factory.h', |
19 'glue/thread_wrapper.cc', | 26 'glue/thread_wrapper.cc', |
20 'glue/thread_wrapper.h', | 27 'glue/thread_wrapper.h', |
21 'glue/utils.cc', | 28 'glue/utils.cc', |
22 'glue/utils.h', | 29 'glue/utils.h', |
| 30 'glue/xmpp_client_socket_factory.cc', |
| 31 'glue/xmpp_client_socket_factory.h', |
23 ], | 32 ], |
24 'dependencies': [ | 33 'dependencies': [ |
25 '../base/base.gyp:base', | 34 '../base/base.gyp:base', |
26 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 35 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
27 '../net/net.gyp:net', | 36 '../net/net.gyp:net', |
28 '../third_party/libjingle/libjingle.gyp:libjingle', | 37 '../third_party/libjingle/libjingle.gyp:libjingle', |
29 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 38 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
30 ], | 39 ], |
31 'export_dependent_settings': [ | 40 'export_dependent_settings': [ |
32 '../third_party/libjingle/libjingle.gyp:libjingle', | 41 '../third_party/libjingle/libjingle.gyp:libjingle', |
33 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 42 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
34 ], | 43 ], |
35 }, | 44 }, |
36 # A library for sending and receiving peer-issued notifications. | 45 # A library for sending and receiving peer-issued notifications. |
37 # | 46 # |
38 # TODO(akalin): Separate out the XMPP stuff from this library into | 47 # TODO(akalin): Separate out the XMPP stuff from this library into |
39 # its own library. | 48 # its own library. |
40 { | 49 { |
41 'target_name': 'notifier', | 50 'target_name': 'notifier', |
42 'type': 'static_library', | 51 'type': 'static_library', |
43 'sources': [ | 52 'sources': [ |
44 'notifier/base/chrome_async_socket.cc', | |
45 'notifier/base/chrome_async_socket.h', | |
46 'notifier/base/const_communicator.h', | 53 'notifier/base/const_communicator.h', |
47 'notifier/base/fake_ssl_client_socket.cc', | |
48 'notifier/base/fake_ssl_client_socket.h', | |
49 'notifier/base/gaia_token_pre_xmpp_auth.cc', | 54 'notifier/base/gaia_token_pre_xmpp_auth.cc', |
50 'notifier/base/gaia_token_pre_xmpp_auth.h', | 55 'notifier/base/gaia_token_pre_xmpp_auth.h', |
51 'notifier/base/notification_method.h', | 56 'notifier/base/notification_method.h', |
52 'notifier/base/notification_method.cc', | 57 'notifier/base/notification_method.cc', |
53 'notifier/base/notifier_options.cc', | 58 'notifier/base/notifier_options.cc', |
54 'notifier/base/notifier_options.h', | 59 'notifier/base/notifier_options.h', |
55 'notifier/base/notifier_options_util.cc', | 60 'notifier/base/notifier_options_util.cc', |
56 'notifier/base/notifier_options_util.h', | 61 'notifier/base/notifier_options_util.h', |
57 'notifier/base/proxy_resolving_client_socket.cc', | |
58 'notifier/base/proxy_resolving_client_socket.h', | |
59 'notifier/base/resolving_client_socket_factory.h', | |
60 'notifier/base/server_information.cc', | 62 'notifier/base/server_information.cc', |
61 'notifier/base/server_information.h', | 63 'notifier/base/server_information.h', |
62 'notifier/base/task_pump.cc', | 64 'notifier/base/task_pump.cc', |
63 'notifier/base/task_pump.h', | 65 'notifier/base/task_pump.h', |
64 'notifier/base/weak_xmpp_client.cc', | 66 'notifier/base/weak_xmpp_client.cc', |
65 'notifier/base/weak_xmpp_client.h', | 67 'notifier/base/weak_xmpp_client.h', |
66 'notifier/base/xmpp_client_socket_factory.cc', | |
67 'notifier/base/xmpp_client_socket_factory.h', | |
68 'notifier/base/xmpp_connection.cc', | 68 'notifier/base/xmpp_connection.cc', |
69 'notifier/base/xmpp_connection.h', | 69 'notifier/base/xmpp_connection.h', |
70 'notifier/communicator/connection_settings.cc', | 70 'notifier/communicator/connection_settings.cc', |
71 'notifier/communicator/connection_settings.h', | 71 'notifier/communicator/connection_settings.h', |
72 'notifier/communicator/login.cc', | 72 'notifier/communicator/login.cc', |
73 'notifier/communicator/login.h', | 73 'notifier/communicator/login.h', |
74 'notifier/communicator/login_settings.cc', | 74 'notifier/communicator/login_settings.cc', |
75 'notifier/communicator/login_settings.h', | 75 'notifier/communicator/login_settings.h', |
76 'notifier/communicator/single_login_attempt.cc', | 76 'notifier/communicator/single_login_attempt.cc', |
77 'notifier/communicator/single_login_attempt.h', | 77 'notifier/communicator/single_login_attempt.h', |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 'dependencies': [ | 149 'dependencies': [ |
150 'jingle_glue', | 150 'jingle_glue', |
151 '../base/base.gyp:base', | 151 '../base/base.gyp:base', |
152 ], | 152 ], |
153 }, | 153 }, |
154 { | 154 { |
155 'target_name': 'jingle_unittests', | 155 'target_name': 'jingle_unittests', |
156 'type': 'executable', | 156 'type': 'executable', |
157 'sources': [ | 157 'sources': [ |
158 'glue/channel_socket_adapter_unittest.cc', | 158 'glue/channel_socket_adapter_unittest.cc', |
| 159 'glue/chrome_async_socket_unittest.cc', |
| 160 'glue/fake_ssl_client_socket_unittest.cc', |
159 'glue/jingle_glue_mock_objects.cc', | 161 'glue/jingle_glue_mock_objects.cc', |
160 'glue/jingle_glue_mock_objects.h', | 162 'glue/jingle_glue_mock_objects.h', |
161 'glue/logging_unittest.cc', | 163 'glue/logging_unittest.cc', |
| 164 'glue/proxy_resolving_client_socket_unittest.cc', |
162 'glue/pseudotcp_adapter_unittest.cc', | 165 'glue/pseudotcp_adapter_unittest.cc', |
163 'glue/thread_wrapper_unittest.cc', | 166 'glue/thread_wrapper_unittest.cc', |
164 'notifier/base/chrome_async_socket_unittest.cc', | |
165 'notifier/base/fake_ssl_client_socket_unittest.cc', | |
166 'notifier/base/proxy_resolving_client_socket_unittest.cc', | |
167 'notifier/base/task_pump_unittest.cc', | 167 'notifier/base/task_pump_unittest.cc', |
| 168 'notifier/base/weak_xmpp_client_unittest.cc', |
168 'notifier/base/xmpp_connection_unittest.cc', | 169 'notifier/base/xmpp_connection_unittest.cc', |
169 'notifier/base/weak_xmpp_client_unittest.cc', | |
170 'notifier/communicator/connection_settings_unittest.cc', | 170 'notifier/communicator/connection_settings_unittest.cc', |
171 'notifier/communicator/login_settings_unittest.cc', | 171 'notifier/communicator/login_settings_unittest.cc', |
172 'notifier/communicator/single_login_attempt_unittest.cc', | 172 'notifier/communicator/single_login_attempt_unittest.cc', |
173 'notifier/listener/non_blocking_push_client_unittest.cc', | 173 'notifier/listener/non_blocking_push_client_unittest.cc', |
174 'notifier/listener/push_client_unittest.cc', | 174 'notifier/listener/push_client_unittest.cc', |
175 'notifier/listener/push_notifications_send_update_task_unittest.cc', | 175 'notifier/listener/push_notifications_send_update_task_unittest.cc', |
176 'notifier/listener/push_notifications_subscribe_task_unittest.cc', | 176 'notifier/listener/push_notifications_subscribe_task_unittest.cc', |
177 'notifier/listener/xml_element_util_unittest.cc', | 177 'notifier/listener/xml_element_util_unittest.cc', |
178 'notifier/listener/xmpp_push_client_unittest.cc', | 178 'notifier/listener/xmpp_push_client_unittest.cc', |
179 'run_all_unittests.cc', | 179 'run_all_unittests.cc', |
180 ], | 180 ], |
181 'conditions': [ | 181 'conditions': [ |
182 ['OS=="android"', { | 182 ['OS=="android"', { |
183 'sources!': [ | 183 'sources!': [ |
184 # TODO(jrg): | 184 # TODO(jrg): |
185 # EXPECT_DEBUG_DEATH() uses features not enabled. | 185 # EXPECT_DEBUG_DEATH() uses features not enabled. |
186 # Should we -std=c++0x or -std=gnu++0x? | 186 # Should we -std=c++0x or -std=gnu++0x? |
187 'notifier/base/chrome_async_socket_unittest.cc', | 187 'glue/chrome_async_socket_unittest.cc', |
188 'notifier/base/xmpp_connection_unittest.cc', | 188 'notifier/base/xmpp_connection_unittest.cc', |
189 ], | 189 ], |
190 }]], | 190 }]], |
191 'include_dirs': [ | 191 'include_dirs': [ |
192 '..', | 192 '..', |
193 ], | 193 ], |
194 'dependencies': [ | 194 'dependencies': [ |
195 'jingle_glue', | 195 'jingle_glue', |
196 'jingle_glue_test_util', | 196 'jingle_glue_test_util', |
197 'notifier', | 197 'notifier', |
198 'notifier_test_util', | 198 'notifier_test_util', |
199 '../base/base.gyp:base', | 199 '../base/base.gyp:base', |
200 '../base/base.gyp:test_support_base', | 200 '../base/base.gyp:test_support_base', |
201 '../net/net.gyp:net', | 201 '../net/net.gyp:net', |
202 '../net/net.gyp:net_test_support', | 202 '../net/net.gyp:net_test_support', |
203 '../testing/gmock.gyp:gmock', | 203 '../testing/gmock.gyp:gmock', |
204 '../testing/gtest.gyp:gtest', | 204 '../testing/gtest.gyp:gtest', |
205 '../third_party/libjingle/libjingle.gyp:libjingle', | 205 '../third_party/libjingle/libjingle.gyp:libjingle', |
206 ], | 206 ], |
207 }, | 207 }, |
208 ], | 208 ], |
209 } | 209 } |
OLD | NEW |