[Android WebViewShell] Make WebViewLayoutTest runnable with test_runner.py
[chromium-blink-merge.git] / remoting / remoting_test.gypi
blobcc856205d9e9e65ee18452a427111d005f6a665f
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.
6   'targets': [
7     {
8       # GN version: //remoting:test_support
9       'target_name': 'remoting_test_common',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../components/components.gyp:policy_component_test_support',
14         '../net/net.gyp:net_test_support',
15         '../testing/gmock.gyp:gmock',
16         '../testing/gtest.gyp:gtest',
17         'remoting_base',
18         'remoting_client',
19         'remoting_host',
20         'remoting_protocol',
21         'remoting_resources',
22       ],
23       'sources': [
24         # Note: sources list duplicated in GN build.
25         'host/fake_desktop_capturer.cc',
26         'host/fake_desktop_capturer.h',
27         'host/fake_desktop_environment.cc',
28         'host/fake_desktop_environment.h',
29         'host/fake_host_status_monitor.h',
30         'host/fake_mouse_cursor_monitor.cc',
31         'host/fake_mouse_cursor_monitor.h',
32         'protocol/fake_authenticator.cc',
33         'protocol/fake_authenticator.h',
34         'protocol/fake_connection_to_host.cc',
35         'protocol/fake_connection_to_host.h',
36         'protocol/fake_datagram_socket.cc',
37         'protocol/fake_datagram_socket.h',
38         'protocol/fake_session.cc',
39         'protocol/fake_session.h',
40         'protocol/fake_stream_socket.cc',
41         'protocol/fake_stream_socket.h',
42         'protocol/protocol_mock_objects.cc',
43         'protocol/protocol_mock_objects.h',
44         'protocol/test_event_matchers.h',
45         'signaling/fake_signal_strategy.cc',
46         'signaling/fake_signal_strategy.h',
47         'signaling/mock_signal_strategy.cc',
48         'signaling/mock_signal_strategy.h',
49         'test/access_token_fetcher.cc',
50         'test/access_token_fetcher.h',
51         'test/app_remoting_test_driver_environment.cc',
52         'test/app_remoting_test_driver_environment_app_details.cc',
53         'test/app_remoting_test_driver_environment.h',
54         'test/fake_access_token_fetcher.cc',
55         'test/fake_access_token_fetcher.h',
56         'test/fake_network_dispatcher.cc',
57         'test/fake_network_dispatcher.h',
58         'test/fake_network_manager.cc',
59         'test/fake_network_manager.h',
60         'test/fake_port_allocator.cc',
61         'test/fake_port_allocator.h',
62         'test/fake_remote_host_info_fetcher.cc',
63         'test/fake_remote_host_info_fetcher.h',
64         'test/fake_socket_factory.cc',
65         'test/fake_socket_factory.h',
66         'test/leaky_bucket.cc',
67         'test/leaky_bucket.h',
68         'test/mock_access_token_fetcher.cc',
69         'test/mock_access_token_fetcher.h',
70         'test/refresh_token_store.cc',
71         'test/refresh_token_store.h',
72         'test/remote_application_details.h',
73         'test/remote_connection_observer.h',
74         'test/remote_host_info.cc',
75         'test/remote_host_info.h',
76         'test/remote_host_info_fetcher.cc',
77         'test/remote_host_info_fetcher.h',
78         'test/test_chromoting_client.cc',
79         'test/test_chromoting_client.h',
80         'test/test_video_renderer.cc',
81         'test/test_video_renderer.h',
82       ],
83       'conditions': [
84         ['enable_remoting_host == 0', {
85           'dependencies!': [
86             'remoting_host',
87           ],
88           'sources/': [
89             ['exclude', '^host/'],
90           ]
91         }],
92       ],
93     },
94     {
95       'target_name': 'remoting_test_driver_common',
96       'type': 'static_library',
97       'dependencies': [
98         '../base/base.gyp:base',
99         '../base/base.gyp:test_support_base',
100         '../google_apis/google_apis.gyp:google_apis',
101         '../net/net.gyp:net',
102         '../remoting/remoting.gyp:remoting_base',
103         '../remoting/remoting.gyp:remoting_client',
104         '../remoting/remoting.gyp:remoting_protocol',
105         '../testing/gtest.gyp:gtest',
106       ],
107       'defines': [
108         'VERSION=<(version_full)',
109       ],
110       'sources': [
111         'test/access_token_fetcher.cc',
112         'test/access_token_fetcher.h',
113         'test/refresh_token_store.cc',
114         'test/refresh_token_store.h',
115         'test/remote_connection_observer.h',
116         'test/test_chromoting_client.cc',
117         'test/test_chromoting_client.h',
118         'test/test_video_renderer.cc',
119         'test/test_video_renderer.h',
120       ],
121     }, # end of target 'remoting_test_driver_common'
122     {
123       # A chromoting version of remoting_test_driver_common
124       'target_name': 'chromoting_test_driver',
125       'type': '<(gtest_target_type)',
126       'dependencies': [
127         'remoting_test_driver_common',
128       ],
129       'defines': [
130         'VERSION=<(version_full)',
131       ],
132       'sources': [
133         'test/chromoting_test_driver.cc',
134       ],
135       'include_dirs': [
136         '../testing/gtest/include',
137       ],
138     }, # end of target 'chromoting_test_driver'
139     {
140       'target_name': 'ar_test_driver_common',
141       'type': 'static_library',
142       'dependencies': [
143         '../remoting/proto/chromotocol.gyp:chromotocol_proto_lib',
144         'remoting_test_driver_common',
145       ],
146       'defines': [
147         'VERSION=<(version_full)',
148       ],
149       'sources': [
150         'test/app_remoting_connected_client_fixture.cc',
151         'test/app_remoting_connected_client_fixture.h',
152         'test/app_remoting_connection_helper.cc',
153         'test/app_remoting_connection_helper.h',
154         'test/app_remoting_test_driver_environment.cc',
155         'test/app_remoting_test_driver_environment.h',
156         'test/remote_application_details.h',
157         'test/remote_host_info.cc',
158         'test/remote_host_info.h',
159         'test/remote_host_info_fetcher.cc',
160         'test/remote_host_info_fetcher.h',
161       ],
162       'include_dirs': [
163         '../testing/gtest/include',
164       ],
165     },  # end of target 'ar_test_driver_common'
166     {
167       # An external version of the test driver tool which includes minimal tests
168       'target_name': 'ar_sample_test_driver',
169       'type': '<(gtest_target_type)',
170       'dependencies': [
171         'ar_test_driver_common',
172       ],
173       'defines': [
174         'VERSION=<(version_full)',
175       ],
176       'sources': [
177         'test/app_remoting_test_driver.cc',
178         'test/app_remoting_test_driver_environment_app_details.cc',
179       ],
180       'include_dirs': [
181         '../testing/gtest/include',
182       ],
183     },  # end of target 'ar_sample_test_driver'
185     # Remoting unit tests
186     {
187       # GN version: //remoting:remoting_unittests
188       # Note that many of the sources are broken out into subdir-specific unit
189       # test source set targets that then GN version then brings together.
190       'target_name': 'remoting_unittests',
191       'type': '<(gtest_target_type)',
192       'dependencies': [
193         '../base/base.gyp:base',
194         '../base/base.gyp:base_i18n',
195         '../base/base.gyp:test_support_base',
196         '../components/components.gyp:policy',
197         '../ipc/ipc.gyp:ipc',
198         '../net/net.gyp:net_test_support',
199         '../ppapi/ppapi.gyp:ppapi_cpp',
200         '../testing/gmock.gyp:gmock',
201         '../testing/gtest.gyp:gtest',
202         '../third_party/libyuv/libyuv.gyp:libyuv',
203         '../third_party/webrtc/modules/modules.gyp:desktop_capture',
204         '../ui/base/ui_base.gyp:ui_base',
205         '../ui/gfx/gfx.gyp:gfx',
206         '../ui/gfx/gfx.gyp:gfx_geometry',
207         'remoting_base',
208         'remoting_breakpad',
209         'remoting_client',
210         'remoting_client_plugin',
211         'remoting_host',
212         'remoting_host_setup_base',
213         'remoting_it2me_host_static',
214         'remoting_native_messaging_base',
215         'remoting_protocol',
216         'remoting_resources',
217         'remoting_test_common',
218       ],
219       'defines': [
220         'VERSION=<(version_full)',
221       ],
222       'include_dirs': [
223         '../testing/gmock/include',
224       ],
225       'sources': [
226         # Note: sources list duplicated in GN build.
227         'base/auto_thread_task_runner_unittest.cc',
228         'base/auto_thread_unittest.cc',
229         'base/breakpad_win_unittest.cc',
230         'base/buffered_socket_writer_unittest.cc',
231         'base/capabilities_unittest.cc',
232         'base/compound_buffer_unittest.cc',
233         'base/rate_counter_unittest.cc',
234         'base/resources_unittest.cc',
235         'base/rsa_key_pair_unittest.cc',
236         'base/run_all_unittests.cc',
237         'base/running_average_unittest.cc',
238         'base/test_rsa_key_pair.h',
239         'base/typed_buffer_unittest.cc',
240         'base/util_unittest.cc',
241         'client/audio_player_unittest.cc',
242         'client/client_status_logger_unittest.cc',
243         'client/key_event_mapper_unittest.cc',
244         'client/plugin/empty_cursor_filter_unittest.cc',
245         'client/plugin/normalizing_input_filter_cros_unittest.cc',
246         'client/plugin/normalizing_input_filter_mac_unittest.cc',
247         'client/plugin/touch_input_scaler_unittest.cc',
248         'client/server_log_entry_client_unittest.cc',
249         'codec/audio_encoder_opus_unittest.cc',
250         'codec/codec_test.cc',
251         'codec/codec_test.h',
252         'codec/video_decoder_vpx_unittest.cc',
253         'codec/video_encoder_helper_unittest.cc',
254         'codec/video_encoder_verbatim_unittest.cc',
255         'codec/video_encoder_vpx_unittest.cc',
256         'host/audio_pump_unittest.cc',
257         'host/audio_silence_detector_unittest.cc',
258         'host/backoff_timer_unittest.cc',
259         'host/branding.cc',
260         'host/branding.h',
261         'host/capture_scheduler_unittest.cc',
262         'host/chromeos/aura_desktop_capturer_unittest.cc',
263         'host/chromeos/clipboard_aura_unittest.cc',
264         'host/chromoting_host_context_unittest.cc',
265         'host/chromoting_host_unittest.cc',
266         'host/client_session_unittest.cc',
267         'host/config_file_watcher_unittest.cc',
268         'host/daemon_process_unittest.cc',
269         'host/desktop_process_unittest.cc',
270         'host/desktop_shape_tracker_unittest.cc',
271         'host/fake_desktop_capturer.cc',
272         'host/fake_desktop_capturer.h',
273         'host/fake_host_extension.cc',
274         'host/fake_host_extension.h',
275         'host/fake_host_status_monitor.h',
276         'host/fake_oauth_token_getter.cc',
277         'host/fake_oauth_token_getter.h',
278         'host/gcd_rest_client_unittest.cc',
279         'host/gcd_state_updater_unittest.cc',
280         'host/gnubby_auth_handler_posix_unittest.cc',
281         'host/heartbeat_sender_unittest.cc',
282         'host/host_change_notification_listener_unittest.cc',
283         'host/host_config_unittest.cc',
284         'host/host_extension_session_manager_unittest.cc',
285         'host/host_mock_objects.cc',
286         'host/host_status_logger_unittest.cc',
287         'host/ipc_desktop_environment_unittest.cc',
288         'host/it2me/it2me_confirmation_dialog_proxy_unittest.cc',
289         'host/it2me/it2me_native_messaging_host_unittest.cc',
290         'host/linux/audio_pipe_reader_unittest.cc',
291         'host/linux/unicode_to_keysym_unittest.cc',
292         'host/linux/x_server_clipboard_unittest.cc',
293         'host/local_input_monitor_unittest.cc',
294         'host/mouse_shape_pump_unittest.cc',
295         'host/native_messaging/native_messaging_reader_unittest.cc',
296         'host/native_messaging/native_messaging_writer_unittest.cc',
297         'host/pairing_registry_delegate_linux_unittest.cc',
298         'host/pairing_registry_delegate_win_unittest.cc',
299         'host/pin_hash_unittest.cc',
300         'host/policy_watcher_unittest.cc',
301         'host/register_support_host_request_unittest.cc',
302         'host/remote_input_filter_unittest.cc',
303         'host/resizing_host_observer_unittest.cc',
304         'host/screen_resolution_unittest.cc',
305         'host/server_log_entry_host_unittest.cc',
306         'host/setup/mock_oauth_client.cc',
307         'host/setup/mock_oauth_client.h',
308         'host/setup/me2me_native_messaging_host.cc',
309         'host/setup/me2me_native_messaging_host.h',
310         'host/setup/me2me_native_messaging_host_unittest.cc',
311         'host/setup/oauth_helper_unittest.cc',
312         'host/setup/pin_validator_unittest.cc',
313         'host/shaped_desktop_capturer_unittest.cc',
314         'host/third_party_auth_config_unittest.cc',
315         'host/token_validator_factory_impl_unittest.cc',
316         'host/touch_injector_win_unittest.cc',
317         'host/video_frame_pump_unittest.cc',
318         'host/video_frame_recorder_unittest.cc',
319         'host/win/rdp_client_unittest.cc',
320         'host/win/worker_process_launcher.cc',
321         'host/win/worker_process_launcher.h',
322         'host/win/worker_process_launcher_unittest.cc',
323         'protocol/authenticator_test_base.cc',
324         'protocol/authenticator_test_base.h',
325         'protocol/channel_multiplexer_unittest.cc',
326         'protocol/chromium_socket_factory_unittest.cc',
327         'protocol/client_video_dispatcher_unittest.cc',
328         'protocol/clipboard_echo_filter_unittest.cc',
329         'protocol/clipboard_filter_unittest.cc',
330         'protocol/connection_tester.cc',
331         'protocol/connection_tester.h',
332         'protocol/connection_to_client_unittest.cc',
333         'protocol/content_description_unittest.cc',
334         'protocol/input_event_tracker_unittest.cc',
335         'protocol/input_filter_unittest.cc',
336         'protocol/jingle_messages_unittest.cc',
337         'protocol/jingle_session_unittest.cc',
338         'protocol/message_decoder_unittest.cc',
339         'protocol/message_reader_unittest.cc',
340         'protocol/monitored_video_stub_unittest.cc',
341         'protocol/mouse_input_filter_unittest.cc',
342         'protocol/negotiating_authenticator_unittest.cc',
343         'protocol/pairing_registry_unittest.cc',
344         'protocol/port_range_unittest.cc',
345         'protocol/ppapi_module_stub.cc',
346         'protocol/ssl_hmac_channel_authenticator_unittest.cc',
347         'protocol/third_party_authenticator_unittest.cc',
348         'protocol/v2_authenticator_unittest.cc',
349         'signaling/iq_sender_unittest.cc',
350         'signaling/jid_util_unittest.cc',
351         'signaling/log_to_server_unittest.cc',
352         'signaling/push_notification_subscriber_unittest.cc',
353         'signaling/server_log_entry_unittest.cc',
354         'signaling/server_log_entry_unittest.h',
355         'signaling/xmpp_login_handler_unittest.cc',
356         'signaling/xmpp_stream_parser_unittest.cc',
357         'signaling/xmpp_signal_strategy_unittest.cc',
358         'test/access_token_fetcher_unittest.cc',
359         'test/app_remoting_test_driver_environment_unittest.cc',
360         'test/remote_host_info_fetcher_unittest.cc',
361         'test/test_chromoting_client_unittest.cc',
362         'test/test_video_renderer_unittest.cc',
363       ],
364       'conditions': [
365         [ 'OS=="win"', {
366           'defines': [
367             '_ATL_NO_EXCEPTIONS',
368           ],
369           'include_dirs': [
370             '../breakpad/src',
371           ],
372           'link_settings': {
373             'libraries': [
374               '-lrpcrt4.lib',
375               '-lwtsapi32.lib',
376             ],
377           },
378         }],
379         [ 'OS=="android"', {
380           'dependencies!': [
381             'remoting_client_plugin',
382           ],
383           'sources/': [
384             ['exclude', '^client/plugin/'],
385           ]
386         }],
387         [ 'OS=="android"', {
388           'dependencies': [
389             '../testing/android/native_test.gyp:native_test_native_code',
390           ],
391         }],
392         [ 'chromeos==0', {
393           'sources!': [
394             'client/plugin/normalizing_input_filter_cros_unittest.cc',
395             'host/chromeos/aura_desktop_capturer_unittest.cc',
396             'host/clipboard_aura_unittest.cc',
397           ],
398         }, { # chromeos==1
399           'sources!': [
400             'host/linux/x_server_clipboard_unittest.cc',
401             'host/local_input_monitor_unittest.cc',
402           ],
403         }],
404         [ 'use_ozone==1', {
405           'sources!': [
406             'host/local_input_monitor_unittest.cc',
407           ],
408         }],
409         ['enable_remoting_host == 0', {
410           'dependencies!': [
411             'remoting_host',
412             'remoting_host_setup_base',
413             'remoting_it2me_host_static',
414             'remoting_native_messaging_base',
415           ],
416           'sources/': [
417             ['exclude', '^codec/'],
418             ['exclude', '^host/'],
419             ['exclude', '^base/resources_unittest\\.cc$'],
420           ]
421         }],
422         [ 'OS == "linux" and use_allocator!="none"', {
423           'dependencies': [
424             '../base/allocator/allocator.gyp:allocator',
425           ],
426         }],
427       ],  # end of 'conditions'
428     },  # end of target 'remoting_unittests'
429     {
430       'target_name': 'remoting_browser_test_resources',
431       'type': 'none',
432       'copies': [
433         {
434           'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources',
435             'files': [
436               '<@(remoting_webapp_browsertest_main_html_extra_files)',
437             ],
438         },
439       ], # end of copies
440     },  # end of target 'remoting_browser_test_resources'
441     {
442       'target_name': 'remoting_webapp_browser_test_main_html',
443       'type': 'none',
444       'actions': [
445         {
446           'action_name': 'Build Remoting Webapp Browser test main.html',
447           'inputs': [
448             'webapp/build-html.py',
449             '<(remoting_webapp_template_main)',
450             '<@(remoting_webapp_template_files)',
451             '<@(remoting_webapp_crd_main_html_all_js_files)',
452             '<@(remoting_webapp_browsertest_main_html_extra_files)',
453           ],
454           'outputs': [
455             '<(SHARED_INTERMEDIATE_DIR)/browser_test/main.html',
456           ],
457           'action': [
458             'python', 'webapp/build-html.py',
459             '<(SHARED_INTERMEDIATE_DIR)/browser_test/main.html',
460             '<(remoting_webapp_template_main)',
461             '--template-dir', '<(DEPTH)/remoting',
462             '--templates', '<@(remoting_webapp_template_files)',
463             '--js',
464             '<@(remoting_webapp_crd_main_html_all_js_files)',
465             '<@(remoting_webapp_browsertest_main_html_extra_files)',
466           ],
467         },
468       ],  # end of actions
469     },  # end of target 'remoting_webapp_browser_test_html'
470     {
471       'target_name': 'remoting_webapp_unittests',
472       'type': 'none',
473       'variables': {
474         'output_dir': '<(PRODUCT_DIR)/remoting/unittests',
475         'webapp_js_files': [
476           '<@(remoting_webapp_unittest_html_all_js_files)',
477           '<@(remoting_webapp_wcs_sandbox_html_js_files)',
478           '<@(remoting_webapp_background_html_js_files)',
479         ]
480       },
481       'copies': [
482         {
483           'destination': '<(output_dir)/qunit',
484           'files': [
485             '../third_party/qunit/src/browser_test_harness.js',
486             '../third_party/qunit/src/qunit.css',
487             '../third_party/qunit/src/qunit.js',
488           ],
489         },
490         {
491           'destination': '<(output_dir)/blanketjs',
492           'files': [
493             '../third_party/blanketjs/src/blanket.js',
494             '../third_party/blanketjs/src/qunit_adapter.js',
495           ],
496         },
497         {
498           'destination': '<(output_dir)/sinonjs',
499           'files': [
500             '../third_party/sinonjs/src/sinon.js',
501             '../third_party/sinonjs/src/sinon-qunit.js',
502           ],
503         },
504         {
505           'destination': '<(output_dir)',
506           'files': [
507             '<@(webapp_js_files)',
508             '<@(remoting_webapp_unittests_all_files)',
509           ],
510         },
511       ],
512       'actions': [
513         {
514           'action_name': 'Build Remoting Webapp unittests.html',
515           'inputs': [
516             'webapp/build-html.py',
517             '<(remoting_webapp_unittests_template_main)',
518             '<@(webapp_js_files)',
519             '<@(remoting_webapp_unittests_all_js_files)'
520           ],
521           'outputs': [
522             '<(output_dir)/unittests.html',
523           ],
524           'action': [
525             'python', 'webapp/build-html.py',
526             '<@(_outputs)',
527             '<(remoting_webapp_unittests_template_main)',
528             # GYP automatically removes subsequent duplicated command line
529             # arguments.  Therefore, the excludejs flag must be set before the
530             # instrumentedjs flag or else GYP will ignore the files in the
531             # exclude list.
532             '--exclude-js', '<@(remoting_webapp_unittests_exclude_js_files)',
533             '--js', '<@(remoting_webapp_unittests_all_js_files)',
534             '--instrument-js', '<@(webapp_js_files)',
535            ],
536         },
537       ],
538     },  # end of target 'remoting_webapp_unittest'
539   ],  # end of targets
541   'conditions': [
542     ['enable_remoting_host==1', {
543       'targets': [
544         # Remoting performance tests
545         {
546           'target_name': 'remoting_perftests',
547           'type': '<(gtest_target_type)',
548           'dependencies': [
549             '../base/base.gyp:base',
550             '../base/base.gyp:test_support_base',
551             '../testing/gtest.gyp:gtest',
552             '../third_party/webrtc/modules/modules.gyp:desktop_capture',
553             '../third_party/libjingle/libjingle.gyp:libjingle',
554             'remoting_base',
555             'remoting_test_common',
556           ],
557           'defines': [
558             'VERSION=<(version_full)',
559           ],
560           'include_dirs': [
561             '../testing/gmock/include',
562           ],
563           'sources': [
564             'base/run_all_unittests.cc',
565             'codec/codec_test.cc',
566             'codec/codec_test.h',
567             'codec/video_encoder_vpx_perftest.cc',
568             'test/protocol_perftest.cc',
569           ],
570           'conditions': [
571             [ 'OS=="mac" or (OS=="linux" and chromeos==0)', {
572               # RunAllTests calls chrome::RegisterPathProvider() under Mac and
573               # Linux, so we need the chrome_common.gypi dependency.
574               'dependencies': [
575                 '../chrome/common_constants.gyp:common_constants',
576               ],
577             }],
578             [ 'OS=="android"', {
579               'dependencies': [
580                 '../testing/android/native_test.gyp:native_test_native_code',
581               ],
582             }],
583             [ 'OS == "linux" and use_allocator!="none"', {
584               'dependencies': [
585                 '../base/allocator/allocator.gyp:allocator',
586               ],
587             }],
588           ],  # end of 'conditions'
589         },  # end of target 'remoting_perftests'
590       ]
591     }],  # end of 'enable_remoting_host'
592     ['disable_nacl==0 and disable_nacl_untrusted==0', {
593       'targets': [
594         {
595           'target_name': 'remoting_webapp_browser_test',
596           'type': 'none',
597           'variables': {
598             'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.browsertest.v2',
599             'zip_path': '<(PRODUCT_DIR)/remoting-webapp.browsertest.v2.zip',
600             'webapp_type': 'v2_pnacl',
601             'main_html_file': '<(SHARED_INTERMEDIATE_DIR)/browser_test/main.html',
602             'extra_files': [
603               'webapp/crd/remoting_client_pnacl.nmf.jinja2',
604               '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
605               '<@(remoting_webapp_browsertest_main_html_extra_files)',
606             ],
607           },
608           'dependencies': [
609             'remoting_nacl.gyp:remoting_client_plugin_nacl',
610             'remoting_webapp_browser_test_main_html',
611           ],
612           'includes': [ 'remoting_webapp.gypi', ],
613         },  # end of target 'remoting_webapp_browser_test'
614       ]
615     }],
616     ['test_isolation_mode != "noop"', {
617       'targets': [
618         {
619           'target_name': 'remoting_unittests_run',
620           'type': 'none',
621           'dependencies': [
622             'remoting_unittests',
623           ],
624           'includes': [
625             '../build/isolate.gypi',
626           ],
627           'sources': [
628             'remoting_unittests.isolate',
629           ],
630         },
631       ],
632     }],
633   ] # end of 'conditions'