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