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