1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
10 # A library of various utils for integration with libjingle.
12 'target_name': 'jingle_glue',
13 'type': 'static_library',
15 'glue/channel_socket_adapter.cc',
16 'glue/channel_socket_adapter.h',
17 'glue/pseudotcp_adapter.cc',
18 'glue/pseudotcp_adapter.h',
19 'glue/thread_wrapper.cc',
20 'glue/thread_wrapper.h',
25 '../base/base.gyp:base',
26 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
28 '../third_party/libjingle/libjingle.gyp:libjingle',
29 '../third_party/libjingle/libjingle.gyp:libjingle_p2p',
31 'export_dependent_settings': [
32 '../third_party/libjingle/libjingle.gyp:libjingle',
33 '../third_party/libjingle/libjingle.gyp:libjingle_p2p',
36 # A library for sending and receiving peer-issued notifications.
38 # TODO(akalin): Separate out the XMPP stuff from this library into
41 'target_name': 'notifier',
42 'type': 'static_library',
44 'notifier/base/chrome_async_socket.cc',
45 'notifier/base/chrome_async_socket.h',
46 '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',
50 'notifier/base/gaia_token_pre_xmpp_auth.h',
51 'notifier/base/notification_method.h',
52 'notifier/base/notification_method.cc',
53 'notifier/base/notifier_options.cc',
54 'notifier/base/notifier_options.h',
55 'notifier/base/notifier_options_util.cc',
56 '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',
61 'notifier/base/server_information.h',
62 'notifier/base/task_pump.cc',
63 'notifier/base/task_pump.h',
64 'notifier/base/weak_xmpp_client.cc',
65 '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',
69 'notifier/base/xmpp_connection.h',
70 'notifier/communicator/connection_options.cc',
71 'notifier/communicator/connection_options.h',
72 'notifier/communicator/connection_settings.cc',
73 'notifier/communicator/connection_settings.h',
74 'notifier/communicator/login.cc',
75 'notifier/communicator/login.h',
76 'notifier/communicator/login_settings.cc',
77 'notifier/communicator/login_settings.h',
78 'notifier/communicator/single_login_attempt.cc',
79 'notifier/communicator/single_login_attempt.h',
80 'notifier/communicator/xmpp_connection_generator.cc',
81 'notifier/communicator/xmpp_connection_generator.h',
82 'notifier/listener/mediator_thread.h',
83 'notifier/listener/mediator_thread_impl.cc',
84 'notifier/listener/mediator_thread_impl.h',
85 'notifier/listener/notification_constants.cc',
86 'notifier/listener/notification_constants.h',
87 'notifier/listener/notification_defines.cc',
88 'notifier/listener/notification_defines.h',
89 'notifier/listener/push_notifications_listen_task.cc',
90 'notifier/listener/push_notifications_listen_task.h',
91 'notifier/listener/push_notifications_send_update_task.cc',
92 'notifier/listener/push_notifications_send_update_task.h',
93 'notifier/listener/push_notifications_subscribe_task.cc',
94 'notifier/listener/push_notifications_subscribe_task.h',
95 'notifier/listener/talk_mediator.h',
96 'notifier/listener/talk_mediator_impl.cc',
97 'notifier/listener/talk_mediator_impl.h',
98 'notifier/listener/xml_element_util.cc',
99 'notifier/listener/xml_element_util.h',
102 '_CRT_SECURE_NO_WARNINGS',
106 '../base/base.gyp:base',
107 '../build/temp_gyp/googleurl.gyp:googleurl',
108 '../net/net.gyp:net',
109 '../third_party/expat/expat.gyp:expat',
110 '../third_party/libjingle/libjingle.gyp:libjingle',
112 'export_dependent_settings': [
113 '../third_party/libjingle/libjingle.gyp:libjingle',
116 ['toolkit_uses_gtk == 1', {
118 '../build/linux/system.gyp:gtk'
124 'target_name': 'notifier_test_util',
125 'type': 'static_library',
127 'notifier/base/fake_base_task.cc',
128 'notifier/base/fake_base_task.h',
129 'notifier/base/mock_task.cc',
130 'notifier/base/mock_task.h',
134 '../base/base.gyp:base',
135 '../testing/gmock.gyp:gmock',
139 'target_name': 'jingle_glue_test_util',
140 'type': 'static_library',
142 'glue/fake_network_manager.cc',
143 'glue/fake_network_manager.h',
144 'glue/fake_socket_factory.cc',
145 'glue/fake_socket_factory.h',
149 '../base/base.gyp:base',
153 'target_name': 'jingle_unittests',
154 'type': 'executable',
156 'glue/channel_socket_adapter_unittest.cc',
157 'glue/jingle_glue_mock_objects.cc',
158 'glue/jingle_glue_mock_objects.h',
159 'glue/pseudotcp_adapter_unittest.cc',
160 'glue/thread_wrapper_unittest.cc',
161 'notifier/base/chrome_async_socket_unittest.cc',
162 'notifier/base/fake_ssl_client_socket_unittest.cc',
163 'notifier/base/proxy_resolving_client_socket_unittest.cc',
164 'notifier/base/task_pump_unittest.cc',
165 'notifier/base/xmpp_connection_unittest.cc',
166 'notifier/base/weak_xmpp_client_unittest.cc',
167 'notifier/communicator/xmpp_connection_generator_unittest.cc',
168 'notifier/listener/mediator_thread_mock.cc',
169 'notifier/listener/mediator_thread_mock.h',
170 'notifier/listener/mediator_thread_unittest.cc',
171 'notifier/listener/push_notifications_send_update_task_unittest.cc',
172 'notifier/listener/push_notifications_subscribe_task_unittest.cc',
173 'notifier/listener/talk_mediator_unittest.cc',
174 'notifier/listener/xml_element_util_unittest.cc',
175 'run_all_unittests.cc',
182 'jingle_glue_test_util',
184 'notifier_test_util',
185 '../base/base.gyp:base',
186 '../base/base.gyp:test_support_base',
187 '../net/net.gyp:net',
188 '../net/net.gyp:net_test_support',
189 '../testing/gmock.gyp:gmock',
190 '../testing/gtest.gyp:gtest',
191 '../third_party/libjingle/libjingle.gyp:libjingle',