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

Side by Side Diff: remoting/remoting_test.gypi

Issue 1228283004: Cleanup inconsistencies between GN and GYP in //remoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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
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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //remoting:test_support 8 # GN version: //remoting:test_support
9 'target_name': 'remoting_test_common', 9 'target_name': 'remoting_test_support',
10 'type': 'static_library', 10 'type': 'static_library',
11 'dependencies': [ 11 'dependencies': [
12 '../base/base.gyp:base', 12 '../base/base.gyp:base',
13 '../components/components.gyp:policy_component_test_support', 13 '../components/components.gyp:policy_component_test_support',
14 '../net/net.gyp:net_test_support', 14 '../net/net.gyp:net_test_support',
15 '../testing/gmock.gyp:gmock', 15 '../testing/gmock.gyp:gmock',
16 '../testing/gtest.gyp:gtest', 16 '../testing/gtest.gyp:gtest',
17 'remoting_base', 17 'remoting_base',
18 'remoting_client', 18 'remoting_client',
19 'remoting_host', 19 'remoting_host',
20 'remoting_protocol', 20 'remoting_protocol',
21 'remoting_resources', 21 'remoting_resources',
22 ], 22 ],
23 'sources': [ 23 'sources': [
24 # Note: sources list duplicated in GN build. 24 # Note: sources list duplicated in GN build.
25 'host/fake_desktop_capturer.cc', 25 'host/fake_desktop_capturer.cc',
26 'host/fake_desktop_capturer.h', 26 'host/fake_desktop_capturer.h',
27 'host/fake_desktop_environment.cc', 27 'host/fake_desktop_environment.cc',
28 'host/fake_desktop_environment.h', 28 'host/fake_desktop_environment.h',
29 'host/fake_host_extension.cc',
30 'host/fake_host_extension.h',
29 'host/fake_host_status_monitor.h', 31 'host/fake_host_status_monitor.h',
30 'host/fake_mouse_cursor_monitor.cc', 32 'host/fake_mouse_cursor_monitor.cc',
31 'host/fake_mouse_cursor_monitor.h', 33 'host/fake_mouse_cursor_monitor.h',
34 'host/fake_oauth_token_getter.cc',
35 'host/fake_oauth_token_getter.h',
32 'protocol/fake_authenticator.cc', 36 'protocol/fake_authenticator.cc',
33 'protocol/fake_authenticator.h', 37 'protocol/fake_authenticator.h',
34 'protocol/fake_connection_to_host.cc', 38 'protocol/fake_connection_to_host.cc',
35 'protocol/fake_connection_to_host.h', 39 'protocol/fake_connection_to_host.h',
36 'protocol/fake_datagram_socket.cc', 40 'protocol/fake_datagram_socket.cc',
37 'protocol/fake_datagram_socket.h', 41 'protocol/fake_datagram_socket.h',
38 'protocol/fake_session.cc', 42 'protocol/fake_session.cc',
39 'protocol/fake_session.h', 43 'protocol/fake_session.h',
40 'protocol/fake_stream_socket.cc', 44 'protocol/fake_stream_socket.cc',
41 'protocol/fake_stream_socket.h', 45 'protocol/fake_stream_socket.h',
42 'protocol/protocol_mock_objects.cc', 46 'protocol/protocol_mock_objects.cc',
43 'protocol/protocol_mock_objects.h', 47 'protocol/protocol_mock_objects.h',
44 'protocol/test_event_matchers.h', 48 'protocol/test_event_matchers.h',
45 'signaling/fake_signal_strategy.cc', 49 'signaling/fake_signal_strategy.cc',
46 'signaling/fake_signal_strategy.h', 50 'signaling/fake_signal_strategy.h',
47 'signaling/mock_signal_strategy.cc', 51 'signaling/mock_signal_strategy.cc',
48 'signaling/mock_signal_strategy.h', 52 'signaling/mock_signal_strategy.h',
49 'test/access_token_fetcher.cc', 53 'test/access_token_fetcher.cc',
50 'test/access_token_fetcher.h', 54 'test/access_token_fetcher.h',
55 'test/app_remoting_connected_client_fixture.cc',
56 'test/app_remoting_connected_client_fixture.h',
57 'test/app_remoting_connection_helper.cc',
58 'test/app_remoting_connection_helper.h',
59 'test/app_remoting_latency_test_fixture.cc',
60 'test/app_remoting_latency_test_fixture.h',
51 'test/app_remoting_report_issue_request.cc', 61 'test/app_remoting_report_issue_request.cc',
52 'test/app_remoting_report_issue_request.h', 62 'test/app_remoting_report_issue_request.h',
53 'test/app_remoting_service_urls.cc', 63 'test/app_remoting_service_urls.cc',
54 'test/app_remoting_service_urls.h', 64 'test/app_remoting_service_urls.h',
55 'test/app_remoting_test_driver_environment.cc', 65 'test/app_remoting_test_driver_environment.cc',
66 'test/app_remoting_test_driver_environment.h',
56 'test/app_remoting_test_driver_environment_app_details.cc', 67 'test/app_remoting_test_driver_environment_app_details.cc',
57 'test/app_remoting_test_driver_environment.h',
58 'test/host_info.cc',
59 'test/host_info.h',
60 'test/host_list_fetcher.cc',
61 'test/host_list_fetcher.h',
62 'test/fake_access_token_fetcher.cc', 68 'test/fake_access_token_fetcher.cc',
63 'test/fake_access_token_fetcher.h', 69 'test/fake_access_token_fetcher.h',
64 'test/fake_app_remoting_report_issue_request.cc', 70 'test/fake_app_remoting_report_issue_request.cc',
65 'test/fake_app_remoting_report_issue_request.h', 71 'test/fake_app_remoting_report_issue_request.h',
66 'test/fake_network_dispatcher.cc', 72 'test/fake_network_dispatcher.cc',
67 'test/fake_network_dispatcher.h', 73 'test/fake_network_dispatcher.h',
68 'test/fake_network_manager.cc', 74 'test/fake_network_manager.cc',
69 'test/fake_network_manager.h', 75 'test/fake_network_manager.h',
70 'test/fake_port_allocator.cc', 76 'test/fake_port_allocator.cc',
71 'test/fake_port_allocator.h', 77 'test/fake_port_allocator.h',
72 'test/fake_remote_host_info_fetcher.cc', 78 'test/fake_remote_host_info_fetcher.cc',
73 'test/fake_remote_host_info_fetcher.h', 79 'test/fake_remote_host_info_fetcher.h',
74 'test/fake_socket_factory.cc', 80 'test/fake_socket_factory.cc',
75 'test/fake_socket_factory.h', 81 'test/fake_socket_factory.h',
82 'test/host_info.cc',
83 'test/host_info.h',
84 'test/host_list_fetcher.cc',
85 'test/host_list_fetcher.h',
76 'test/leaky_bucket.cc', 86 'test/leaky_bucket.cc',
77 'test/leaky_bucket.h', 87 'test/leaky_bucket.h',
78 'test/mock_access_token_fetcher.cc', 88 'test/mock_access_token_fetcher.cc',
79 'test/mock_access_token_fetcher.h', 89 'test/mock_access_token_fetcher.h',
80 'test/refresh_token_store.cc', 90 'test/refresh_token_store.cc',
81 'test/refresh_token_store.h', 91 'test/refresh_token_store.h',
82 'test/remote_application_details.h', 92 'test/remote_application_details.h',
83 'test/remote_connection_observer.h', 93 'test/remote_connection_observer.h',
84 'test/remote_host_info.cc', 94 'test/remote_host_info.cc',
85 'test/remote_host_info.h', 95 'test/remote_host_info.h',
86 'test/remote_host_info_fetcher.cc', 96 'test/remote_host_info_fetcher.cc',
87 'test/remote_host_info_fetcher.h', 97 'test/remote_host_info_fetcher.h',
88 'test/test_chromoting_client.cc', 98 'test/test_chromoting_client.cc',
89 'test/test_chromoting_client.h', 99 'test/test_chromoting_client.h',
90 'test/test_video_renderer.cc', 100 'test/test_video_renderer.cc',
91 'test/test_video_renderer.h', 101 'test/test_video_renderer.h',
92 ], 102 ],
93 'conditions': [ 103 'conditions': [
94 ['enable_remoting_host == 0', { 104 ['enable_remoting_host == 0', {
95 'dependencies!': [ 105 'dependencies!': [
96 'remoting_host', 106 'remoting_host',
97 ], 107 ],
98 'sources/': [ 108 'sources/': [
99 ['exclude', '^host/'], 109 ['exclude', '^host/'],
100 ] 110 ]
101 }], 111 }],
102 ], 112 ],
103 }, 113 },
104 { 114 {
105 'target_name': 'remoting_test_driver_common',
106 'type': 'static_library',
107 'dependencies': [
108 '../base/base.gyp:base',
109 '../base/base.gyp:test_support_base',
110 '../google_apis/google_apis.gyp:google_apis',
111 '../net/net.gyp:net',
112 '../remoting/remoting.gyp:remoting_base',
113 '../remoting/remoting.gyp:remoting_client',
114 '../remoting/remoting.gyp:remoting_protocol',
115 '../testing/gtest.gyp:gtest',
116 ],
117 'defines': [
118 'VERSION=<(version_full)',
119 ],
120 'sources': [
121 'test/access_token_fetcher.cc',
122 'test/access_token_fetcher.h',
123 'test/refresh_token_store.cc',
124 'test/refresh_token_store.h',
125 'test/remote_connection_observer.h',
126 'test/test_chromoting_client.cc',
127 'test/test_chromoting_client.h',
128 'test/test_video_renderer.cc',
129 'test/test_video_renderer.h',
130 ],
131 }, # end of target 'remoting_test_driver_common'
132 {
133 # A chromoting version of remoting_test_driver_common
134 'target_name': 'chromoting_test_driver', 115 'target_name': 'chromoting_test_driver',
135 'type': '<(gtest_target_type)', 116 'type': '<(gtest_target_type)',
136 'dependencies': [ 117 'dependencies': [
137 'remoting_test_driver_common', 118 'remoting_test_support',
138 ], 119 '../testing/gtest.gyp:gtest',
139 'defines': [
140 'VERSION=<(version_full)',
141 ], 120 ],
142 'sources': [ 121 'sources': [
143 'test/host_info.cc',
144 'test/host_info.h',
145 'test/host_list_fetcher.cc',
146 'test/host_list_fetcher.h',
147 'test/chromoting_test_driver.cc', 122 'test/chromoting_test_driver.cc',
148 ], 123 ],
149 'include_dirs': [
150 '../testing/gtest/include',
151 ],
152 }, # end of target 'chromoting_test_driver' 124 }, # end of target 'chromoting_test_driver'
153 { 125 {
154 'target_name': 'ar_test_driver_common',
joedow 2015/07/16 02:45:14 Removing this target will affect the internal ar_t
Sergey Ulanov 2015/07/16 17:39:11 I see. I've added ar_test_driver_common back, but
155 'type': 'static_library',
156 'dependencies': [
157 '../remoting/proto/chromotocol.gyp:chromotocol_proto_lib',
158 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:desktop_capture',
159 'remoting_test_driver_common',
160 ],
161 'defines': [
162 'VERSION=<(version_full)',
163 ],
164 'sources': [
165 'test/app_remoting_connected_client_fixture.cc',
166 'test/app_remoting_connected_client_fixture.h',
167 'test/app_remoting_connection_helper.cc',
168 'test/app_remoting_connection_helper.h',
169 'test/app_remoting_latency_test_fixture.cc',
170 'test/app_remoting_latency_test_fixture.h',
171 'test/app_remoting_report_issue_request.cc',
172 'test/app_remoting_report_issue_request.h',
173 'test/app_remoting_service_urls.cc',
174 'test/app_remoting_service_urls.h',
175 'test/app_remoting_test_driver_environment.cc',
176 'test/app_remoting_test_driver_environment.h',
177 'test/remote_application_details.h',
178 'test/remote_host_info.cc',
179 'test/remote_host_info.h',
180 'test/remote_host_info_fetcher.cc',
181 'test/remote_host_info_fetcher.h',
182 ],
183 'include_dirs': [
184 '../testing/gtest/include',
185 ],
186 }, # end of target 'ar_test_driver_common'
187 {
188 # An external version of the test driver tool which includes minimal tests 126 # An external version of the test driver tool which includes minimal tests
189 'target_name': 'ar_sample_test_driver', 127 'target_name': 'ar_sample_test_driver',
190 'type': '<(gtest_target_type)', 128 'type': '<(gtest_target_type)',
191 'dependencies': [ 129 'dependencies': [
192 'ar_test_driver_common', 130 'remoting_test_support',
193 ], 131 '../testing/gtest.gyp:gtest',
194 'defines': [
195 'VERSION=<(version_full)',
196 ], 132 ],
197 'sources': [ 133 'sources': [
198 'test/app_remoting_test_driver.cc', 134 'test/app_remoting_test_driver.cc',
199 'test/app_remoting_test_driver_environment_app_details.cc',
200 ],
201 'include_dirs': [
202 '../testing/gtest/include',
203 ], 135 ],
204 }, # end of target 'ar_sample_test_driver' 136 }, # end of target 'ar_sample_test_driver'
205 137
206 # Remoting unit tests 138 # Remoting unit tests
207 { 139 {
208 # GN version: //remoting:remoting_unittests 140 # GN version: //remoting:remoting_unittests
209 # Note that many of the sources are broken out into subdir-specific unit 141 # Note that many of the sources are broken out into subdir-specific unit
210 # test source set targets that then GN version then brings together. 142 # test source set targets that then GN version then brings together.
211 'target_name': 'remoting_unittests', 143 'target_name': 'remoting_unittests',
212 'type': '<(gtest_target_type)', 144 'type': '<(gtest_target_type)',
(...skipping 15 matching lines...) Expand all
228 'remoting_base', 160 'remoting_base',
229 'remoting_breakpad', 161 'remoting_breakpad',
230 'remoting_client', 162 'remoting_client',
231 'remoting_client_plugin', 163 'remoting_client_plugin',
232 'remoting_host', 164 'remoting_host',
233 'remoting_host_setup_base', 165 'remoting_host_setup_base',
234 'remoting_it2me_host_static', 166 'remoting_it2me_host_static',
235 'remoting_native_messaging_base', 167 'remoting_native_messaging_base',
236 'remoting_protocol', 168 'remoting_protocol',
237 'remoting_resources', 169 'remoting_resources',
238 'remoting_test_common', 170 'remoting_test_support',
239 ], 171 ],
240 'defines': [ 172 'defines': [
241 'VERSION=<(version_full)', 173 'VERSION=<(version_full)',
242 ], 174 ],
243 'include_dirs': [ 175 'include_dirs': [
244 '../testing/gmock/include', 176 '../testing/gmock/include',
245 ], 177 ],
246 'sources': [ 178 'sources': [
247 # Note: sources list duplicated in GN build. 179 # Note: sources list duplicated in GN build.
248 'base/auto_thread_task_runner_unittest.cc', 180 'base/auto_thread_task_runner_unittest.cc',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 'host/capture_scheduler_unittest.cc', 214 'host/capture_scheduler_unittest.cc',
283 'host/chromeos/aura_desktop_capturer_unittest.cc', 215 'host/chromeos/aura_desktop_capturer_unittest.cc',
284 'host/chromeos/clipboard_aura_unittest.cc', 216 'host/chromeos/clipboard_aura_unittest.cc',
285 'host/chromoting_host_context_unittest.cc', 217 'host/chromoting_host_context_unittest.cc',
286 'host/chromoting_host_unittest.cc', 218 'host/chromoting_host_unittest.cc',
287 'host/client_session_unittest.cc', 219 'host/client_session_unittest.cc',
288 'host/config_file_watcher_unittest.cc', 220 'host/config_file_watcher_unittest.cc',
289 'host/daemon_process_unittest.cc', 221 'host/daemon_process_unittest.cc',
290 'host/desktop_process_unittest.cc', 222 'host/desktop_process_unittest.cc',
291 'host/desktop_shape_tracker_unittest.cc', 223 'host/desktop_shape_tracker_unittest.cc',
292 'host/fake_desktop_capturer.cc',
293 'host/fake_desktop_capturer.h',
294 'host/fake_host_extension.cc',
295 'host/fake_host_extension.h',
296 'host/fake_host_status_monitor.h',
297 'host/fake_oauth_token_getter.cc',
298 'host/fake_oauth_token_getter.h',
299 'host/gcd_rest_client_unittest.cc', 224 'host/gcd_rest_client_unittest.cc',
300 'host/gcd_state_updater_unittest.cc', 225 'host/gcd_state_updater_unittest.cc',
301 'host/gnubby_auth_handler_posix_unittest.cc', 226 'host/gnubby_auth_handler_posix_unittest.cc',
302 'host/heartbeat_sender_unittest.cc', 227 'host/heartbeat_sender_unittest.cc',
303 'host/host_change_notification_listener_unittest.cc', 228 'host/host_change_notification_listener_unittest.cc',
304 'host/host_config_unittest.cc', 229 'host/host_config_unittest.cc',
305 'host/host_extension_session_manager_unittest.cc', 230 'host/host_extension_session_manager_unittest.cc',
306 'host/host_mock_objects.cc', 231 'host/host_mock_objects.cc',
307 'host/host_status_logger_unittest.cc', 232 'host/host_status_logger_unittest.cc',
308 'host/ipc_desktop_environment_unittest.cc', 233 'host/ipc_desktop_environment_unittest.cc',
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 { 497 {
573 'target_name': 'remoting_perftests', 498 'target_name': 'remoting_perftests',
574 'type': '<(gtest_target_type)', 499 'type': '<(gtest_target_type)',
575 'dependencies': [ 500 'dependencies': [
576 '../base/base.gyp:base', 501 '../base/base.gyp:base',
577 '../base/base.gyp:test_support_base', 502 '../base/base.gyp:test_support_base',
578 '../testing/gtest.gyp:gtest', 503 '../testing/gtest.gyp:gtest',
579 '../third_party/webrtc/modules/modules.gyp:desktop_capture', 504 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
580 '../third_party/libjingle/libjingle.gyp:libjingle', 505 '../third_party/libjingle/libjingle.gyp:libjingle',
581 'remoting_base', 506 'remoting_base',
582 'remoting_test_common', 507 'remoting_test_support',
583 ], 508 ],
584 'defines': [ 509 'defines': [
585 'VERSION=<(version_full)', 510 'VERSION=<(version_full)',
586 ], 511 ],
587 'include_dirs': [ 512 'include_dirs': [
588 '../testing/gmock/include', 513 '../testing/gmock/include',
589 ], 514 ],
590 'sources': [ 515 'sources': [
591 'base/run_all_unittests.cc', 516 'base/run_all_unittests.cc',
592 'codec/codec_test.cc', 517 'codec/codec_test.cc',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 '../build/isolate.gypi', 577 '../build/isolate.gypi',
653 ], 578 ],
654 'sources': [ 579 'sources': [
655 'remoting_unittests.isolate', 580 'remoting_unittests.isolate',
656 ], 581 ],
657 }, 582 },
658 ], 583 ],
659 }], 584 }],
660 ] # end of 'conditions' 585 ] # end of 'conditions'
661 } 586 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698