Roll src/third_party/WebKit 9301d6f:4619053 (svn 201058:201059)
[chromium-blink-merge.git] / content / content_tests.gypi
blob194eebf54d7acd77f07816cc19fbedcc60ce4a6b
1 # Copyright (c) 2013 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   'variables': {
7     'layouttest_support_content_sources': [
8       'public/test/layouttest_support.h',
9       'public/test/nested_message_pump_android.cc',
10       'public/test/nested_message_pump_android.h',
11       'test/layouttest_support.cc',
12     ],
13     'test_support_content_sources': [
14       # TODO(phajdan.jr): All of those files should live in content/test (if
15       # they're only used by content) or content/public/test (if they're used
16       # by other embedders).
17       'browser/download/mock_download_file.cc',
18       'browser/download/mock_download_file.h',
19       'browser/geolocation/fake_access_token_store.cc',
20       'browser/geolocation/fake_access_token_store.h',
21       'browser/geolocation/mock_location_arbitrator.cc',
22       'browser/geolocation/mock_location_arbitrator.h',
23       'browser/geolocation/mock_location_provider.cc',
24       'browser/geolocation/mock_location_provider.h',
25       'public/test/async_file_test_helper.cc',
26       'public/test/async_file_test_helper.h',
27       'public/test/browser_test.h',
28       'public/test/browser_test_base.cc',
29       'public/test/browser_test_base.h',
30       'public/test/browser_test_utils.cc',
31       'public/test/browser_test_utils.h',
32       'public/test/content_test_suite_base.cc',
33       'public/test/content_test_suite_base.h',
34       'public/test/download_test_observer.cc',
35       'public/test/download_test_observer.h',
36       'public/test/fake_speech_recognition_manager.cc',
37       'public/test/fake_speech_recognition_manager.h',
38       'public/test/frame_load_waiter.cc',
39       'public/test/frame_load_waiter.h',
40       'public/test/javascript_test_observer.cc',
41       'public/test/javascript_test_observer.h',
42       'public/test/mock_blob_url_request_context.cc',
43       'public/test/mock_blob_url_request_context.h',
44       'public/test/mock_download_item.cc',
45       'public/test/mock_download_item.h',
46       'public/test/mock_download_manager.cc',
47       'public/test/mock_download_manager.h',
48       'public/test/mock_notification_observer.cc',
49       'public/test/mock_notification_observer.h',
50       'public/test/mock_render_process_host.cc',
51       'public/test/mock_render_process_host.h',
52       'public/test/mock_render_thread.cc',
53       'public/test/mock_render_thread.h',
54       'public/test/mock_resource_context.cc',
55       'public/test/mock_resource_context.h',
56       'public/test/mock_special_storage_policy.cc',
57       'public/test/mock_special_storage_policy.h',
58       'public/test/mock_storage_client.cc',
59       'public/test/mock_storage_client.h',
60       'public/test/ppapi_test_utils.cc',
61       'public/test/ppapi_test_utils.h',
62       'public/test/render_view_test.cc',
63       'public/test/render_view_test.h',
64       'public/test/render_widget_test.cc',
65       'public/test/render_widget_test.h',
66       'public/test/sandbox_file_system_test_helper.cc',
67       'public/test/sandbox_file_system_test_helper.h',
68       'public/test/test_browser_context.cc',
69       'public/test/test_browser_context.h',
70       'public/test/test_browser_thread.cc',
71       'public/test/test_browser_thread.h',
72       'public/test/test_browser_thread_bundle.cc',
73       'public/test/test_browser_thread_bundle.h',
74       'public/test/test_content_client_initializer.cc',
75       'public/test/test_content_client_initializer.h',
76       'public/test/test_file_error_injector.cc',
77       'public/test/test_file_error_injector.h',
78       'public/test/test_file_system_backend.cc',
79       'public/test/test_file_system_backend.h',
80       'public/test/test_file_system_context.cc',
81       'public/test/test_file_system_context.h',
82       'public/test/test_file_system_options.cc',
83       'public/test/test_file_system_options.h',
84       'public/test/test_launcher.cc',
85       'public/test/test_launcher.h',
86       'public/test/test_mojo_app.cc',
87       'public/test/test_mojo_app.h',
88       'public/test/test_navigation_observer.cc',
89       'public/test/test_navigation_observer.h',
90       'public/test/test_notification_tracker.cc',
91       'public/test/test_notification_tracker.h',
92       'public/test/test_renderer_host.cc',
93       'public/test/test_renderer_host.h',
94       'public/test/test_synchronous_compositor_android.cc',
95       'public/test/test_synchronous_compositor_android.h',
96       'public/test/test_utils.cc',
97       'public/test/test_utils.h',
98       'public/test/test_web_contents_factory.h',
99       'public/test/test_web_ui.cc',
100       'public/test/test_web_ui.h',
101       'public/test/unittest_test_suite.cc',
102       'public/test/unittest_test_suite.h',
103       'public/test/web_contents_tester.cc',
104       'public/test/web_contents_tester.h',
105       'test/appcache_test_helper.cc',
106       'test/appcache_test_helper.h',
107       'test/blink_test_environment.cc',
108       'test/blink_test_environment.h',
109       'test/browser_side_navigation_test_utils.cc',
110       'test/browser_side_navigation_test_utils.h',
111       'test/content_browser_sanity_checker.cc',
112       'test/content_browser_sanity_checker.h',
113       'test/content_test_suite.cc',
114       'test/content_test_suite.h',
115       'test/fake_compositor_dependencies.cc',
116       'test/fake_compositor_dependencies.h',
117       'test/fake_plugin_service.cc',
118       'test/fake_plugin_service.h',
119       'test/fake_renderer_scheduler.cc',
120       'test/fake_renderer_scheduler.h',
121       'test/mock_google_streaming_server.cc',
122       'test/mock_google_streaming_server.h',
123       'test/mock_keyboard.cc',
124       'test/mock_keyboard.h',
125       'test/mock_keyboard_driver_win.cc',
126       'test/mock_keyboard_driver_win.h',
127       'test/mock_render_process.cc',
128       'test/mock_render_process.h',
129       'test/mock_webblob_registry_impl.cc',
130       'test/mock_webblob_registry_impl.h',
131       'test/mock_webclipboard_impl.cc',
132       'test/mock_webclipboard_impl.h',
133       'test/mock_webframeclient.h',
134       'test/mock_weburlloader.cc',
135       'test/mock_weburlloader.h',
136       'test/net/url_request_abort_on_end_job.cc',
137       'test/net/url_request_abort_on_end_job.h',
138       'test/ppapi_unittest.cc',
139       'test/ppapi_unittest.h',
140       'test/render_thread_impl_browser_test_ipc_helper.cc',
141       'test/render_thread_impl_browser_test_ipc_helper.h',
142       'test/test_blink_web_unit_test_support.cc',
143       'test/test_blink_web_unit_test_support.h',
144       'test/test_content_browser_client.cc',
145       'test/test_content_browser_client.h',
146       'test/test_content_client.cc',
147       'test/test_content_client.h',
148       'test/test_frame_navigation_observer.cc',
149       'test/test_frame_navigation_observer.h',
150       'test/test_navigation_url_loader.cc',
151       'test/test_navigation_url_loader.h',
152       'test/test_navigation_url_loader_factory.cc',
153       'test/test_navigation_url_loader_factory.h',
154       'test/test_render_frame.cc',
155       'test/test_render_frame.h',
156       'test/test_render_frame_host.cc',
157       'test/test_render_frame_host.h',
158       'test/test_render_frame_host_factory.cc',
159       'test/test_render_frame_host_factory.h',
160       'test/test_render_view_host.cc',
161       'test/test_render_view_host.h',
162       'test/test_render_view_host_factory.cc',
163       'test/test_render_view_host_factory.h',
164       'test/test_web_contents.cc',
165       'test/test_web_contents.h',
166       'test/test_web_contents_factory.cc',
167       'test/web_contents_observer_sanity_checker.cc',
168       'test/web_contents_observer_sanity_checker.h',
169       'test/web_gesture_curve_mock.cc',
170       'test/web_gesture_curve_mock.h',
171       'test/web_layer_tree_view_impl_for_testing.cc',
172       'test/web_layer_tree_view_impl_for_testing.h',
173       'test/weburl_loader_mock.cc',
174       'test/weburl_loader_mock.h',
175       'test/weburl_loader_mock_factory.cc',
176       'test/weburl_loader_mock_factory.h',
177     ],
178     'content_browsertests_sources': [
179       'app/mojo/mojo_browsertest.cc',
180       'browser/accessibility/accessibility_event_recorder.cc',
181       'browser/accessibility/accessibility_event_recorder.h',
182       'browser/accessibility/accessibility_event_recorder_mac.mm',
183       'browser/accessibility/accessibility_event_recorder_win.cc',
184       'browser/accessibility/accessibility_ipc_error_browsertest.cc',
185       'browser/accessibility/accessibility_mode_browsertest.cc',
186       'browser/accessibility/cross_platform_accessibility_browsertest.cc',
187       'browser/accessibility/dump_accessibility_browsertest_base.cc',
188       'browser/accessibility/dump_accessibility_browsertest_base.h',
189       'browser/accessibility/dump_accessibility_events_browsertest.cc',
190       'browser/accessibility/dump_accessibility_tree_browsertest.cc',
191       'browser/accessibility/site_per_process_accessibility_browsertest.cc',
192       'browser/accessibility/snapshot_ax_tree_browsertest.cc',
193       'browser/background_sync/background_sync_browsertest.cc',
194       'browser/battery_status/battery_monitor_impl_browsertest.cc',
195       'browser/battery_status/battery_monitor_integration_browsertest.cc',
196       'browser/bookmarklet_browsertest.cc',
197       'browser/browser_side_navigation_browsertest.cc',
198       'browser/child_process_launcher_browsertest.cc',
199       'browser/child_process_security_policy_browsertest.cc',
200       'browser/compositor/image_transport_factory_browsertest.cc',
201       'browser/cross_site_transfer_browsertest.cc',
202       'browser/database_browsertest.cc',
203       'browser/device_sensors/device_inertial_sensor_browsertest.cc',
204       'browser/devtools/protocol/devtools_protocol_browsertest.cc',
205       'browser/devtools/site_per_process_devtools_browsertest.cc',
206       'browser/dom_storage/dom_storage_browsertest.cc',
207       'browser/download/download_browsertest.cc',
208       'browser/download/drag_download_file_browsertest.cc',
209       'browser/download/mhtml_generation_browsertest.cc',
210       'browser/download/save_package_browsertest.cc',
211       'browser/fileapi/file_system_browsertest.cc',
212       'browser/frame_host/frame_tree_browsertest.cc',
213       'browser/frame_host/interstitial_page_impl_browsertest.cc',
214       'browser/frame_host/navigation_controller_impl_browsertest.cc',
215       'browser/frame_host/render_frame_host_impl_browsertest.cc',
216       'browser/frame_host/render_frame_host_manager_browsertest.cc',
217       'browser/frame_host/render_widget_host_view_child_frame_browsertest.cc',
218       'browser/gpu/gpu_ipc_browsertests.cc',
219       'browser/host_zoom_map_impl_browsertest.cc',
220       'browser/indexed_db/indexed_db_browsertest.cc',
221       'browser/indexed_db/mock_browsertest_indexed_db_class_factory.cc',
222       'browser/indexed_db/mock_browsertest_indexed_db_class_factory.h',
223       'browser/loader/resource_dispatcher_host_browsertest.cc',
224       'browser/manifest/manifest_browsertest.cc',
225       'browser/media/android/media_session_browsertest.cc',
226       'browser/media/encrypted_media_browsertest.cc',
227       'browser/media/media_browsertest.cc',
228       'browser/media/media_browsertest.h',
229       'browser/media/media_canplaytype_browsertest.cc',
230       'browser/media/media_source_browsertest.cc',
231       'browser/message_port_provider_browsertest.cc',
232       'browser/mojo_shell_browsertest.cc',
233       'browser/net_info_browsertest.cc',
234       'browser/renderer_host/input/touch_action_browsertest.cc',
235       'browser/renderer_host/input/touch_input_browsertest.cc',
236       'browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc',
237       'browser/renderer_host/render_message_filter_browsertest.cc',
238       'browser/renderer_host/render_process_host_browsertest.cc',
239       'browser/renderer_host/render_view_host_browsertest.cc',
240       'browser/renderer_host/render_widget_host_view_browsertest.cc',
241       'browser/screen_orientation/screen_orientation_browsertest.cc',
242       'browser/security_exploit_browsertest.cc',
243       'browser/service_worker/service_worker_browsertest.cc',
244       'browser/session_history_browsertest.cc',
245       'browser/shared_worker/worker_browsertest.cc',
246       'browser/site_per_process_browsertest.cc',
247       'browser/site_per_process_browsertest.h',
248       'browser/tracing/background_tracing_manager_browsertest.cc',
249       'browser/tracing/tracing_controller_browsertest.cc',
250       'browser/web_contents/opened_by_dom_browsertest.cc',
251       'browser/web_contents/web_contents_impl_browsertest.cc',
252       'browser/web_contents/web_contents_view_aura_browsertest.cc',
253       'browser/webkit_browsertest.cc',
254       'browser/webui/web_ui_mojo_browsertest.cc',
255       'child/child_thread_impl_browsertest.cc',
256       'child/site_isolation_stats_gatherer_browsertest.cc',
257       'renderer/accessibility/renderer_accessibility_browsertest.cc',
258       'renderer/devtools/v8_sampling_profiler_browsertest.cc',
259       'renderer/gin_browsertest.cc',
260       'renderer/history_controller_browsertest.cc',
261       'renderer/mouse_lock_dispatcher_browsertest.cc',
262       'renderer/render_frame_impl_browsertest.cc',
263       'renderer/render_thread_impl_browsertest.cc',
264       'renderer/render_view_browsertest.cc',
265       'renderer/render_view_browsertest_mac.mm',
266       'renderer/render_widget_browsertest.cc',
267       'renderer/visual_state_browsertest.cc',
268       'test/accessibility_browser_test_utils.cc',
269       'test/accessibility_browser_test_utils.h',
270       'test/browser_test_utils_browsertest.cc',
271       'test/content_browser_test_test.cc',
272       'test/webui_resource_browsertest.cc',
274     ],
275     'content_browsertests_android_sources': [
276       'browser/accessibility/android_granularity_movement_browsertest.cc',
277       'browser/accessibility/android_hit_testing_browsertest.cc',
278       'shell/android/browsertests_apk/content_browser_tests_jni_onload.cc',
279     ],
280     'content_browsertests_webrtc_sources': [
281       'browser/media/webrtc_aecdump_browsertest.cc',
282       'browser/media/webrtc_browsertest.cc',
283       'browser/media/webrtc_getusermedia_browsertest.cc',
284       'browser/media/webrtc_internals_browsertest.cc',
285       'browser/media/webrtc_webcam_browsertest.cc',
286       'test/webrtc_content_browsertest_base.cc',
287       'test/webrtc_content_browsertest_base.h',
288     ],
289     'content_browsertests_plugins_sources': [
290       'renderer/pepper/fake_pepper_plugin_instance.cc',
291       'renderer/pepper/mock_renderer_ppapi_host.cc',
292       'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
293       'renderer/pepper/pepper_file_chooser_host_unittest.cc',
294       'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
295       'renderer/pepper/pepper_url_request_unittest.cc',
296       'renderer/pepper/pepper_webplugin_impl_browsertest.cc',
297       'renderer/pepper/plugin_power_saver_helper_browsertest.cc',
298       'test/ppapi/ppapi_browsertest.cc',
299       'test/ppapi/ppapi_test.cc',
300       'test/ppapi/ppapi_test.h',
301     ],
302     'content_browsertests_speech_sources': [
303       'browser/speech/speech_recognition_browsertest.cc',
304     ],
305     'content_browsertests_unofficial_build_sources': [
306       # These tests depend on single process mode, which is disabled
307       # in official builds.
308       'renderer/browser_render_view_browsertest.cc',
309       'renderer/dom_serializer_browsertest.cc',
310       'renderer/resource_fetcher_browsertest.cc',
311       'renderer/savable_resources_browsertest.cc',
312     ],
313     'content_browsertests_win_sources': [
314       'browser/accessibility/accessibility_win_browsertest.cc',
315     ],
316     'content_unittests_sources': [
317       'browser/accessibility/accessibility_mode_helper_unittest.cc',
318       'browser/accessibility/browser_accessibility_mac_unittest.mm',
319       'browser/accessibility/browser_accessibility_manager_unittest.cc',
320       'browser/accessibility/browser_accessibility_win_unittest.cc',
321       'browser/accessibility/one_shot_accessibility_tree_search_unittest.cc',
322       'browser/appcache/appcache_database_unittest.cc',
323       'browser/appcache/appcache_disk_cache_unittest.cc',
324       'browser/appcache/appcache_group_unittest.cc',
325       'browser/appcache/appcache_host_unittest.cc',
326       'browser/appcache/appcache_manifest_parser_unittest.cc',
327       'browser/appcache/appcache_quota_client_unittest.cc',
328       'browser/appcache/appcache_request_handler_unittest.cc',
329       'browser/appcache/appcache_response_unittest.cc',
330       'browser/appcache/appcache_service_unittest.cc',
331       'browser/appcache/appcache_storage_impl_unittest.cc',
332       'browser/appcache/appcache_storage_unittest.cc',
333       'browser/appcache/appcache_unittest.cc',
334       'browser/appcache/appcache_update_job_unittest.cc',
335       'browser/appcache/appcache_url_request_job_unittest.cc',
336       'browser/appcache/chrome_appcache_service_unittest.cc',
337       'browser/appcache/mock_appcache_policy.cc',
338       'browser/appcache/mock_appcache_policy.h',
339       'browser/appcache/mock_appcache_service.cc',
340       'browser/appcache/mock_appcache_service.h',
341       'browser/appcache/mock_appcache_storage.cc',
342       'browser/appcache/mock_appcache_storage.h',
343       'browser/appcache/mock_appcache_storage_unittest.cc',
344       'browser/background_sync/background_sync_manager_unittest.cc',
345       'browser/background_sync/background_sync_network_observer_unittest.cc',
346       'browser/background_sync/background_sync_power_observer_unittest.cc',
347       'browser/background_sync/background_sync_service_impl_unittest.cc',
348       'browser/browser_io_surface_manager_mac_unittest.cc',
349       'browser/browser_thread_unittest.cc',
350       'browser/browser_url_handler_impl_unittest.cc',
351       'browser/byte_stream_unittest.cc',
352       'browser/cache_storage/cache_storage_blob_to_disk_cache_unittest.cc',
353       'browser/cache_storage/cache_storage_cache_unittest.cc',
354       'browser/cache_storage/cache_storage_manager_unittest.cc',
355       'browser/cache_storage/cache_storage_scheduler_unittest.cc',
356       'browser/child_process_security_policy_unittest.cc',
357       'browser/cocoa/system_hotkey_map_unittest.mm',
358       'browser/compositor/buffer_queue_unittest.cc',
359       'browser/compositor/reflector_impl_unittest.cc',
360       'browser/compositor/software_browser_compositor_output_surface_unittest.cc',
361       'browser/compositor/software_output_device_ozone_unittest.cc',
362       'browser/database_quota_client_unittest.cc',
363       'browser/database_tracker_unittest.cc',
364       'browser/database_util_unittest.cc',
365       'browser/databases_table_unittest.cc',
366       'browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc',
367       'browser/device_sensors/sensor_manager_android_unittest.cc',
368       'browser/device_sensors/sensor_manager_chromeos_unittest.cc',
369       'browser/devtools/devtools_manager_unittest.cc',
370       'browser/devtools/shared_worker_devtools_manager_unittest.cc',
371       'browser/dom_storage/dom_storage_area_unittest.cc',
372       'browser/dom_storage/dom_storage_context_impl_unittest.cc',
373       'browser/dom_storage/dom_storage_database_unittest.cc',
374       'browser/dom_storage/session_storage_database_unittest.cc',
375       'browser/download/base_file_unittest.cc',
376       'browser/download/download_file_unittest.cc',
377       'browser/download/download_item_impl_unittest.cc',
378       'browser/download/download_manager_impl_unittest.cc',
379       'browser/download/file_metadata_unittest_linux.cc',
380       'browser/download/rate_estimator_unittest.cc',
381       'browser/download/save_package_unittest.cc',
382       'browser/fileapi/blob_storage_context_unittest.cc',
383       'browser/fileapi/blob_url_request_job_unittest.cc',
384       'browser/fileapi/copy_or_move_file_validator_unittest.cc',
385       'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
386       'browser/fileapi/dragged_file_util_unittest.cc',
387       'browser/fileapi/external_mount_points_unittest.cc',
388       'browser/fileapi/file_system_context_unittest.cc',
389       'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
390       'browser/fileapi/file_system_file_stream_reader_unittest.cc',
391       'browser/fileapi/file_system_operation_impl_unittest.cc',
392       'browser/fileapi/file_system_operation_impl_write_unittest.cc',
393       'browser/fileapi/file_system_operation_runner_unittest.cc',
394       'browser/fileapi/file_system_quota_client_unittest.cc',
395       'browser/fileapi/file_system_url_request_job_unittest.cc',
396       'browser/fileapi/file_system_url_unittest.cc',
397       'browser/fileapi/file_system_usage_cache_unittest.cc',
398       'browser/fileapi/file_writer_delegate_unittest.cc',
399       'browser/fileapi/fileapi_message_filter_unittest.cc',
400       'browser/fileapi/isolated_context_unittest.cc',
401       'browser/fileapi/local_file_stream_reader_unittest.cc',
402       'browser/fileapi/local_file_stream_writer_unittest.cc',
403       'browser/fileapi/local_file_util_unittest.cc',
404       'browser/fileapi/mock_file_change_observer.cc',
405       'browser/fileapi/mock_file_change_observer.h',
406       'browser/fileapi/mock_file_update_observer.cc',
407       'browser/fileapi/mock_file_update_observer.h',
408       'browser/fileapi/mock_url_request_delegate.cc',
409       'browser/fileapi/mock_url_request_delegate.h',
410       'browser/fileapi/native_file_util_unittest.cc',
411       'browser/fileapi/obfuscated_file_util_unittest.cc',
412       'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
413       'browser/fileapi/recursive_operation_delegate_unittest.cc',
414       'browser/fileapi/sandbox_database_test_helper.cc',
415       'browser/fileapi/sandbox_database_test_helper.h',
416       'browser/fileapi/sandbox_directory_database_unittest.cc',
417       'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
418       'browser/fileapi/sandbox_file_system_backend_unittest.cc',
419       'browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
420       'browser/fileapi/sandbox_origin_database_unittest.cc',
421       'browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
422       'browser/fileapi/timed_task_helper_unittest.cc',
423       'browser/fileapi/transient_file_util_unittest.cc',
424       'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
425       'browser/frame_host/frame_tree_unittest.cc',
426       'browser/frame_host/navigation_controller_impl_unittest.cc',
427       'browser/frame_host/navigation_entry_impl_unittest.cc',
428       'browser/frame_host/navigator_impl_unittest.cc',
429       'browser/frame_host/render_frame_host_manager_unittest.cc',
430       'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
431       'browser/frame_host/render_widget_host_view_guest_unittest.cc',
432       'browser/gamepad/gamepad_provider_unittest.cc',
433       'browser/gamepad/gamepad_service_unittest.cc',
434       'browser/gamepad/gamepad_test_helpers.cc',
435       'browser/gamepad/gamepad_test_helpers.h',
436       'browser/geofencing/geofencing_manager_unittest.cc',
437       'browser/geofencing/geofencing_service_unittest.cc',
438       'browser/geolocation/geolocation_provider_impl_unittest.cc',
439       'browser/geolocation/location_arbitrator_impl_unittest.cc',
440       'browser/geolocation/network_location_provider_unittest.cc',
441       'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
442       'browser/geolocation/wifi_data_provider_common_unittest.cc',
443       'browser/geolocation/wifi_data_provider_linux_unittest.cc',
444       'browser/geolocation/wifi_data_provider_win_unittest.cc',
445       'browser/gpu/gpu_data_manager_impl_private_unittest.cc',
446       'browser/gpu/shader_disk_cache_unittest.cc',
447       'browser/host_zoom_map_impl_unittest.cc',
448       'browser/indexed_db/indexed_db_active_blob_registry_unittest.cc',
449       'browser/indexed_db/indexed_db_backing_store_unittest.cc',
450       'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
451       'browser/indexed_db/indexed_db_database_unittest.cc',
452       'browser/indexed_db/indexed_db_factory_unittest.cc',
453       'browser/indexed_db/indexed_db_fake_backing_store.cc',
454       'browser/indexed_db/indexed_db_fake_backing_store.h',
455       'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
456       'browser/indexed_db/indexed_db_quota_client_unittest.cc',
457       'browser/indexed_db/indexed_db_transaction_unittest.cc',
458       'browser/indexed_db/indexed_db_unittest.cc',
459       'browser/indexed_db/leveldb/leveldb_unittest.cc',
460       'browser/indexed_db/leveldb/mock_leveldb_factory.cc',
461       'browser/indexed_db/leveldb/mock_leveldb_factory.h',
462       'browser/indexed_db/list_set_unittest.cc',
463       'browser/indexed_db/mock_indexed_db_callbacks.cc',
464       'browser/indexed_db/mock_indexed_db_callbacks.h',
465       'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
466       'browser/indexed_db/mock_indexed_db_database_callbacks.h',
467       'browser/indexed_db/mock_indexed_db_factory.cc',
468       'browser/indexed_db/mock_indexed_db_factory.h',
469       'browser/loader/mime_type_resource_handler_unittest.cc',
470       'browser/loader/navigation_url_loader_unittest.cc',
471       'browser/loader/resource_buffer_unittest.cc',
472       'browser/loader/resource_dispatcher_host_unittest.cc',
473       'browser/loader/resource_loader_unittest.cc',
474       'browser/loader/resource_scheduler_unittest.cc',
475       'browser/loader/temporary_file_stream_unittest.cc',
476       'browser/loader/upload_data_stream_builder_unittest.cc',
477       'browser/mach_broker_mac_unittest.cc',
478       'browser/media/audio_stream_monitor_unittest.cc',
479       'browser/media/capture/audio_mirroring_manager_unittest.cc',
480       'browser/media/capture/web_contents_audio_input_stream_unittest.cc',
481       'browser/media/capture/web_contents_video_capture_device_unittest.cc',
482       'browser/media/media_internals_unittest.cc',
483       'browser/media/midi_host_unittest.cc',
484       'browser/media/webrtc_identity_store_unittest.cc',
485       'browser/net/quota_policy_cookie_store_unittest.cc',
486       'browser/notification_service_impl_unittest.cc',
487       'browser/notifications/notification_database_data_unittest.cc',
488       'browser/notifications/notification_database_unittest.cc',
489       'browser/notifications/notification_id_generator_unittest.cc',
490       'browser/notifications/platform_notification_context_unittest.cc',
491       'browser/power_monitor_message_broadcaster_unittest.cc',
492       'browser/power_profiler/power_profiler_service_unittest.cc',
493       'browser/power_usage_monitor_impl_unittest.cc',
494       'browser/presentation/presentation_service_impl_unittest.cc',
495       'browser/presentation/presentation_type_converters_unittest.cc',
496       'browser/quota/mock_quota_manager.cc',
497       'browser/quota/mock_quota_manager.h',
498       'browser/quota/mock_quota_manager_proxy.cc',
499       'browser/quota/mock_quota_manager_proxy.h',
500       'browser/quota/mock_quota_manager_unittest.cc',
501       'browser/quota/quota_backend_impl_unittest.cc',
502       'browser/quota/quota_database_unittest.cc',
503       'browser/quota/quota_manager_unittest.cc',
504       'browser/quota/quota_reservation_manager_unittest.cc',
505       'browser/quota/quota_temporary_storage_evictor_unittest.cc',
506       'browser/quota/storage_monitor_unittest.cc',
507       'browser/quota/usage_tracker_unittest.cc',
508       'browser/renderer_host/begin_frame_observer_proxy_unittest.cc',
509       'browser/renderer_host/clipboard_message_filter_unittest.cc',
510       'browser/renderer_host/event_with_latency_info_unittest.cc',
511       'browser/renderer_host/input/gesture_event_queue_unittest.cc',
512       'browser/renderer_host/input/input_router_impl_unittest.cc',
513       'browser/renderer_host/input/mock_input_ack_handler.cc',
514       'browser/renderer_host/input/mock_input_ack_handler.h',
515       'browser/renderer_host/input/mock_input_router_client.cc',
516       'browser/renderer_host/input/mock_input_router_client.h',
517       'browser/renderer_host/input/mouse_wheel_rails_filter_unittest_mac.cc',
518       'browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc',
519       'browser/renderer_host/input/stylus_text_selector_unittest.cc',
520       'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
521       'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
522       'browser/renderer_host/input/touch_action_filter_unittest.cc',
523       'browser/renderer_host/input/touch_emulator_unittest.cc',
524       'browser/renderer_host/input/touch_event_queue_unittest.cc',
525       'browser/renderer_host/input/web_input_event_unittest.cc',
526       'browser/renderer_host/input/web_input_event_util_unittest.cc',
527       'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
528       'browser/renderer_host/media/audio_renderer_host_unittest.cc',
529       'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
530       'browser/renderer_host/media/media_stream_manager_unittest.cc',
531       'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
532       'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
533       'browser/renderer_host/media/video_capture_controller_unittest.cc',
534       'browser/renderer_host/media/video_capture_device_client_unittest.cc',
535       'browser/renderer_host/media/video_capture_host_unittest.cc',
536       'browser/renderer_host/media/video_capture_manager_unittest.cc',
537       'browser/renderer_host/render_process_host_unittest.cc',
538       'browser/renderer_host/render_view_host_unittest.cc',
539       'browser/renderer_host/render_widget_host_unittest.cc',
540       'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
541       'browser/renderer_host/render_widget_host_view_base_unittest.cc',
542       'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
543       'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
544       'browser/renderer_host/text_input_client_mac_unittest.mm',
545       'browser/renderer_host/web_input_event_aura_unittest.cc',
546       'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
547       'browser/resolve_proxy_msg_helper_unittest.cc',
548       'browser/service_worker/embedded_worker_instance_unittest.cc',
549       'browser/service_worker/embedded_worker_test_helper.cc',
550       'browser/service_worker/embedded_worker_test_helper.h',
551       'browser/service_worker/service_worker_context_request_handler_unittest.cc',
552       'browser/service_worker/service_worker_context_unittest.cc',
553       'browser/service_worker/service_worker_controllee_request_handler_unittest.cc',
554       'browser/service_worker/service_worker_database_unittest.cc',
555       'browser/service_worker/service_worker_disk_cache_migrator_unittest.cc',
556       'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
557       'browser/service_worker/service_worker_handle_unittest.cc',
558       'browser/service_worker/service_worker_job_unittest.cc',
559       'browser/service_worker/service_worker_process_manager_unittest.cc',
560       'browser/service_worker/service_worker_provider_host_unittest.cc',
561       'browser/service_worker/service_worker_registration_unittest.cc',
562       'browser/service_worker/service_worker_request_handler_unittest.cc',
563       'browser/service_worker/service_worker_storage_unittest.cc',
564       'browser/service_worker/service_worker_url_request_job_unittest.cc',
565       'browser/service_worker/service_worker_version_unittest.cc',
566       'browser/service_worker/service_worker_write_to_cache_job_unittest.cc',
567       'browser/shareable_file_reference_unittest.cc',
568       'browser/shared_worker/shared_worker_instance_unittest.cc',
569       'browser/shared_worker/shared_worker_service_impl_unittest.cc',
570       'browser/site_instance_impl_unittest.cc',
571       'browser/startup_task_runner_unittest.cc',
572       'browser/storage_partition_impl_map_unittest.cc',
573       'browser/storage_partition_impl_unittest.cc',
574       'browser/streams/stream_unittest.cc',
575       'browser/streams/stream_url_request_job_unittest.cc',
576       'browser/system_message_window_win_unittest.cc',
577       'browser/tracing/background_tracing_config_unittest.cc',
578       'browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc',
579       'browser/web_contents/aura/overscroll_window_animation_unittest.cc',
580       'browser/web_contents/aura/overscroll_window_delegate_unittest.cc',
581       'browser/web_contents/web_contents_delegate_unittest.cc',
582       'browser/web_contents/web_contents_impl_unittest.cc',
583       'browser/web_contents/web_contents_user_data_unittest.cc',
584       'browser/web_contents/web_contents_view_aura_unittest.cc',
585       'browser/web_contents/web_contents_view_mac_unittest.mm',
586       'browser/web_contents/web_drag_dest_mac_unittest.mm',
587       'browser/web_contents/web_drag_source_mac_unittest.mm',
588       'browser/webui/url_data_manager_backend_unittest.cc',
589       'browser/webui/web_ui_data_source_unittest.cc',
590       'browser/webui/web_ui_message_handler_unittest.cc',
591       'child/background_sync/background_sync_type_converters_unittest.cc',
592       'child/blink_platform_impl_unittest.cc',
593       'child/blob_storage/blob_consolidation_unittest.cc',
594       'child/fileapi/webfilewriter_base_unittest.cc',
595       'child/indexed_db/indexed_db_dispatcher_unittest.cc',
596       'child/indexed_db/webidbcursor_impl_unittest.cc',
597       'child/multipart_response_delegate_unittest.cc',
598       'child/notifications/notification_data_conversions_unittest.cc',
599       'child/power_monitor_broadcast_source_unittest.cc',
600       'child/resource_dispatcher_unittest.cc',
601       'child/service_worker/service_worker_dispatcher_unittest.cc',
602       'child/shared_memory_data_consumer_handle_unittest.cc',
603       'child/shared_memory_received_data_factory_unittest.cc',
604       'child/simple_webmimeregistry_impl_unittest.cc',
605       'child/site_isolation_stats_gatherer_unittest.cc',
606       'child/v8_value_converter_impl_unittest.cc',
607       'child/web_data_consumer_handle_impl_unittest.cc',
608       'child/web_process_memory_dump_impl_unittest.cc',
609       'child/web_url_loader_impl_unittest.cc',
610       'child/worker_task_runner_unittest.cc',
611       'common/android/address_parser_unittest.cc',
612       'common/android/gin_java_bridge_value_unittest.cc',
613       'common/cc_messages_unittest.cc',
614       'common/common_param_traits_unittest.cc',
615       'common/cross_site_document_classifier_unittest.cc',
616       'common/cursors/webcursor_unittest.cc',
617       'common/database_connections_unittest.cc',
618       'common/database_identifier_unittest.cc',
619       'common/discardable_shared_memory_heap_unittest.cc',
620       'common/dom_storage/dom_storage_map_unittest.cc',
621       'common/dwrite_font_platform_win_unittest.cc',
622       'common/fileapi/file_system_util_unittest.cc',
623       'common/gpu/client/gpu_memory_buffer_impl_unittest.cc',
624       'common/gpu/gpu_channel_test_common.cc',
625       'common/gpu/gpu_channel_test_common.h',
626       'common/gpu/gpu_channel_unittest.cc',
627       'common/gpu/gpu_channel_manager_unittest.cc',
628       'common/gpu/gpu_memory_buffer_factory_unittest.cc',
629       'common/gpu/gpu_memory_manager_unittest.cc',
630       'common/host_discardable_shared_memory_manager_unittest.cc',
631       'common/host_shared_bitmap_manager_unittest.cc',
632       'common/indexed_db/indexed_db_key_unittest.cc',
633       'common/input/gesture_event_stream_validator_unittest.cc',
634       'common/input/input_param_traits_unittest.cc',
635       'common/input/touch_event_stream_validator_unittest.cc',
636       'common/input/web_input_event_traits_unittest.cc',
637       'common/inter_process_time_ticks_converter_unittest.cc',
638       'common/mac/attributed_string_coder_unittest.mm',
639       'common/mac/font_descriptor_unittest.mm',
640       'common/one_writer_seqlock_unittest.cc',
641       'common/origin_util_unittest.cc',
642       'common/page_state_serialization_unittest.cc',
643       'common/page_zoom_unittest.cc',
644       'common/plugin_list_unittest.cc',
645       'common/sandbox_mac_compiler_unittest.mm',
646       'common/sandbox_mac_diraccess_unittest.mm',
647       'common/sandbox_mac_fontloading_unittest.mm',
648       'common/sandbox_mac_system_access_unittest.mm',
649       'common/sandbox_mac_unittest_helper.h',
650       'common/sandbox_mac_unittest_helper.mm',
651       'common/service_worker/service_worker_utils_unittest.cc',
652       'common/ssl_status_serialization_unittest.cc',
653       'common/webplugininfo_unittest.cc',
654       'renderer/android/email_detector_unittest.cc',
655       'renderer/android/phone_number_detector_unittest.cc',
656       'renderer/battery_status/battery_status_dispatcher_unittest.cc',
657       'renderer/bmp_image_decoder_unittest.cc',
658       'renderer/device_sensors/device_light_event_pump_unittest.cc',
659       'renderer/device_sensors/device_motion_event_pump_unittest.cc',
660       'renderer/device_sensors/device_orientation_event_pump_unittest.cc',
661       'renderer/disambiguation_popup_helper_unittest.cc',
662       'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
663       'renderer/gpu/compositor_forwarding_message_filter_unittest.cc',
664       'renderer/gpu/frame_swap_message_queue_unittest.cc',
665       'renderer/gpu/queue_message_swap_promise_unittest.cc',
666       'renderer/gpu/render_widget_compositor_unittest.cc',
667       'renderer/ico_image_decoder_unittest.cc',
668       'renderer/input/input_event_filter_unittest.cc',
669       'renderer/input/input_handler_proxy_unittest.cc',
670       'renderer/input/input_scroll_elasticity_controller_unittest.cc',
671       'renderer/manifest/manifest_parser_unittest.cc',
672       'renderer/media/android/media_info_loader_unittest.cc',
673       'renderer/media/audio_message_filter_unittest.cc',
674       'renderer/media/audio_renderer_mixer_manager_unittest.cc',
675       'renderer/media/midi_message_filter_unittest.cc',
676       'renderer/media/render_media_client_unittest.cc',
677       'renderer/media/render_media_log_unittest.cc',
678       'renderer/media/video_capture_impl_manager_unittest.cc',
679       'renderer/media/video_capture_impl_unittest.cc',
680       'renderer/media/video_capture_message_filter_unittest.cc',
681       'renderer/raster_worker_pool_unittest.cc',
682       'renderer/render_thread_impl_unittest.cc',
683       'renderer/render_widget_unittest.cc',
684       'renderer/scheduler/resource_dispatch_throttler_unittest.cc',
685       'renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc',
686       'renderer/skia_benchmarking_extension_unittest.cc',
687       'test/fileapi_test_file_set.cc',
688       'test/fileapi_test_file_set.h',
689       'test/image_decoder_test.cc',
690       'test/image_decoder_test.h',
691       'test/run_all_unittests.cc',
692     ],
693     'content_unittests_speech_sources': [
694       'browser/speech/chunked_byte_buffer_unittest.cc',
695       'browser/speech/endpointer/endpointer_unittest.cc',
696       'browser/speech/google_one_shot_remote_engine_unittest.cc',
697       'browser/speech/google_streaming_remote_engine_unittest.cc',
698       'browser/speech/speech_recognizer_impl_unittest.cc',
699     ],
700     'content_unittests_plugins_sources': [
701       'browser/plugin_loader_posix_unittest.cc',
702       'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
703       'browser/renderer_host/pepper/browser_ppapi_host_test.h',
704       'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
705       'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
706       'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
707       'browser/renderer_host/pepper/quota_reservation_unittest.cc',
708       'child/npapi/plugin_lib_unittest.cc',
709       'renderer/media/webrtc/video_destination_handler_unittest.cc',
710       'renderer/npapi/webplugin_impl_unittest.cc',
711       'renderer/pepper/event_conversion_unittest.cc',
712       'renderer/pepper/host_var_tracker_unittest.cc',
713       'renderer/pepper/mock_resource.h',
714       'renderer/pepper/pepper_broker_unittest.cc',
715       'renderer/pepper/plugin_instance_throttler_impl_unittest.cc',
716       'renderer/pepper/v8_var_converter_unittest.cc',
717     ],
718     'content_unittests_webrtc_sources': [
719       'browser/media/webrtc_internals_unittest.cc',
720       'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
721       'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
722       'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
723       'browser/renderer_host/p2p/socket_host_test_utils.cc',
724       'browser/renderer_host/p2p/socket_host_test_utils.h',
725       'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
726       'browser/renderer_host/p2p/socket_host_unittest.cc',
727       'renderer/media/media_stream_audio_processor_unittest.cc',
728       'renderer/media/media_stream_constraints_util_unittest.cc',
729       'renderer/media/media_stream_dispatcher_unittest.cc',
730       'renderer/media/media_stream_video_capture_source_unittest.cc',
731       'renderer/media/media_stream_video_source_unittest.cc',
732       'renderer/media/media_stream_video_track_unittest.cc',
733       'renderer/media/mock_media_constraint_factory.cc',
734       'renderer/media/mock_media_stream_registry.cc',
735       'renderer/media/mock_media_stream_registry.h',
736       'renderer/media/mock_media_stream_video_sink.cc',
737       'renderer/media/mock_media_stream_video_sink.h',
738       'renderer/media/mock_media_stream_video_source.cc',
739       'renderer/media/mock_media_stream_video_source.h',
740       'renderer/media/rtc_data_channel_handler_unittest.cc',
741       'renderer/media/rtc_peer_connection_handler_unittest.cc',
742       'renderer/media/rtc_video_decoder_unittest.cc',
743       'renderer/media/speech_recognition_audio_sink_unittest.cc',
744       'renderer/media/user_media_client_impl_unittest.cc',
745       'renderer/media/video_source_handler_unittest.cc',
746       'renderer/media/webrtc/media_stream_remote_video_source_unittest.cc',
747       'renderer/media/webrtc/media_stream_track_metrics_unittest.cc',
748       'renderer/media/webrtc/peer_connection_dependency_factory_unittest.cc',
749       'renderer/media/webrtc/stun_field_trial_unittest.cc',
750       'renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc',
751       'renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc',
752       'renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc',
753       'renderer/media/webrtc_audio_capturer_unittest.cc',
754       'renderer/media/webrtc_audio_renderer_unittest.cc',
755       'renderer/media/webrtc_identity_service_unittest.cc',
756       'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
757       'renderer/media/webrtc_local_audio_track_unittest.cc',
758       'renderer/media/webrtc_uma_histograms_unittest.cc',
759       'renderer/p2p/ipc_network_manager_unittest.cc',
760     ],
761     'content_unittests_android_sources': [
762       'browser/android/java/gin_java_method_invocation_helper_unittest.cc',
763       'browser/android/java/java_type_unittest.cc',
764       'browser/android/java/jni_helper_unittest.cc',
765       'browser/android/overscroll_refresh_unittest.cc',
766       'browser/android/url_request_content_job_unittest.cc',
767       'browser/renderer_host/input/motion_event_android_unittest.cc',
768       'renderer/java/gin_java_bridge_value_converter_unittest.cc',
769     ],
770   },
771   'targets': [
772     {
773       # GN version: //content/test:layouttest_support
774       'target_name': 'layouttest_support_content',
775       'type': 'static_library',
776       'conditions': [
777         ['OS=="android"', {
778           'dependencies': [
779             'test_support_content_jni_headers',
780           ],
781         }],
782         ['OS!="ios"', {
783           # layouttest_support_content is not supported nor required on iOS.
784           'dependencies': [
785             'content.gyp:content_renderer',
786             'test_support_content',
787             '../components/test_runner/test_runner.gyp:test_runner',
788             '../skia/skia.gyp:skia',
789             '../ui/accessibility/accessibility.gyp:ax_gen',
790             '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
791             '../v8/tools/gyp/v8.gyp:v8',
792           ],
793           'include_dirs': [
794             '..',
795             '<(SHARED_INTERMEDIATE_DIR)',
796           ],
797           'sources': [ '<@(layouttest_support_content_sources)' ]
798         }],
799       ],
800     },
801     {
802       # GN version: //content/test:test_support
803       'target_name': 'test_support_content',
804       'type': 'static_library',
805       'dependencies': [
806         '../mojo/mojo_base.gyp:mojo_application_base',
807         '../mojo/mojo_base.gyp:mojo_environment_chromium',
808         '../net/net.gyp:net_test_support',
809         '../skia/skia.gyp:skia',
810         '../storage/storage_common.gyp:storage_common',
811         '../testing/gmock.gyp:gmock',
812         '../testing/gtest.gyp:gtest',
813         '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
814         '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
815         '../ui/accessibility/accessibility.gyp:ax_gen',
816         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
817         '../ui/base/ui_base.gyp:ui_base',
818         '../ui/base/ui_base.gyp:ui_base_test_support',
819         '../ui/events/events.gyp:dom_keycode_converter',
820         '../ui/events/events.gyp:events_base',
821         '../ui/events/events.gyp:events_test_support',
822         '../ui/events/events.gyp:gesture_detection',
823         '../ui/gfx/gfx.gyp:gfx_test_support',
824         '../ui/resources/ui_resources.gyp:ui_resources',
825         '../url/url.gyp:url_lib',
826         'browser/speech/proto/speech_proto.gyp:speech_proto',
827         'content.gyp:content_app_both',
828         'content.gyp:content_browser',
829         'content.gyp:content_common',
830       ],
831       'export_dependent_settings': [
832         'content.gyp:content_browser',
833       ],
834       'include_dirs': [
835         '..',
836       ],
837       'sources': [ '<@(test_support_content_sources)' ],
838       'conditions': [
839         ['enable_plugins==0', {
840           'sources!': [
841             'public/test/ppapi_test_utils.cc',
842             'test/ppapi_unittest.cc',
843           ],
844         }],
845         ['enable_web_speech==0', {
846           'sources!': [
847             'test/mock_google_streaming_server.cc',
848           ],
849         }],
850         ['OS == "ios"', {
851           'sources/': [
852             # iOS only needs a small portion of content; exclude all the
853             # implementation, and re-include what is used.
854             ['exclude', '\\.(cc|mm)$'],
855             ['include', '_ios\\.(cc|mm)$'],
856             ['include', '^public/test/content_test_suite_base\\.cc$'],
857             ['include', '^public/test/mock_notification_observer\\.cc$'],
858             ['include', '^public/test/mock_resource_context\\.cc$'],
859             ['include', '^public/test/test_browser_thread\\.cc$'],
860             ['include', '^public/test/test_browser_thread_bundle\\.cc$'],
861             ['include', '^public/test/test_content_client_initializer\\.cc$'],
862             ['include', '^public/test/test_notification_tracker\\.cc$'],
863             ['include', '^public/test/test_utils\\.cc$'],
864             ['include', '^public/test/unittest_test_suite\\.cc$'],
865             ['include', '^test/content_test_suite\\.cc$'],
866             ['include', '^test/test_content_browser_client\\.cc$'],
867             ['include', '^test/test_content_client\\.cc$'],
868           ],
869         }, {  # OS != "ios"
870           'conditions': [
871             ['OS=="mac"', {
872               'copies': [{
873                 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
874                 'files': [
875                   'shell/resources/missingImage.png',
876                   'shell/resources/textAreaResizeCorner.png',
877                 ],
878               }],
879             }],
880           ],
881           'dependencies': [
882             'content_test_mojo_bindings',
883             'content.gyp:content_child',
884             'content.gyp:content_common',
885             'content.gyp:content_gpu',
886             'content.gyp:content_plugin',
887             'content.gyp:content_ppapi_plugin',
888             'content.gyp:content_renderer',
889             'content.gyp:content_utility',
890             'content_shell_and_tests.gyp:content_shell_pak',
891             '../cc/blink/cc_blink.gyp:cc_blink',
892             '../cc/cc.gyp:cc',
893             '../cc/cc_tests.gyp:cc_test_support',
894             '../components/scheduler/scheduler.gyp:scheduler',
895             '../components/scheduler/scheduler.gyp:scheduler_test_support',
896             '../gpu/blink/gpu_blink.gyp:gpu_blink',
897             '../ipc/mojo/ipc_mojo.gyp:*',
898             '../media/blink/media_blink.gyp:media_blink',
899             '../media/media.gyp:media',
900             '../media/midi/midi.gyp:midi',
901             '../mojo/mojo_base.gyp:mojo_application_base',
902             '../mojo/mojo_base.gyp:mojo_environment_chromium',
903             '../ppapi/ppapi_internal.gyp:ppapi_host',
904             '../ppapi/ppapi_internal.gyp:ppapi_proxy',
905             '../ppapi/ppapi_internal.gyp:ppapi_shared',
906             '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
907             '../storage/storage_browser.gyp:storage',
908             '../storage/storage_common.gyp:storage_common',
909             '../third_party/WebKit/public/blink.gyp:blink',
910             '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
911             '../ui/compositor/compositor.gyp:compositor_test_support',
912             '../ui/surface/surface.gyp:surface',
913             '../v8/tools/gyp/v8.gyp:v8',
914           ],
915           'export_dependent_settings': [
916             '../third_party/WebKit/public/blink.gyp:blink',
917           ],
918         }],
919         ['OS == "win"', {
920           'dependencies': [
921             '../sandbox/sandbox.gyp:sandbox',
922             'content.gyp:content_startup_helper_win',
923           ],
924         }],
925         ['enable_webrtc==1', {
926           'sources': [
927             'renderer/media/mock_data_channel_impl.cc',
928             'renderer/media/mock_data_channel_impl.h',
929             'renderer/media/mock_media_stream_dispatcher.cc',
930             'renderer/media/mock_media_stream_dispatcher.h',
931             'renderer/media/mock_peer_connection_impl.cc',
932             'renderer/media/mock_peer_connection_impl.h',
933             'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
934             'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
935             'renderer/media/webrtc/mock_peer_connection_dependency_factory.cc',
936             'renderer/media/webrtc/mock_peer_connection_dependency_factory.h',
937           ],
938           'dependencies': [
939             '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
940             '../third_party/libjingle/libjingle.gyp:libpeerconnection',
941             '../third_party/webrtc/modules/modules.gyp:video_capture_module',
942           ],
943         }],
944         ['use_glib == 1', {
945           'dependencies': [
946             '../build/linux/system.gyp:glib',
947           ],
948         }],
949         ['use_aura==1', {
950           'dependencies': [
951             '../ui/aura/aura.gyp:aura_test_support',
952             '../ui/resources/ui_resources.gyp:ui_test_pak',
953             '../ui/wm/wm.gyp:wm',
954           ],
955         }],
956         ['use_ozone==1', {
957           'dependencies': [
958             '../ui/ozone/ozone.gyp:ozone',
959             '../ui/platform_window/platform_window.gyp:platform_window',
960           ],
961         }],
962         ['OS=="win"', {
963           'dependencies': [
964             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
965           ],
966         }],
967         ['OS!="android" and OS!="ios"', {
968           'sources': [
969             'browser/compositor/test/no_transport_image_transport_factory.cc',
970             'browser/compositor/test/no_transport_image_transport_factory.h',
971           ],
972           'dependencies': [
973             '../ui/compositor/compositor.gyp:compositor',
974             '../third_party/libvpx/libvpx.gyp:libvpx',
975           ],
976         }],
977         ['OS=="android"', {
978           'dependencies': [
979             '../ui/android/ui_android.gyp:ui_android',
980             '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
981             'content.gyp:content_v8_external_data',
982           ],
983         }],
984         ['v8_use_external_startup_data==1 and OS!="ios"', {
985           'dependencies': [
986             '../gin/gin.gyp:gin',
987           ],
988         }],
989       ],
990     },
991     {
992       # GN version: //content/test:content_unittests
993       'target_name': 'content_unittests',
994       'type': '<(gtest_target_type)',
995       'dependencies': [
996         'browser/background_sync/background_sync_proto.gyp:background_sync_proto',
997         'browser/notifications/notification_proto.gyp:notification_proto',
998         'browser/service_worker/service_worker_proto.gyp:service_worker_proto',
999         'browser/speech/proto/speech_proto.gyp:speech_proto',
1000         'content.gyp:content_browser',
1001         'content.gyp:content_common',
1002         'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
1003         'test_support_content',
1004         '../base/base.gyp:test_support_base',
1005         '../crypto/crypto.gyp:crypto',
1006         '../device/battery/battery.gyp:device_battery',
1007         '../device/battery/battery.gyp:device_battery_mojo_bindings',
1008         '../mojo/mojo_base.gyp:mojo_environment_chromium',
1009         '../net/net.gyp:net_extras',
1010         '../net/net.gyp:net_test_support',
1011         '../skia/skia.gyp:skia',
1012         '../sql/sql.gyp:sql',
1013         '../sql/sql.gyp:test_support_sql',
1014         '../testing/gmock.gyp:gmock',
1015         '../testing/gtest.gyp:gtest',
1016         '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
1017         '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
1018         '../third_party/re2/re2.gyp:re2',
1019         '../ui/accessibility/accessibility.gyp:accessibility',
1020         '../ui/base/ui_base.gyp:ui_base',
1021         '../ui/events/events.gyp:blink',
1022         '../ui/gfx/gfx.gyp:gfx',
1023         '../ui/gfx/gfx.gyp:gfx_geometry',
1024         '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
1025       ],
1026       'include_dirs': [
1027         '..',
1028         '<(SHARED_INTERMEDIATE_DIR)',  # Needed by render_media_client_unittest.cc.
1029       ],
1030       'sources': [ '<@(content_unittests_sources)' ],
1031       'conditions': [
1032         ['OS == "ios"', {
1033           'sources/': [
1034             # iOS only needs a small portion of content; exclude all the
1035             # implementation, and re-include what is used.
1036             ['exclude', '\\.(cc|mm)$'],
1037             ['include', '_ios\\.(cc|mm)$'],
1038             ['include', '^browser/notification_service_impl_unittest\\.cc$'],
1039             ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
1040             ['include', '^test/run_all_unittests\\.cc$'],
1041           ],
1042         }, {  # OS != "ios"
1043           'dependencies': [
1044             'content.gyp:content_browser',
1045             'content.gyp:content_child',
1046             'content.gyp:content_gpu',
1047             'content.gyp:content_plugin',
1048             'content.gyp:content_renderer',
1049             'content.gyp:content_resources',
1050             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1051             '../cc/cc.gyp:cc',
1052             '../cc/cc.gyp:cc_surfaces',
1053             '../cc/cc_tests.gyp:cc_test_support',
1054             '../gin/gin.gyp:gin',
1055             '../gpu/gpu.gyp:gpu',
1056             '../gpu/gpu.gyp:gpu_unittest_utils',
1057             '../ipc/ipc.gyp:test_support_ipc',
1058             '../media/media.gyp:media_test_support',
1059             '../media/media.gyp:shared_memory_support',
1060             '../storage/storage_browser.gyp:storage',
1061             '../storage/storage_common.gyp:storage_common',
1062             '../third_party/WebKit/public/blink.gyp:blink',
1063             '../third_party/icu/icu.gyp:icui18n',
1064             '../third_party/icu/icu.gyp:icuuc',
1065             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1066             '../third_party/libjingle/libjingle.gyp:libjingle',
1067             '../ui/gl/gl.gyp:gl',
1068             '../ui/gl/gl.gyp:gl_test_support',
1069           ],
1070         }],
1071         ['OS != "win"', {
1072           'sources': [
1073             'browser/file_descriptor_info_impl_unittest.cc',
1074           ],
1075         }],
1076         ['OS == "mac"', {
1077           'dependencies': [
1078             '../third_party/ocmock/ocmock.gyp:ocmock',
1079           ],
1080         }],
1081         ['enable_plugins==1', {
1082           'sources': [ '<@(content_unittests_plugins_sources)' ],
1083         }],
1084         ['enable_webrtc==1', {
1085           'sources': [ '<@(content_unittests_webrtc_sources)' ],
1086           'dependencies': [
1087             '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
1088             '../third_party/libjingle/libjingle.gyp:libpeerconnection',
1089             '../third_party/webrtc/modules/modules.gyp:video_capture_module',
1090           ]
1091         }, {
1092           'sources!': [
1093             'renderer/media/webrtc/video_destination_handler_unittest.cc',
1094           ],
1095         }],
1096         ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
1097           'sources': [
1098             'browser/media/capture/desktop_capture_device_unittest.cc',
1099           ],
1100           'dependencies': [
1101             '../third_party/webrtc/modules/modules.gyp:desktop_capture',
1102           ],
1103         }],
1104         ['enable_webrtc==1 and chromeos==1', {
1105           'sources': [
1106             'browser/media/capture/desktop_capture_device_aura_unittest.cc',
1107           ],
1108         }],
1109         ['enable_web_speech==1', {
1110           'sources': [ '<@(content_unittests_speech_sources)' ],
1111         }],
1112         ['OS=="linux" and use_dbus==1', {
1113           'dependencies': [
1114             '../build/linux/system.gyp:dbus',
1115             '../dbus/dbus.gyp:dbus_test_support',
1116           ],
1117         }],
1118         ['OS=="win" and win_use_allocator_shim==1', {
1119           'dependencies': [
1120             '../base/allocator/allocator.gyp:allocator',
1121           ],
1122         }],
1123         ['OS=="win"', {
1124           'dependencies': [
1125             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1126           ],
1127         }],
1128         ['OS=="mac"', {
1129           # These flags are needed to run the test on Mac.
1130           # Search for comments about "xcode_settings" in chrome_tests.gypi.
1131           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
1132         }],
1133         ['chromeos==1', {
1134           'dependencies': [
1135             '../chromeos/chromeos.gyp:chromeos',
1136           ],
1137           'sources!': [
1138             'browser/geolocation/wifi_data_provider_linux_unittest.cc',
1139           ],
1140         }],
1141         ['use_aura==1', {
1142           'dependencies': [
1143             '../ui/aura/aura.gyp:aura',
1144             '../ui/aura_extra/aura_extra.gyp:aura_extra',
1145             '../ui/wm/wm.gyp:wm',
1146           ]
1147         }],
1148         ['use_aura==1 or toolkit_views==1', {
1149           'dependencies': [
1150             '../ui/events/events.gyp:events_test_support',
1151           ],
1152         }],
1153         ['use_aura!=1 and OS!="mac"', {
1154           'sources/': [
1155             ['exclude', '^browser/compositor/'],
1156           ],
1157         }],
1158         ['OS == "android"', {
1159           'sources': [ '<@(content_unittests_android_sources)' ],
1160           'sources!': [
1161             'browser/geolocation/network_location_provider_unittest.cc',
1162             'browser/geolocation/wifi_data_provider_common_unittest.cc',
1163             'browser/media/audio_stream_monitor_unittest.cc',
1164             'browser/renderer_host/begin_frame_observer_proxy_unittest.cc',
1165             'browser/webui/url_data_manager_backend_unittest.cc',
1166           ],
1167           'dependencies': [
1168             '../testing/android/native_test.gyp:native_test_native_code',
1169           ],
1170         }],
1171         ['OS != "android" and OS != "ios"', {
1172           'dependencies': [
1173             '../third_party/libvpx/libvpx.gyp:libvpx',
1174           ],
1175         }],
1176         ['use_aura!=1 and OS!="android"', {
1177           'sources!': [
1178             'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
1179           ],
1180         }],
1181         ['use_dbus==0', {
1182           'sources!': [
1183             'browser/geolocation/wifi_data_provider_linux_unittest.cc',
1184           ],
1185         }],
1186         ['OS!="win" and OS!="mac"', {
1187           'sources!': [
1188             'common/plugin_list_unittest.cc',
1189           ],
1190         }],
1191         ['use_ozone==1', {
1192           'dependencies': [
1193             '../ui/ozone/ozone.gyp:ozone',
1194             '../ui/ozone/ozone.gyp:ozone_base',
1195           ],
1196         }],
1197         ['OS == "mac" and use_openssl==1', {
1198           'dependencies': [
1199             '../third_party/boringssl/boringssl.gyp:boringssl',
1200           ],
1201         }],
1202       ],
1203     },
1204   ],
1205   'conditions': [
1206     ['test_isolation_mode != "noop"', {
1207       'targets': [
1208         {
1209           'target_name': 'content_browsertests_run',
1210           'type': 'none',
1211           'dependencies': [
1212             'content_browsertests',
1213           ],
1214           'includes': [
1215             '../build/isolate.gypi',
1216           ],
1217           'sources': [
1218             'content_browsertests.isolate',
1219           ],
1220         },
1221         {
1222           'target_name': 'content_unittests_run',
1223           'type': 'none',
1224           'dependencies': [
1225             'content_unittests',
1226           ],
1227           'includes': [
1228             '../build/isolate.gypi',
1229           ],
1230           'sources': [
1231             'content_unittests.isolate',
1232           ],
1233           'conditions': [
1234             ['use_x11==1', {
1235               'dependencies': [
1236                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1237               ],
1238             }],
1239           ],
1240         },
1241         {
1242           'target_name': 'telemetry_base',
1243           'type': 'none',
1244           'dependencies': [
1245             '../tools/telemetry/telemetry.gyp:bitmaptools#host',
1246           ],
1247         },
1248         {
1249           'target_name': 'telemetry_gpu_unittests_run',
1250           'type': 'none',
1251           'dependencies': [
1252             'telemetry_base',
1253           ],
1254           'includes': [
1255             '../build/isolate.gypi',
1256           ],
1257           'sources': [
1258             'telemetry_gpu_unittests.isolate',
1259           ],
1260         },
1261       ],
1262       'conditions': [
1263         ['archive_gpu_tests==1', {
1264           'targets': [
1265             {
1266               # GN: content/test:content_gl_tests_run
1267               'target_name': 'content_gl_tests_run',
1268               'type': 'none',
1269               'dependencies': [
1270                 'content_shell_and_tests.gyp:content_gl_tests',
1271               ],
1272               'includes': [
1273                 '../build/isolate.gypi',
1274               ],
1275               'sources': [
1276                 'content_gl_tests.isolate',
1277               ],
1278             },
1279           ],
1280         }],
1281       ],
1282     }],
1283     ['OS!="ios"', {
1284       'targets': [
1285         {
1286           # GN version: //content/test:content_perftests
1287           'target_name': 'content_perftests',
1288           'type': '<(gtest_target_type)',
1289           'defines!': ['CONTENT_IMPLEMENTATION'],
1290           'dependencies': [
1291             'content.gyp:content_browser',
1292             'content.gyp:content_common',
1293             'test_support_content',
1294             '../base/base.gyp:test_support_base',
1295             '../cc/cc.gyp:cc',
1296             '../skia/skia.gyp:skia',
1297             '../testing/gtest.gyp:gtest',
1298             '../testing/perf/perf_test.gyp:*',
1299             '../ui/gfx/gfx.gyp:gfx',
1300             '../ui/gfx/gfx.gyp:gfx_geometry',
1301           ],
1302           'include_dirs': [
1303             '..',
1304           ],
1305           'sources': [
1306             'browser/renderer_host/input/input_router_impl_perftest.cc',
1307             'common/cc_messages_perftest.cc',
1308             'common/discardable_shared_memory_heap_perftest.cc',
1309             'test/run_all_perftests.cc',
1310           ],
1311           'conditions': [
1312             ['OS == "android"', {
1313               'dependencies': [
1314                 '../testing/android/native_test.gyp:native_test_native_code',
1315               ],
1316             }],
1317             ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1318               'dependencies': [
1319                 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1320               ],
1321             }],
1322           ],
1323         },
1324         {
1325           # GN version: //content/tests:browsertest_support
1326           'target_name': 'content_browser_test_support',
1327           'type': 'static_library',
1328           'dependencies': [
1329             'content_shell_lib',
1330             '../skia/skia.gyp:skia',
1331             '../testing/gtest.gyp:gtest',
1332             '../ui/accessibility/accessibility.gyp:ax_gen',
1333             '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1334           ],
1335           'export_dependent_settings': [
1336             '../skia/skia.gyp:skia',
1337           ],
1338           'sources': [
1339             # Source list duplicated in GN build.
1340             'public/test/content_browser_test.cc',
1341             'public/test/content_browser_test.h',
1342             'public/test/content_browser_test_utils.cc',
1343             'public/test/content_browser_test_utils.h',
1344             'public/test/content_browser_test_utils_mac.mm',
1345             'test/content_browser_test_utils_internal.cc',
1346             'test/content_browser_test_utils_internal.h',
1347             'test/content_test_launcher.cc',
1348           ],
1349           'include_dirs': [
1350             '<(SHARED_INTERMEDIATE_DIR)',
1351           ],
1352           'conditions': [
1353             ['OS=="android"', {
1354               'dependencies': [
1355                 'content.gyp:content_app_both',
1356               ],
1357             }, {
1358               'dependencies': [
1359                 'content.gyp:content_browser',
1360               ],
1361             }],
1362           ],
1363         },
1364         {
1365           # GN version: //content/test:test_mojo_bindings
1366           'target_name': 'content_test_mojo_bindings',
1367           'type': 'static_library',
1368           'sources': [
1369             'public/test/test_mojo_service.mojom',
1370           ],
1371           'includes': [ '../third_party/mojo/mojom_bindings_generator.gypi' ],
1372         },
1373         {
1374           # GN version: //content/test:web_ui_test_mojo_bindings
1375           'target_name': 'web_ui_test_mojo_bindings',
1376           'type': 'static_library',
1377           'dependencies': [
1378             '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
1379           ],
1380           'sources': [
1381             'test/data/web_ui_test_mojo_bindings.mojom',
1382           ],
1383           'includes': [ '../third_party/mojo/mojom_bindings_generator.gypi' ],
1384           'export_dependent_settings': [
1385             '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
1386           ],
1387         },
1388         {
1389           # GN version: //content/tests:content_browsertests
1390           'target_name': 'content_browsertests',
1391           'type': '<(gtest_target_type)',
1392           'dependencies': [
1393             'browser/background_sync/background_sync_proto.gyp:background_sync_proto',
1394             'content.gyp:content_common',
1395             'content.gyp:content_gpu',
1396             'content.gyp:content_plugin',
1397             'content.gyp:content_renderer',
1398             'content.gyp:content_resources',
1399             'content_browser_test_support',
1400             'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
1401             'content_shell_lib',
1402             'content_shell_pak',
1403             'test_support_content',
1404             'web_ui_test_mojo_bindings',
1405             '../base/base.gyp:test_support_base',
1406             '../device/battery/battery.gyp:device_battery',
1407             '../device/battery/battery.gyp:device_battery_mojo_bindings',
1408             '../gin/gin.gyp:gin',
1409             '../gpu/gpu.gyp:gpu',
1410             '../ipc/ipc.gyp:test_support_ipc',
1411             '../media/media.gyp:media_test_support',
1412             '../media/media.gyp:shared_memory_support',
1413             '../mojo/mojo_base.gyp:mojo_application_base',
1414             '../mojo/mojo_base.gyp:mojo_environment_chromium',
1415             '../mojo/mojo_base.gyp:mojo_test_support',
1416             '../net/net.gyp:net_test_support',
1417             '../ppapi/ppapi_internal.gyp:ppapi_host',
1418             '../ppapi/ppapi_internal.gyp:ppapi_ipc',
1419             '../ppapi/ppapi_internal.gyp:ppapi_proxy',
1420             '../ppapi/ppapi_internal.gyp:ppapi_shared',
1421             '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
1422             '../testing/gmock.gyp:gmock',
1423             '../testing/gtest.gyp:gtest',
1424             '../third_party/WebKit/public/blink.gyp:blink',
1425             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1426             '../third_party/mesa/mesa.gyp:osmesa',
1427             '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
1428             '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
1429             '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
1430             '../third_party/mojo/mojo_public.gyp:mojo_js_bindings',
1431             '../third_party/zlib/zlib.gyp:zlib',
1432             '../ui/accessibility/accessibility.gyp:accessibility',
1433             '../ui/base/ui_base.gyp:ui_base',
1434             '../ui/gfx/gfx.gyp:gfx',
1435             '../ui/gfx/gfx.gyp:gfx_geometry',
1436             '../ui/gl/gl.gyp:gl',
1437             '../ui/gl/gl.gyp:gl_test_support',
1438             '../ui/resources/ui_resources.gyp:ui_resources',
1439             '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
1440             '../ui/snapshot/snapshot.gyp:snapshot',
1441             '../ui/accessibility/accessibility.gyp:ax_gen',
1442           ],
1443           'include_dirs': [
1444             '..',
1445             '<(SHARED_INTERMEDIATE_DIR)',  # Needed by encrypted_media_browsertest.cc
1446           ],
1447           'includes': [
1448             'browser/gpu/test_support_gpu.gypi',
1449           ],
1450           'defines': [
1451             'HAS_OUT_OF_PROC_TEST_RUNNER',
1452           ],
1453           'sources': [ '<@(content_browsertests_sources)' ],
1454           'conditions': [
1455             ['OS=="win"', {
1456               'resource_include_dirs': [
1457                 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1458               ],
1459               'sources': [
1460                 '<@(content_browsertests_win_sources)',
1461                 'shell/app/resource.h',
1462                 'shell/app/shell.rc',
1463               ],
1464               'dependencies': [
1465                 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
1466                 '<(DEPTH)/net/net.gyp:net_resources',
1467                 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
1468                 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1469                 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1470               ],
1471               'configurations': {
1472                 'Debug_Base': {
1473                   'msvs_settings': {
1474                     'VCLinkerTool': {
1475                       'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1476                     },
1477                   },
1478                 },
1479               },
1480               # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1481               'msvs_disabled_warnings': [ 4267, ],
1482             }],
1483             ['OS=="win" and win_use_allocator_shim==1', {
1484               'dependencies': [
1485                 '../base/allocator/allocator.gyp:allocator',
1486               ],
1487             }],
1488             ['OS=="linux"', {
1489               'sources!': [
1490                 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1491               ],
1492             }],
1493             ['OS=="android"', {
1494               'sources': [ '<@(content_browsertests_android_sources)' ],
1495               'sources!': [
1496                 'browser/battery_status/battery_monitor_impl_browsertest.cc',
1497               ],
1498               'dependencies': [
1499                 'content_shell_jni_headers',
1500                 'content_shell_lib',
1501                 '../testing/android/native_test.gyp:native_test_support',
1502               ],
1503             }],
1504             ['OS=="mac"', {
1505               'dependencies': [
1506                 'content_shell',  # Needed for Content Shell.app's Helper.
1507               ],
1508               'sources': [
1509                 'renderer/external_popup_menu_browsertest.cc',
1510               ],
1511             }],
1512             ['use_aura==1 or toolkit_views==1', {
1513               'dependencies': [
1514                 '../ui/events/events.gyp:events_test_support',
1515               ],
1516             }],
1517             ['use_aura!=1 and OS!="mac"', {
1518               'sources!' :[
1519                 'browser/compositor/image_transport_factory_browsertest.cc',
1520               ],
1521             }],
1522             ['use_aura==1', {
1523               'dependencies': [
1524                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection',
1525                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_test_support',
1526               ]}, {
1527               'sources!': [
1528                 'browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc',
1529               ],
1530             }],
1531             ['enable_webrtc==1', {
1532               'sources': [ '<@(content_browsertests_webrtc_sources)' ],
1533               'dependencies': [
1534                 '../testing/perf/perf_test.gyp:perf_test',
1535               ],
1536             }],
1537             ['enable_plugins==1', {
1538               'sources': [ '<@(content_browsertests_plugins_sources)' ],
1539               'dependencies': [
1540                 '../ppapi/ppapi_internal.gyp:ppapi_tests',
1541               ]
1542             }],
1543             ['enable_web_speech == 1', {
1544               'sources': [ '<@(content_browsertests_speech_sources)' ],
1545             }],
1546             ['branding != "Chrome"', {
1547               'sources': [ '<@(content_browsertests_unofficial_build_sources)' ],
1548             }],
1549           ],
1550         },
1551         {
1552           # GN version: //content/test:content_gl_tests
1553           'target_name': 'content_gl_tests',
1554           'type': '<(gtest_target_type)',
1555           'dependencies': [
1556             'content.gyp:content_common',
1557             'test_support_content',
1558             '../base/base.gyp:test_support_base',
1559             '../gpu/gpu.gyp:command_buffer_common',
1560             '../testing/gtest.gyp:gtest',
1561             '../third_party/WebKit/public/blink.gyp:blink',
1562             '../ui/base/ui_base.gyp:ui_base',
1563             '../ui/gfx/gfx.gyp:gfx',
1564             '../ui/gfx/gfx.gyp:gfx_geometry',
1565             '../ui/gfx/gfx.gyp:gfx_test_support',
1566             '../ui/gl/gl.gyp:gl',
1567             '../ui/gl/gl.gyp:gl_test_support',
1568             '../v8/tools/gyp/v8.gyp:v8',
1569           ],
1570           'include_dirs': [
1571             '..',
1572           ],
1573           'sources': [
1574             'common/gpu/client/gl_helper_unittest.cc',
1575             'common/gpu/client/gpu_in_process_context_tests.cc',
1576           ],
1577           'conditions': [
1578             ['OS=="android"', {
1579               'dependencies': [
1580                 '../testing/android/native_test.gyp:native_test_native_code',
1581               ],
1582             }, {
1583               'dependencies': [
1584                 # Runtime dependencis.
1585                 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1586                 '../third_party/mesa/mesa.gyp:osmesa',
1587               ],
1588             }],
1589             ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1590               'dependencies': [
1591                 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1592               ],
1593             }],
1594           ],
1595         },
1596         {
1597           # GN version: //content/test:content_gl_benchmark
1598           'target_name': 'content_gl_benchmark',
1599           'type': '<(gtest_target_type)',
1600           'dependencies': [
1601             'content.gyp:content_common',
1602             'test_support_content',
1603             '../base/base.gyp:test_support_base',
1604             '../testing/gtest.gyp:gtest',
1605             '../third_party/WebKit/public/blink.gyp:blink',
1606             '../ui/base/ui_base.gyp:ui_base',
1607             '../ui/gfx/gfx.gyp:gfx',
1608             '../ui/gfx/gfx.gyp:gfx_geometry',
1609             '../ui/gl/gl.gyp:gl',
1610             '../ui/gl/gl.gyp:gl_test_support',
1611           ],
1612           'include_dirs': [
1613             '..',
1614           ],
1615           'sources': [
1616             'common/gpu/client/gl_helper_benchmark.cc',
1617           ],
1618           'conditions': [
1619             ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1620               'dependencies': [
1621                 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1622               ],
1623             }],
1624           ],
1625         },
1626       ],
1627     }],
1628     ['chromeos==1 or OS=="win" or OS=="android"', {
1629       'targets': [
1630           {
1631             'target_name': 'video_decode_accelerator_unittest',
1632             'type': '<(gtest_target_type)',
1633             'dependencies': [
1634               '../base/base.gyp:base',
1635               '../media/media.gyp:media',
1636               '../testing/gtest.gyp:gtest',
1637               '../ui/base/ui_base.gyp:ui_base',
1638               '../ui/gfx/gfx.gyp:gfx',
1639               '../ui/gfx/gfx.gyp:gfx_test_support',
1640               '../ui/gfx/gfx.gyp:gfx_geometry',
1641               '../ui/gl/gl.gyp:gl',
1642               '../ui/gl/gl.gyp:gl_test_support',
1643               'content.gyp:content',
1644             ],
1645             'include_dirs': [
1646               '<(DEPTH)/third_party/khronos',
1647             ],
1648             'sources': [
1649               'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1650               'common/gpu/media/rendering_helper.cc',
1651               'common/gpu/media/rendering_helper.h',
1652               'common/gpu/media/video_accelerator_unittest_helpers.h',
1653               'common/gpu/media/video_decode_accelerator_unittest.cc',
1654             ],
1655             'conditions': [
1656               ['OS=="android"', {
1657                 'sources/': [
1658                   ['exclude', '^common/gpu/media/rendering_helper.h'],
1659                   ['exclude', '^common/gpu/media/rendering_helper.cc'],
1660                   ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1661                 ],
1662                 'dependencies': [
1663                   '../media/media.gyp:player_android',
1664                   '../testing/gmock.gyp:gmock',
1665                   '../testing/android/native_test.gyp:native_test_native_code',
1666                   '../gpu/gpu.gyp:gpu_unittest_utils',
1667                 ],
1668               }, {  # OS!="android"
1669                 'sources/': [
1670                   ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1671                 ],
1672               }],
1673               ['OS=="win"', {
1674                 'dependencies': [
1675                   '<(angle_path)/src/angle.gyp:libEGL',
1676                   '<(angle_path)/src/angle.gyp:libGLESv2',
1677                 ],
1678               }],
1679               ['(OS=="win" and win_use_allocator_shim==1) or '
1680                '(os_posix == 1 and OS != "android" and '
1681                ' use_allocator!="none")', {
1682                 'dependencies': [
1683                   '../base/allocator/allocator.gyp:allocator',
1684                 ],
1685               }],
1686               ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1687                 'include_dirs': [
1688                   '<(DEPTH)/third_party/libva',
1689                 ],
1690               }],
1691               ['use_x11==1', {
1692                 'dependencies': [
1693                   '../build/linux/system.gyp:x11',  # Used by rendering_helper.cc
1694                   '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1695                 ],
1696               }],
1697               ['use_ozone==1 and chromeos==1', {
1698                 'dependencies': [
1699                   '../ui/display/display.gyp:display',  # Used by rendering_helper.cc
1700                   '../ui/ozone/ozone.gyp:ozone',  # Used by rendering_helper.cc
1701                 ],
1702               }],
1703             ],
1704             # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1705             'msvs_disabled_warnings': [ 4267, ],
1706           },
1707         ]
1708     }],
1709     ['chromeos==1 and target_arch != "arm"', {
1710       'targets': [
1711           {
1712             'target_name': 'vaapi_jpeg_decoder_unittest',
1713             'type': '<(gtest_target_type)',
1714             'dependencies': [
1715               'content.gyp:content_common',
1716               '../base/base.gyp:base',
1717               '../media/media.gyp:media',
1718               '../media/media.gyp:media_test_support',
1719               '../testing/gtest.gyp:gtest',
1720             ],
1721             'sources': [
1722               'common/gpu/media/vaapi_jpeg_decoder_unittest.cc',
1723             ],
1724             'include_dirs': [
1725               '<(DEPTH)/third_party/libva',
1726             ],
1727             'conditions': [
1728               ['use_x11==1', {
1729                 'dependencies': [
1730                   '../build/linux/system.gyp:x11',
1731                 ]
1732               }, {
1733                 'dependencies': [
1734                   '../build/linux/system.gyp:libdrm',
1735                 ]
1736               }],
1737             ],
1738           }
1739         ]
1740     }],
1741     ['chromeos==1', {
1742       'targets': [
1743         {
1744           'target_name': 'video_encode_accelerator_unittest',
1745           'type': 'executable',
1746           'dependencies': [
1747             '../base/base.gyp:base',
1748             '../media/media.gyp:media',
1749             '../media/media.gyp:media_test_support',
1750             '../testing/gtest.gyp:gtest',
1751             '../ui/base/ui_base.gyp:ui_base',
1752             '../ui/gfx/gfx.gyp:gfx',
1753             '../ui/gfx/gfx.gyp:gfx_geometry',
1754             '../ui/gfx/gfx.gyp:gfx_test_support',
1755             '../ui/gl/gl.gyp:gl',
1756             '../ui/gl/gl.gyp:gl_test_support',
1757             'content.gyp:content',
1758           ],
1759           'sources': [
1760             'common/gpu/media/video_accelerator_unittest_helpers.h',
1761             'common/gpu/media/video_encode_accelerator_unittest.cc',
1762           ],
1763           'include_dirs': [
1764             '<(DEPTH)/third_party/libva',
1765             '<(DEPTH)/third_party/libyuv',
1766           ],
1767           'conditions': [
1768             ['use_x11==1', {
1769               'dependencies': [
1770                 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1771               ],
1772             }],
1773             ['use_ozone==1', {
1774               'dependencies': [
1775                 '../ui/ozone/ozone.gyp:ozone',
1776               ],
1777             }],
1778           ],
1779         },
1780         {
1781           'target_name': 'jpeg_decode_accelerator_unittest',
1782           'type': 'executable',
1783           'dependencies': [
1784             '../base/base.gyp:base',
1785             '../media/media.gyp:media',
1786             '../media/media.gyp:media_test_support',
1787             '../testing/gtest.gyp:gtest',
1788             '../third_party/libyuv/libyuv.gyp:libyuv',
1789             '../ui/gfx/gfx.gyp:gfx',
1790             '../ui/gfx/gfx.gyp:gfx_geometry',
1791             '../ui/gl/gl.gyp:gl',
1792             '../ui/gl/gl.gyp:gl_test_support',
1793             'content.gyp:content',
1794           ],
1795           'sources': [
1796             'common/gpu/media/jpeg_decode_accelerator_unittest.cc',
1797           ],
1798           'include_dirs': [
1799             '<(DEPTH)/third_party/libva',
1800             '<(DEPTH)/third_party/libyuv',
1801           ],
1802         }
1803       ]
1804     }],
1805     ['OS == "android"', {
1806       'targets': [
1807         {
1808           # TODO(GN)
1809           'target_name': 'content_gl_tests_apk',
1810           'type': 'none',
1811           'dependencies': [
1812             'content_gl_tests',
1813             'content_java_test_support',
1814           ],
1815           'variables': {
1816             'test_suite_name': 'content_gl_tests',
1817           },
1818           'includes': [
1819             '../build/apk_test.gypi',
1820           ],
1821         },
1822         {
1823           # TODO(GN)
1824           'target_name': 'content_unittests_apk',
1825           'type': 'none',
1826           'dependencies': [
1827             'content.gyp:content_java',
1828             'content_unittests',
1829           ],
1830           'conditions': [
1831             ['v8_use_external_startup_data==1', {
1832               'dependencies': [
1833                 '../v8/tools/gyp/v8.gyp:v8_external_snapshot',
1834               ],
1835               'copies': [
1836                 {
1837                 'destination': '<(asset_location)',
1838                   'files': [
1839                     '<(PRODUCT_DIR)/natives_blob.bin',
1840                     '<(PRODUCT_DIR)/snapshot_blob.bin',
1841                   ],
1842                 },
1843               ],
1844             }],
1845           ],
1846           'variables': {
1847             'test_suite_name': 'content_unittests',
1848             'isolate_file': 'content_unittests.isolate',
1849             'conditions': [
1850               ['v8_use_external_startup_data==1', {
1851                 'asset_location': '<(PRODUCT_DIR)/content_unittests_apk/assets',
1852                 'additional_input_paths': [
1853                   '<(PRODUCT_DIR)/content_unittests_apk/assets/natives_blob.bin',
1854                   '<(PRODUCT_DIR)/content_unittests_apk/assets/snapshot_blob.bin',
1855                 ],
1856                 'inputs': [
1857                   '<(PRODUCT_DIR)/natives_blob.bin',
1858                   '<(PRODUCT_DIR)/snapshot_blob.bin',
1859                 ],
1860               }],
1861             ],
1862           },
1863           'includes': [ '../build/apk_test.gypi' ],
1864         },
1865         {
1866           'target_name': 'content_shell_browsertests_java',
1867           'type': 'none',
1868           'dependencies': [
1869             'content.gyp:content_java',
1870             'content_shell_java',
1871             '../base/base.gyp:base_java',
1872             '../testing/android/native_test.gyp:native_test_java',
1873             '../ui/android/ui_android.gyp:ui_java',
1874           ],
1875           'variables': {
1876             'java_in_dir': 'shell/android/browsertests',
1877           },
1878           'includes': [ '../build/java.gypi' ],
1879         },
1880         {
1881           # TODO(GN)
1882           'target_name': 'content_browsertests_manifest',
1883           'type': 'none',
1884           'variables': {
1885             'jinja_inputs': ['shell/android/browsertests_apk/AndroidManifest.xml.jinja2'],
1886             'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_manifest/AndroidManifest.xml',
1887           },
1888           'includes': [ '../build/android/jinja_template.gypi' ],
1889         },
1890         {
1891           # TODO(GN)
1892           'target_name': 'content_browsertests_apk',
1893           'type': 'none',
1894           'dependencies': [
1895             'content.gyp:content_icudata',
1896             'content.gyp:content_java',
1897             'content.gyp:content_v8_external_data',
1898             'content_browsertests',
1899             'content_shell_browsertests_java',
1900             'content_java_test_support',
1901             'content_shell_java',
1902           ],
1903           'variables': {
1904             'test_suite_name': 'content_browsertests',
1905             'isolate_file': 'content_browsertests.isolate',
1906             'java_in_dir': 'shell/android/browsertests_apk',
1907             'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_manifest/AndroidManifest.xml',
1908             'resource_dir': 'shell/android/browsertests_apk/res',
1909             'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1910             'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1911             'conditions': [
1912               ['icu_use_data_file_flag==1', {
1913                 'additional_input_paths': [
1914                   '<(PRODUCT_DIR)/icudtl.dat',
1915                 ],
1916               }],
1917               ['v8_use_external_startup_data==1', {
1918                 'additional_input_paths': [
1919                   '<(PRODUCT_DIR)/natives_blob.bin',
1920                   '<(PRODUCT_DIR)/snapshot_blob.bin',
1921                 ],
1922               }],
1923             ],
1924           },
1925           'includes': [ '../build/apk_browsertest.gypi' ],
1926         },
1927         {
1928           # TODO(GN)
1929           'target_name': 'content_perftests_apk',
1930           'type': 'none',
1931           'dependencies': [
1932             'content.gyp:content_java',
1933             'content_perftests',
1934           ],
1935           'variables': {
1936             'test_suite_name': 'content_perftests',
1937           },
1938           'includes': [ '../build/apk_test.gypi' ],
1939         },
1940         {
1941           # GN: //content/shell/android:chromium_linker_test_manifest
1942           'target_name': 'chromium_linker_test_manifest',
1943           'type': 'none',
1944           'variables': {
1945             'jinja_inputs': ['shell/android/linker_test_apk/AndroidManifest.xml.jinja2'],
1946             'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chromium_linker_test_manifest/AndroidManifest.xml',
1947           },
1948           'includes': [ '../build/android/jinja_template.gypi' ],
1949         },
1950         {
1951           # GN: //content/shell/android:chromium_linker_test_apk
1952           'target_name': 'chromium_linker_test_apk',
1953           'type': 'none',
1954           'conditions': [
1955             ['target_arch != "x64" and target_arch != "arm64"', {
1956               'dependencies': [
1957                 'chromium_android_linker_test',
1958                 'content.gyp:content_icudata',
1959                 'content.gyp:content_java',
1960                 'content.gyp:content_v8_external_data',
1961                 'content_shell_java',
1962               ],
1963               'variables': {
1964                 'apk_name': 'ChromiumLinkerTest',
1965                 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chromium_linker_test_manifest/AndroidManifest.xml',
1966                 'java_in_dir': 'shell/android/linker_test_apk',
1967                 'resource_dir': 'shell/android/linker_test_apk/res',
1968                 'native_lib_target': 'libchromium_android_linker_test',
1969                 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1970                 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1971                 'use_chromium_linker': '1',
1972                 'enable_chromium_linker_tests': '1',
1973                 'conditions': [
1974                   ['icu_use_data_file_flag==1', {
1975                     'additional_input_paths': [
1976                       '<(PRODUCT_DIR)/icudtl.dat',
1977                     ],
1978                   }],
1979                   ['v8_use_external_startup_data==1', {
1980                     'additional_input_paths': [
1981                       '<(PRODUCT_DIR)/natives_blob.bin',
1982                       '<(PRODUCT_DIR)/snapshot_blob.bin',
1983                     ],
1984                   }],
1985                 ],
1986               },
1987               'includes': [ '../build/java_apk.gypi' ],
1988             },
1989            ],
1990           ],
1991         },
1992         {
1993           # GN: //content/shell/android:linker_test
1994           'target_name': 'chromium_android_linker_test',
1995           'type': 'shared_library',
1996           'defines!': ['CONTENT_IMPLEMENTATION'],
1997           'dependencies': [
1998             'chromium_android_linker_test_jni_headers',
1999             'content_shell_lib',
2000             # Required to include "content/public/browser/android/compositor.h"
2001             # in chromium_linker_test_android.cc :-(
2002             '../skia/skia.gyp:skia',
2003           ],
2004           'sources': [
2005             'shell/android/linker_test_apk/chromium_linker_test_android.cc',
2006             'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc',
2007           ],
2008         },
2009         {
2010           # GN: //content/shell/android:linker_test_jni_headers
2011           'target_name': 'chromium_android_linker_test_jni_headers',
2012           'type': 'none',
2013           'sources': [
2014             'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java',
2015           ],
2016           'variables': {
2017             'jni_gen_package': 'content/shell',
2018           },
2019           'includes': [ '../build/jni_generator.gypi' ],
2020         },
2021         {
2022           # TODO(GN)
2023           'target_name': 'video_decode_accelerator_unittest_apk',
2024           'type': 'none',
2025           'dependencies': [
2026             'video_decode_accelerator_unittest',
2027           ],
2028           'variables': {
2029             'test_suite_name': 'video_decode_accelerator_unittest',
2030           },
2031           'includes': [ '../build/apk_test.gypi' ],
2032         },
2033         {
2034           # GN: //content/public/test/android:test_support_content_jni_headers
2035           'target_name': 'test_support_content_jni_headers',
2036           'type': 'none',
2037           'sources': [
2038             'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
2039           ],
2040           'variables': {
2041             'jni_gen_package': 'content/public/test',
2042           },
2043           'includes': [ '../build/jni_generator.gypi' ],
2044         },
2045         {
2046           # GN: //content/public/test/android:content_java_test_support
2047           'target_name': 'content_java_test_support',
2048           'type': 'none',
2049           'dependencies': [
2050             '../base/base.gyp:base',
2051             '../base/base.gyp:base_java_test_support',
2052             'content.gyp:content_java',
2053           ],
2054           'variables': {
2055             'java_in_dir': '../content/public/test/android/javatests',
2056           },
2057           'includes': [ '../build/java.gypi' ],
2058         },
2059         {
2060           # GN: //content/shell/android:content_shell_test_apk
2061           #     and //content/public/android:content_javatests
2062           'target_name': 'content_shell_test_apk',
2063           'type': 'none',
2064           'dependencies': [
2065             'content_java_test_support',
2066             'content_shell_apk_java',
2067             'content.gyp:content_java',
2068             '../base/base.gyp:base_java',
2069             '../base/base.gyp:base_javatests',
2070             '../base/base.gyp:base_java_test_support',
2071             '../device/battery/battery.gyp:device_battery_javatests',
2072             '../media/media.gyp:media_java',
2073             '../media/media.gyp:media_test_support',
2074             '../net/net.gyp:net_java',
2075             '../net/net.gyp:net_javatests',
2076             '../net/net.gyp:net_java_test_support',
2077             '../testing/android/on_device_instrumentation.gyp:broker_java',
2078             '../testing/android/on_device_instrumentation.gyp:require_driver_apk',
2079             '../third_party/mojo/mojo_public.gyp:mojo_public_test_interfaces',
2080           ],
2081           'variables': {
2082             'apk_name': 'ContentShellTest',
2083             'java_in_dir': 'shell/android/javatests',
2084             'resource_dir': 'shell/android/shell_apk/res',
2085             'additional_src_dirs': ['public/android/javatests/', ],
2086             'is_test_apk': 1,
2087             'test_type': 'instrumentation',
2088             'isolate_file': 'content_shell_test_apk.isolate',
2089           },
2090           'includes': [
2091             '../build/java_apk.gypi',
2092             '../build/android/test_runner.gypi',
2093           ],
2094         },
2095         {
2096           # GN: //content/public/android:content_junit_tests
2097           'target_name': 'content_junit_tests',
2098           'type': 'none',
2099           'dependencies': [
2100             'content.gyp:content_java',
2101             '../base/base.gyp:base_java',
2102             '../base/base.gyp:base_java_test_support',
2103             '../testing/android/junit/junit_test.gyp:junit_test_support',
2104           ],
2105           'variables': {
2106             'main_class': 'org.chromium.testing.local.JunitTestMain',
2107             'src_paths': [
2108               'public/android/junit/',
2109             ],
2110           },
2111           'includes': [
2112             '../build/host_jar.gypi',
2113           ],
2114         },
2115       ],
2116     }],
2117   ],