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