| Index: remoting/protocol/BUILD.gn
|
| diff --git a/remoting/protocol/BUILD.gn b/remoting/protocol/BUILD.gn
|
| index a1d45d4b2aa2f016813d6e9f069a04a8228eda03..ac9dae024bbf15c305adfa451adea64f68069b11 100644
|
| --- a/remoting/protocol/BUILD.gn
|
| +++ b/remoting/protocol/BUILD.gn
|
| @@ -3,12 +3,166 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/features.gni")
|
| -import("//remoting/remoting_srcs.gni")
|
|
|
| static_library("protocol") {
|
| - sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources,
|
| - ".",
|
| - "//remoting")
|
| + sources = [
|
| + "audio_reader.cc",
|
| + "audio_reader.h",
|
| + "audio_stub.h",
|
| + "audio_writer.cc",
|
| + "audio_writer.h",
|
| + "auth_util.cc",
|
| + "auth_util.h",
|
| + "authenticator.cc",
|
| + "authenticator.h",
|
| + "capability_names.h",
|
| + "channel_authenticator.h",
|
| + "channel_dispatcher_base.cc",
|
| + "channel_dispatcher_base.h",
|
| + "channel_multiplexer.cc",
|
| + "channel_multiplexer.h",
|
| + "channel_socket_adapter.cc",
|
| + "channel_socket_adapter.h",
|
| + "client_authentication_config.cc",
|
| + "client_authentication_config.h",
|
| + "client_control_dispatcher.cc",
|
| + "client_control_dispatcher.h",
|
| + "client_event_dispatcher.cc",
|
| + "client_event_dispatcher.h",
|
| + "client_stub.h",
|
| + "client_video_dispatcher.cc",
|
| + "client_video_dispatcher.h",
|
| + "client_video_stats_dispatcher.cc",
|
| + "client_video_stats_dispatcher.h",
|
| + "clipboard_echo_filter.cc",
|
| + "clipboard_echo_filter.h",
|
| + "clipboard_filter.cc",
|
| + "clipboard_filter.h",
|
| + "clipboard_stub.h",
|
| + "clipboard_thread_proxy.cc",
|
| + "clipboard_thread_proxy.h",
|
| + "connection_to_client.h",
|
| + "connection_to_host.cc",
|
| + "connection_to_host.h",
|
| + "content_description.cc",
|
| + "content_description.h",
|
| + "datagram_channel_factory.h",
|
| + "errors.cc",
|
| + "errors.h",
|
| + "frame_consumer.h",
|
| + "frame_stats.cc",
|
| + "frame_stats.h",
|
| + "host_control_dispatcher.cc",
|
| + "host_control_dispatcher.h",
|
| + "host_event_dispatcher.cc",
|
| + "host_event_dispatcher.h",
|
| + "host_stub.h",
|
| + "host_video_dispatcher.cc",
|
| + "host_video_dispatcher.h",
|
| + "host_video_stats_dispatcher.cc",
|
| + "host_video_stats_dispatcher.h",
|
| + "http_ice_config_request.cc",
|
| + "http_ice_config_request.h",
|
| + "ice_config.cc",
|
| + "ice_config.h",
|
| + "ice_config_request.h",
|
| + "ice_connection_to_host.cc",
|
| + "ice_connection_to_host.h",
|
| + "ice_transport.cc",
|
| + "ice_transport.h",
|
| + "ice_transport_channel.cc",
|
| + "ice_transport_channel.h",
|
| + "input_event_tracker.cc",
|
| + "input_event_tracker.h",
|
| + "input_filter.cc",
|
| + "input_filter.h",
|
| + "input_stub.h",
|
| + "it2me_host_authenticator_factory.cc",
|
| + "it2me_host_authenticator_factory.h",
|
| + "jingle_info_request.cc",
|
| + "jingle_info_request.h",
|
| + "jingle_messages.cc",
|
| + "jingle_messages.h",
|
| + "jingle_session.cc",
|
| + "jingle_session.h",
|
| + "jingle_session_manager.cc",
|
| + "jingle_session_manager.h",
|
| + "me2me_host_authenticator_factory.cc",
|
| + "me2me_host_authenticator_factory.h",
|
| + "message_decoder.cc",
|
| + "message_decoder.h",
|
| + "message_pipe.h",
|
| + "message_reader.cc",
|
| + "message_reader.h",
|
| + "message_serialization.cc",
|
| + "message_serialization.h",
|
| + "monitored_video_stub.cc",
|
| + "monitored_video_stub.h",
|
| + "mouse_input_filter.cc",
|
| + "mouse_input_filter.h",
|
| + "name_value_map.h",
|
| + "negotiating_authenticator_base.cc",
|
| + "negotiating_authenticator_base.h",
|
| + "negotiating_client_authenticator.cc",
|
| + "negotiating_client_authenticator.h",
|
| + "negotiating_host_authenticator.cc",
|
| + "negotiating_host_authenticator.h",
|
| + "network_settings.h",
|
| + "p2p_datagram_socket.h",
|
| + "p2p_stream_socket.h",
|
| + "pairing_authenticator_base.cc",
|
| + "pairing_authenticator_base.h",
|
| + "pairing_client_authenticator.cc",
|
| + "pairing_client_authenticator.h",
|
| + "pairing_host_authenticator.cc",
|
| + "pairing_host_authenticator.h",
|
| + "pairing_registry.cc",
|
| + "pairing_registry.h",
|
| + "performance_tracker.cc",
|
| + "performance_tracker.h",
|
| + "port_allocator.cc",
|
| + "port_allocator.h",
|
| + "port_allocator_factory.h",
|
| + "port_range.cc",
|
| + "port_range.h",
|
| + "pseudotcp_adapter.cc",
|
| + "pseudotcp_adapter.h",
|
| + "pseudotcp_channel_factory.cc",
|
| + "pseudotcp_channel_factory.h",
|
| + "rejecting_authenticator.cc",
|
| + "rejecting_authenticator.h",
|
| + "secure_channel_factory.cc",
|
| + "secure_channel_factory.h",
|
| + "session.h",
|
| + "session_config.cc",
|
| + "session_config.h",
|
| + "session_manager.h",
|
| + "socket_util.cc",
|
| + "socket_util.h",
|
| + "spake2_authenticator.cc",
|
| + "spake2_authenticator.h",
|
| + "ssl_hmac_channel_authenticator.cc",
|
| + "ssl_hmac_channel_authenticator.h",
|
| + "stream_channel_factory.h",
|
| + "stream_message_pipe_adapter.cc",
|
| + "stream_message_pipe_adapter.h",
|
| + "third_party_authenticator_base.cc",
|
| + "third_party_authenticator_base.h",
|
| + "third_party_client_authenticator.cc",
|
| + "third_party_client_authenticator.h",
|
| + "third_party_host_authenticator.cc",
|
| + "third_party_host_authenticator.h",
|
| + "token_validator.h",
|
| + "transport.cc",
|
| + "transport.h",
|
| + "transport_context.cc",
|
| + "transport_context.h",
|
| + "v2_authenticator.cc",
|
| + "v2_authenticator.h",
|
| + "video_renderer.h",
|
| + "video_stats_stub.h",
|
| + "video_stub.h",
|
| + ]
|
|
|
| configs += [
|
| "//build/config:precompiled_headers",
|
| @@ -33,10 +187,34 @@ static_library("protocol") {
|
| ]
|
|
|
| if (!is_nacl) {
|
| - sources +=
|
| - rebase_path(remoting_srcs_gypi_values.remoting_protocol_nonnacl_sources,
|
| - ".",
|
| - "//remoting")
|
| + sources += [
|
| + "capture_scheduler.cc",
|
| + "capture_scheduler.h",
|
| + "chromium_port_allocator_factory.cc",
|
| + "chromium_port_allocator_factory.h",
|
| + "chromium_socket_factory.cc",
|
| + "chromium_socket_factory.h",
|
| + "ice_connection_to_client.cc",
|
| + "ice_connection_to_client.h",
|
| + "video_frame_pump.cc",
|
| + "video_frame_pump.h",
|
| + "webrtc_connection_to_client.cc",
|
| + "webrtc_connection_to_client.h",
|
| + "webrtc_connection_to_host.cc",
|
| + "webrtc_connection_to_host.h",
|
| + "webrtc_data_stream_adapter.cc",
|
| + "webrtc_data_stream_adapter.h",
|
| + "webrtc_dummy_video_capturer.cc",
|
| + "webrtc_dummy_video_capturer.h",
|
| + "webrtc_transport.cc",
|
| + "webrtc_transport.h",
|
| + "webrtc_video_encoder_factory.cc",
|
| + "webrtc_video_encoder_factory.h",
|
| + "webrtc_video_renderer_adapter.cc",
|
| + "webrtc_video_renderer_adapter.h",
|
| + "webrtc_video_stream.cc",
|
| + "webrtc_video_stream.h",
|
| + ]
|
|
|
| if (enable_webrtc) {
|
| deps += [
|
|
|