Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / remoting / protocol / BUILD.gn
blobdc75988382270d0b97537ac962170908e42e2599
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.
5 static_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     "clipboard_echo_filter.cc",
35     "clipboard_echo_filter.h",
36     "clipboard_filter.cc",
37     "clipboard_filter.h",
38     "clipboard_stub.h",
39     "clipboard_thread_proxy.cc",
40     "clipboard_thread_proxy.h",
41     "connection_to_client.cc",
42     "connection_to_client.h",
43     "connection_to_host.cc",
44     "connection_to_host.h",
45     "content_description.cc",
46     "content_description.h",
47     "errors.h",
48     "host_control_dispatcher.cc",
49     "host_control_dispatcher.h",
50     "host_event_dispatcher.cc",
51     "host_event_dispatcher.h",
52     "host_stub.h",
53     "input_event_tracker.cc",
54     "input_event_tracker.h",
55     "input_filter.cc",
56     "input_filter.h",
57     "input_stub.h",
58     "it2me_host_authenticator_factory.cc",
59     "it2me_host_authenticator_factory.h",
60     "jingle_messages.cc",
61     "jingle_messages.h",
62     "jingle_session.cc",
63     "jingle_session.h",
64     "jingle_session_manager.cc",
65     "jingle_session_manager.h",
66     "libjingle_transport_factory.cc",
67     "libjingle_transport_factory.h",
68     "me2me_host_authenticator_factory.cc",
69     "me2me_host_authenticator_factory.h",
70     "message_decoder.cc",
71     "message_decoder.h",
72     "message_reader.cc",
73     "message_reader.h",
74     "message_serialization.cc",
75     "message_serialization.h",
76     "monitored_video_stub.cc",
77     "monitored_video_stub.h",
78     "mouse_input_filter.cc",
79     "mouse_input_filter.h",
80     "name_value_map.h",
81     "negotiating_authenticator_base.cc",
82     "negotiating_authenticator_base.h",
83     "negotiating_client_authenticator.cc",
84     "negotiating_client_authenticator.h",
85     "negotiating_host_authenticator.cc",
86     "negotiating_host_authenticator.h",
87     "network_settings.cc",
88     "network_settings.h",
89     "pairing_authenticator_base.cc",
90     "pairing_authenticator_base.h",
91     "pairing_client_authenticator.cc",
92     "pairing_client_authenticator.h",
93     "pairing_host_authenticator.cc",
94     "pairing_host_authenticator.h",
95     "pairing_registry.cc",
96     "pairing_registry.h",
97     "protobuf_video_reader.cc",
98     "protobuf_video_reader.h",
99     "protobuf_video_writer.cc",
100     "protobuf_video_writer.h",
101     "session.h",
102     "session_config.cc",
103     "session_config.h",
104     "session_manager.h",
105     "socket_util.cc",
106     "socket_util.h",
107     "ssl_hmac_channel_authenticator.cc",
108     "ssl_hmac_channel_authenticator.h",
109     "third_party_authenticator_base.cc",
110     "third_party_authenticator_base.h",
111     "third_party_client_authenticator.cc",
112     "third_party_client_authenticator.h",
113     "third_party_host_authenticator.cc",
114     "third_party_host_authenticator.h",
115     "token_validator.h",
116     "transport.cc",
117     "transport.h",
118     "v2_authenticator.cc",
119     "v2_authenticator.h",
120     "video_reader.cc",
121     "video_reader.h",
122     "video_stub.h",
123     "video_writer.cc",
124     "video_writer.h",
125     "../signaling/iq_sender.cc",
126     "../signaling/iq_sender.h",
127     "../signaling/jingle_info_request.cc",
128     "../signaling/jingle_info_request.h",
129     "../signaling/log_to_server.cc",
130     "../signaling/log_to_server.h",
131     "../signaling/server_log_entry.cc",
132     "../signaling/server_log_entry.h",
133     "../signaling/signal_strategy.h",
134     "../signaling/xmpp_signal_strategy.cc",
135     "../signaling/xmpp_signal_strategy.h",
136   ]
138   configs += [ "//build/config/compiler:wexit_time_destructors" ]
139   # TODO(GYP) Remove when WebRTC/jingle is converted.
140   configs += [
141     "//content:webrtc_stub_config",
142     "//content:libjingle_stub_config",
143   ]
145   deps = [
146     "//base",
147     "//crypto",
148     "//net",
149     "//remoting/base",
150     #'../jingle/jingle.gyp:jingle_glue',  TODO(GYP)
151     #'../jingle/jingle.gyp:notifier',  TODO(GYP)
152     #'../third_party/libjingle/libjingle.gyp:libjingle',  TODO(GYP)
153   ]
155   forward_dependent_configs_from = [
156     #'../third_party/libjingle/libjingle.gyp:libjingle',  TODO(GYP)
157   ]
158   # TODO(GYP) Remove when jingle is converted.
159   direct_dependent_configs = [ "//content:libjingle_stub_config" ]