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