1# Copyright 2014 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.
4
5static_library("protocol") {
6  sources = [
7    "audio_reader.cc",
8    "audio_reader.h",
9    "audio_stub.h",
10    "audio_writer.cc",
11    "audio_writer.h",
12    "auth_util.cc",
13    "auth_util.h",
14    "authentication_method.cc",
15    "authentication_method.h",
16    "authenticator.cc",
17    "authenticator.h",
18    "buffered_socket_writer.cc",
19    "buffered_socket_writer.h",
20    "channel_authenticator.h",
21    "channel_dispatcher_base.cc",
22    "channel_dispatcher_base.h",
23    "channel_multiplexer.cc",
24    "channel_multiplexer.h",
25    "chromium_port_allocator.cc",
26    "chromium_port_allocator.h",
27    "chromium_socket_factory.cc",
28    "chromium_socket_factory.h",
29    "client_control_dispatcher.cc",
30    "client_control_dispatcher.h",
31    "client_event_dispatcher.cc",
32    "client_event_dispatcher.h",
33    "client_stub.h",
34    "client_video_dispatcher.cc",
35    "client_video_dispatcher.h",
36    "clipboard_echo_filter.cc",
37    "clipboard_echo_filter.h",
38    "clipboard_filter.cc",
39    "clipboard_filter.h",
40    "clipboard_stub.h",
41    "clipboard_thread_proxy.cc",
42    "clipboard_thread_proxy.h",
43    "connection_to_client.cc",
44    "connection_to_client.h",
45    "connection_to_host.cc",
46    "connection_to_host.h",
47    "content_description.cc",
48    "content_description.h",
49    "datagram_channel_factory.h",
50    "errors.h",
51    "host_control_dispatcher.cc",
52    "host_control_dispatcher.h",
53    "host_event_dispatcher.cc",
54    "host_event_dispatcher.h",
55    "host_stub.h",
56    "host_video_dispatcher.cc",
57    "host_video_dispatcher.h",
58    "input_event_tracker.cc",
59    "input_event_tracker.h",
60    "input_filter.cc",
61    "input_filter.h",
62    "input_stub.h",
63    "it2me_host_authenticator_factory.cc",
64    "it2me_host_authenticator_factory.h",
65    "jingle_messages.cc",
66    "jingle_messages.h",
67    "jingle_session.cc",
68    "jingle_session.h",
69    "jingle_session_manager.cc",
70    "jingle_session_manager.h",
71    "libjingle_transport_factory.cc",
72    "libjingle_transport_factory.h",
73    "me2me_host_authenticator_factory.cc",
74    "me2me_host_authenticator_factory.h",
75    "message_decoder.cc",
76    "message_decoder.h",
77    "message_reader.cc",
78    "message_reader.h",
79    "message_serialization.cc",
80    "message_serialization.h",
81    "monitored_video_stub.cc",
82    "monitored_video_stub.h",
83    "mouse_input_filter.cc",
84    "mouse_input_filter.h",
85    "name_value_map.h",
86    "negotiating_authenticator_base.cc",
87    "negotiating_authenticator_base.h",
88    "negotiating_client_authenticator.cc",
89    "negotiating_client_authenticator.h",
90    "negotiating_host_authenticator.cc",
91    "negotiating_host_authenticator.h",
92    "network_settings.cc",
93    "network_settings.h",
94    "pairing_authenticator_base.cc",
95    "pairing_authenticator_base.h",
96    "pairing_client_authenticator.cc",
97    "pairing_client_authenticator.h",
98    "pairing_host_authenticator.cc",
99    "pairing_host_authenticator.h",
100    "pairing_registry.cc",
101    "pairing_registry.h",
102    "pseudotcp_channel_factory.cc",
103    "pseudotcp_channel_factory.h",
104    "secure_channel_factory.cc",
105    "secure_channel_factory.h",
106    "session.h",
107    "session_config.cc",
108    "session_config.h",
109    "session_manager.h",
110    "socket_util.cc",
111    "socket_util.h",
112    "ssl_hmac_channel_authenticator.cc",
113    "ssl_hmac_channel_authenticator.h",
114    "stream_channel_factory.h",
115    "third_party_authenticator_base.cc",
116    "third_party_authenticator_base.h",
117    "third_party_client_authenticator.cc",
118    "third_party_client_authenticator.h",
119    "third_party_host_authenticator.cc",
120    "third_party_host_authenticator.h",
121    "token_validator.h",
122    "transport.cc",
123    "transport.h",
124    "v2_authenticator.cc",
125    "v2_authenticator.h",
126    "video_stub.h",
127    "../signaling/iq_sender.cc",
128    "../signaling/iq_sender.h",
129    "../signaling/jingle_info_request.cc",
130    "../signaling/jingle_info_request.h",
131    "../signaling/log_to_server.cc",
132    "../signaling/log_to_server.h",
133    "../signaling/server_log_entry.cc",
134    "../signaling/server_log_entry.h",
135    "../signaling/signal_strategy.h",
136    "../signaling/xmpp_signal_strategy.cc",
137    "../signaling/xmpp_signal_strategy.h",
138  ]
139
140  configs += [ "//build/config/compiler:wexit_time_destructors" ]
141
142  public_deps = [
143    "//third_party/libjingle",
144  ]
145  deps = [
146    "//base",
147    "//crypto",
148    "//jingle:jingle_glue",
149    "//jingle:notifier",
150    "//net",
151    "//remoting/base",
152  ]
153}
154