Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: remoting/protocol/BUILD.gn

Issue 1462063004: Move VideoFramePump to remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/host/video_frame_pump_unittest.cc ('k') | remoting/protocol/capture_scheduler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//remoting/remoting_srcs.gni") 6 import("//remoting/remoting_srcs.gni")
7 7
8 source_set("protocol") { 8 source_set("protocol") {
9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources, 9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources,
10 ".", 10 ".",
(...skipping 12 matching lines...) Expand all
23 deps = [ 23 deps = [
24 "//base", 24 "//base",
25 "//crypto", 25 "//crypto",
26 "//jingle:jingle_glue", 26 "//jingle:jingle_glue",
27 "//net", 27 "//net",
28 "//remoting/base", 28 "//remoting/base",
29 "//remoting/codec", 29 "//remoting/codec",
30 "//remoting/signaling", 30 "//remoting/signaling",
31 ] 31 ]
32 32
33 if (is_nacl) { 33 if (!is_nacl) {
34 sources -= [ 34 sources +=
35 "chromium_port_allocator.cc", 35 rebase_path(remoting_srcs_gypi_values.remoting_protocol_nonnacl_sources,
36 "chromium_port_allocator_factory.cc", 36 ".",
37 "chromium_socket_factory.cc", 37 "//remoting")
38 ]
39 }
40 38
41 if (!is_nacl && enable_webrtc) { 39 if (enable_webrtc) {
42 deps += [ 40 deps += [
43 # TODO(GYP): crbug.com/481633. We should probably not have to depend on 41 # TODO(GYP): crbug.com/481633. We should probably not have to depend on
44 # libjingle_webrtc; that should be pulled in automatically by 42 # libjingle_webrtc; that should be pulled in automatically by
45 # libpeerconnection instead. 43 # libpeerconnection instead.
46 "//third_party/libjingle:libjingle_webrtc", 44 "//third_party/libjingle:libjingle_webrtc",
47 "//third_party/libjingle:libpeerconnection", 45 "//third_party/libjingle:libpeerconnection",
48 ] 46 ]
49 } else { 47 } else {
50 sources -= [ "webrtc_transport.cc" ] 48 sources -= [ "webrtc_transport.cc" ]
49 }
51 } 50 }
52 } 51 }
53 52
54 source_set("test_support") { 53 source_set("test_support") {
55 testonly = true 54 testonly = true
56 55
57 sources = [ 56 sources = [
58 "fake_authenticator.cc", 57 "fake_authenticator.cc",
59 "fake_authenticator.h", 58 "fake_authenticator.h",
60 "fake_connection_to_host.cc", 59 "fake_connection_to_host.cc",
61 "fake_connection_to_host.h", 60 "fake_connection_to_host.h",
62 "fake_datagram_socket.cc", 61 "fake_datagram_socket.cc",
63 "fake_datagram_socket.h", 62 "fake_datagram_socket.h",
63 "fake_desktop_capturer.cc",
64 "fake_desktop_capturer.h",
64 "fake_session.cc", 65 "fake_session.cc",
65 "fake_session.h", 66 "fake_session.h",
66 "fake_stream_socket.cc", 67 "fake_stream_socket.cc",
67 "fake_stream_socket.h", 68 "fake_stream_socket.h",
68 "protocol_mock_objects.cc", 69 "protocol_mock_objects.cc",
69 "protocol_mock_objects.h", 70 "protocol_mock_objects.h",
70 ] 71 ]
71 72
72 public_deps = [ 73 public_deps = [
73 ":protocol", 74 ":protocol",
74 "//testing/gmock", 75 "//testing/gmock",
75 ] 76 ]
76 } 77 }
77 78
78 source_set("unit_tests") { 79 source_set("unit_tests") {
79 testonly = true 80 testonly = true
80 81
81 sources = [ 82 sources = [
82 "authenticator_test_base.cc", 83 "authenticator_test_base.cc",
83 "authenticator_test_base.h", 84 "authenticator_test_base.h",
85 "capture_scheduler_unittest.cc",
84 "channel_multiplexer_unittest.cc", 86 "channel_multiplexer_unittest.cc",
85 "channel_socket_adapter_unittest.cc", 87 "channel_socket_adapter_unittest.cc",
86 "chromium_socket_factory_unittest.cc", 88 "chromium_socket_factory_unittest.cc",
87 "client_video_dispatcher_unittest.cc", 89 "client_video_dispatcher_unittest.cc",
88 "clipboard_echo_filter_unittest.cc", 90 "clipboard_echo_filter_unittest.cc",
89 "clipboard_filter_unittest.cc", 91 "clipboard_filter_unittest.cc",
90 "connection_tester.cc", 92 "connection_tester.cc",
91 "connection_tester.h", 93 "connection_tester.h",
92 "content_description_unittest.cc", 94 "content_description_unittest.cc",
93 "ice_connection_to_client_unittest.cc", 95 "ice_connection_to_client_unittest.cc",
94 "input_event_tracker_unittest.cc", 96 "input_event_tracker_unittest.cc",
95 "input_filter_unittest.cc", 97 "input_filter_unittest.cc",
96 "jingle_messages_unittest.cc", 98 "jingle_messages_unittest.cc",
97 "jingle_session_unittest.cc", 99 "jingle_session_unittest.cc",
98 "message_decoder_unittest.cc", 100 "message_decoder_unittest.cc",
99 "message_reader_unittest.cc", 101 "message_reader_unittest.cc",
100 "monitored_video_stub_unittest.cc", 102 "monitored_video_stub_unittest.cc",
101 "mouse_input_filter_unittest.cc", 103 "mouse_input_filter_unittest.cc",
102 "negotiating_authenticator_unittest.cc", 104 "negotiating_authenticator_unittest.cc",
103 "pairing_registry_unittest.cc", 105 "pairing_registry_unittest.cc",
104 "port_range_unittest.cc", 106 "port_range_unittest.cc",
105 "ppapi_module_stub.cc", 107 "ppapi_module_stub.cc",
106 "pseudotcp_adapter_unittest.cc", 108 "pseudotcp_adapter_unittest.cc",
107 "quic_channel_factory_unittest.cc", 109 "quic_channel_factory_unittest.cc",
108 "ssl_hmac_channel_authenticator_unittest.cc", 110 "ssl_hmac_channel_authenticator_unittest.cc",
109 "third_party_authenticator_unittest.cc", 111 "third_party_authenticator_unittest.cc",
110 "v2_authenticator_unittest.cc", 112 "v2_authenticator_unittest.cc",
113 "video_frame_pump_unittest.cc",
111 "webrtc_transport_unittest.cc", 114 "webrtc_transport_unittest.cc",
112 ] 115 ]
113 116
114 deps = [ 117 deps = [
115 ":test_support", 118 ":test_support",
116 "//testing/gmock", 119 "//testing/gmock",
117 "//testing/gtest", 120 "//testing/gtest",
118 ] 121 ]
119 } 122 }
OLDNEW
« no previous file with comments | « remoting/host/video_frame_pump_unittest.cc ('k') | remoting/protocol/capture_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698