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.
7 'layouttest_support_content_sources': [
8 'public/test/layouttest_support.h',
9 'public/test/nested_message_pump_android.cc',
10 'public/test/nested_message_pump_android.h',
11 'test/layouttest_support.cc',
13 'test_support_content_sources': [
14 # TODO(phajdan.jr): All of those files should live in content/test (if
15 # they're only used by content) or content/public/test (if they're used
16 # by other embedders).
17 'browser/download/mock_download_file.cc',
18 'browser/download/mock_download_file.h',
19 'browser/geolocation/fake_access_token_store.cc',
20 'browser/geolocation/fake_access_token_store.h',
21 'browser/geolocation/mock_location_arbitrator.cc',
22 'browser/geolocation/mock_location_arbitrator.h',
23 'browser/geolocation/mock_location_provider.cc',
24 'browser/geolocation/mock_location_provider.h',
25 'public/test/async_file_test_helper.cc',
26 'public/test/async_file_test_helper.h',
27 'public/test/browser_test.h',
28 'public/test/browser_test_base.cc',
29 'public/test/browser_test_base.h',
30 'public/test/browser_test_utils.cc',
31 'public/test/browser_test_utils.h',
32 'public/test/content_test_suite_base.cc',
33 'public/test/content_test_suite_base.h',
34 'public/test/download_test_observer.cc',
35 'public/test/download_test_observer.h',
36 'public/test/fake_speech_recognition_manager.cc',
37 'public/test/fake_speech_recognition_manager.h',
38 'public/test/frame_load_waiter.cc',
39 'public/test/frame_load_waiter.h',
40 'public/test/javascript_test_observer.cc',
41 'public/test/javascript_test_observer.h',
42 'public/test/mock_blob_url_request_context.cc',
43 'public/test/mock_blob_url_request_context.h',
44 'public/test/mock_download_item.cc',
45 'public/test/mock_download_item.h',
46 'public/test/mock_download_manager.cc',
47 'public/test/mock_download_manager.h',
48 'public/test/mock_notification_observer.cc',
49 'public/test/mock_notification_observer.h',
50 'public/test/mock_render_process_host.cc',
51 'public/test/mock_render_process_host.h',
52 'public/test/mock_render_thread.cc',
53 'public/test/mock_render_thread.h',
54 'public/test/mock_resource_context.cc',
55 'public/test/mock_resource_context.h',
56 'public/test/mock_special_storage_policy.cc',
57 'public/test/mock_special_storage_policy.h',
58 'public/test/mock_storage_client.cc',
59 'public/test/mock_storage_client.h',
60 'public/test/ppapi_test_utils.cc',
61 'public/test/ppapi_test_utils.h',
62 'public/test/render_view_test.cc',
63 'public/test/render_view_test.h',
64 'public/test/render_widget_test.cc',
65 'public/test/render_widget_test.h',
66 'public/test/sandbox_file_system_test_helper.cc',
67 'public/test/sandbox_file_system_test_helper.h',
68 'public/test/test_browser_context.cc',
69 'public/test/test_browser_context.h',
70 'public/test/test_browser_thread.cc',
71 'public/test/test_browser_thread.h',
72 'public/test/test_browser_thread_bundle.cc',
73 'public/test/test_browser_thread_bundle.h',
74 'public/test/test_content_client_initializer.cc',
75 'public/test/test_content_client_initializer.h',
76 'public/test/test_file_error_injector.cc',
77 'public/test/test_file_error_injector.h',
78 'public/test/test_file_system_backend.cc',
79 'public/test/test_file_system_backend.h',
80 'public/test/test_file_system_context.cc',
81 'public/test/test_file_system_context.h',
82 'public/test/test_file_system_options.cc',
83 'public/test/test_file_system_options.h',
84 'public/test/test_launcher.cc',
85 'public/test/test_launcher.h',
86 'public/test/test_navigation_observer.cc',
87 'public/test/test_navigation_observer.h',
88 'public/test/test_notification_tracker.cc',
89 'public/test/test_notification_tracker.h',
90 'public/test/test_renderer_host.cc',
91 'public/test/test_renderer_host.h',
92 'public/test/test_synchronous_compositor_android.cc',
93 'public/test/test_synchronous_compositor_android.h',
94 'public/test/test_utils.cc',
95 'public/test/test_utils.h',
96 'public/test/test_web_contents_factory.h',
97 'public/test/unittest_test_suite.cc',
98 'public/test/unittest_test_suite.h',
99 'public/test/web_contents_tester.cc',
100 'public/test/web_contents_tester.h',
101 'test/appcache_test_helper.cc',
102 'test/appcache_test_helper.h',
103 'test/blink_test_environment.cc',
104 'test/blink_test_environment.h',
105 'test/browser_side_navigation_test_utils.cc',
106 'test/browser_side_navigation_test_utils.h',
107 'test/content_browser_sanity_checker.cc',
108 'test/content_browser_sanity_checker.h',
109 'test/content_browser_test_utils_internal.cc',
110 'test/content_browser_test_utils_internal.h',
111 'test/content_test_suite.cc',
112 'test/content_test_suite.h',
113 'test/fake_compositor_dependencies.cc',
114 'test/fake_compositor_dependencies.h',
115 'test/fake_plugin_service.cc',
116 'test/fake_plugin_service.h',
117 'test/fake_renderer_scheduler.cc',
118 'test/fake_renderer_scheduler.h',
119 'test/mock_google_streaming_server.cc',
120 'test/mock_google_streaming_server.h',
121 'test/mock_keyboard.cc',
122 'test/mock_keyboard.h',
123 'test/mock_keyboard_driver_win.cc',
124 'test/mock_keyboard_driver_win.h',
125 'test/mock_render_process.cc',
126 'test/mock_render_process.h',
127 'test/mock_webblob_registry_impl.cc',
128 'test/mock_webblob_registry_impl.h',
129 'test/mock_webclipboard_impl.cc',
130 'test/mock_webclipboard_impl.h',
131 'test/mock_webframeclient.h',
132 'test/mock_weburlloader.cc',
133 'test/mock_weburlloader.h',
134 'test/net/url_request_abort_on_end_job.cc',
135 'test/net/url_request_abort_on_end_job.h',
136 'test/ppapi_unittest.cc',
137 'test/ppapi_unittest.h',
138 'test/render_thread_impl_browser_test_ipc_helper.cc',
139 'test/render_thread_impl_browser_test_ipc_helper.h',
140 'test/test_blink_web_unit_test_support.cc',
141 'test/test_blink_web_unit_test_support.h',
142 'test/test_content_browser_client.cc',
143 'test/test_content_browser_client.h',
144 'test/test_content_client.cc',
145 'test/test_content_client.h',
146 'test/test_frame_navigation_observer.cc',
147 'test/test_frame_navigation_observer.h',
148 'test/test_navigation_url_loader.cc',
149 'test/test_navigation_url_loader.h',
150 'test/test_navigation_url_loader_factory.cc',
151 'test/test_navigation_url_loader_factory.h',
152 'test/test_render_frame_host.cc',
153 'test/test_render_frame_host.h',
154 'test/test_render_frame_host_factory.cc',
155 'test/test_render_frame_host_factory.h',
156 'test/test_render_view_host.cc',
157 'test/test_render_view_host.h',
158 'test/test_render_view_host_factory.cc',
159 'test/test_render_view_host_factory.h',
160 'test/test_web_contents.cc',
161 'test/test_web_contents.h',
162 'test/test_web_contents_factory.cc',
163 'test/web_contents_observer_sanity_checker.cc',
164 'test/web_contents_observer_sanity_checker.h',
165 'test/web_gesture_curve_mock.cc',
166 'test/web_gesture_curve_mock.h',
167 'test/web_layer_tree_view_impl_for_testing.cc',
168 'test/web_layer_tree_view_impl_for_testing.h',
169 'test/weburl_loader_mock.cc',
170 'test/weburl_loader_mock.h',
171 'test/weburl_loader_mock_factory.cc',
172 'test/weburl_loader_mock_factory.h',
174 'content_browsertests_sources': [
175 'app/mojo/mojo_browsertest.cc',
176 'browser/accessibility/accessibility_event_recorder.cc',
177 'browser/accessibility/accessibility_event_recorder.h',
178 'browser/accessibility/accessibility_event_recorder_mac.mm',
179 'browser/accessibility/accessibility_event_recorder_win.cc',
180 'browser/accessibility/accessibility_ipc_error_browsertest.cc',
181 'browser/accessibility/accessibility_mode_browsertest.cc',
182 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
183 'browser/accessibility/dump_accessibility_browsertest_base.cc',
184 'browser/accessibility/dump_accessibility_browsertest_base.h',
185 'browser/accessibility/dump_accessibility_events_browsertest.cc',
186 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
187 'browser/accessibility/site_per_process_accessibility_browsertest.cc',
188 'browser/accessibility/snapshot_ax_tree_browsertest.cc',
189 'browser/battery_status/battery_monitor_impl_browsertest.cc',
190 'browser/battery_status/battery_monitor_integration_browsertest.cc',
191 'browser/bookmarklet_browsertest.cc',
192 'browser/browser_side_navigation_browsertest.cc',
193 'browser/child_process_launcher_browsertest.cc',
194 'browser/child_process_security_policy_browsertest.cc',
195 'browser/compositor/image_transport_factory_browsertest.cc',
196 'browser/cross_site_transfer_browsertest.cc',
197 'browser/database_browsertest.cc',
198 'browser/device_sensors/device_inertial_sensor_browsertest.cc',
199 'browser/devtools/protocol/devtools_protocol_browsertest.cc',
200 'browser/devtools/site_per_process_devtools_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/navigation_controller_impl_browsertest.cc',
209 'browser/frame_host/render_frame_host_impl_browsertest.cc',
210 'browser/frame_host/render_frame_host_manager_browsertest.cc',
211 'browser/gpu/gpu_ipc_browsertests.cc',
212 'browser/host_zoom_map_impl_browsertest.cc',
213 'browser/indexed_db/indexed_db_browsertest.cc',
214 'browser/indexed_db/mock_browsertest_indexed_db_class_factory.cc',
215 'browser/indexed_db/mock_browsertest_indexed_db_class_factory.h',
216 'browser/loader/resource_dispatcher_host_browsertest.cc',
217 'browser/manifest/manifest_browsertest.cc',
218 'browser/media/android/media_session_browsertest.cc',
219 'browser/media/encrypted_media_browsertest.cc',
220 'browser/media/media_browsertest.cc',
221 'browser/media/media_browsertest.h',
222 'browser/media/media_canplaytype_browsertest.cc',
223 'browser/media/media_source_browsertest.cc',
224 'browser/message_port_provider_browsertest.cc',
225 'browser/net_info_browsertest.cc',
226 'browser/plugin_browsertest.cc',
227 'browser/renderer_host/input/touch_action_browsertest.cc',
228 'browser/renderer_host/input/touch_input_browsertest.cc',
229 'browser/renderer_host/render_process_host_browsertest.cc',
230 'browser/renderer_host/render_view_host_browsertest.cc',
231 'browser/renderer_host/render_widget_host_view_browsertest.cc',
232 'browser/screen_orientation/screen_orientation_browsertest.cc',
233 'browser/security_exploit_browsertest.cc',
234 'browser/service_worker/service_worker_browsertest.cc',
235 'browser/session_history_browsertest.cc',
236 'browser/shared_worker/worker_browsertest.cc',
237 'browser/site_per_process_browsertest.cc',
238 'browser/site_per_process_browsertest.h',
239 'browser/tracing/background_tracing_manager_browsertest.cc',
240 'browser/tracing/tracing_controller_browsertest.cc',
241 'browser/web_contents/opened_by_dom_browsertest.cc',
242 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
243 'browser/web_contents/web_contents_impl_browsertest.cc',
244 'browser/web_contents/web_contents_view_aura_browsertest.cc',
245 'browser/webkit_browsertest.cc',
246 'browser/webui/web_ui_mojo_browsertest.cc',
247 'child/child_thread_impl_browsertest.cc',
248 'child/site_isolation_policy_browsertest.cc',
249 'renderer/accessibility/renderer_accessibility_browsertest.cc',
250 'renderer/devtools/v8_sampling_profiler_browsertest.cc',
251 'renderer/gin_browsertest.cc',
252 'renderer/mouse_lock_dispatcher_browsertest.cc',
253 'renderer/render_frame_impl_browsertest.cc',
254 'renderer/render_thread_impl_browsertest.cc',
255 'renderer/render_view_browsertest.cc',
256 'renderer/render_view_browsertest_mac.mm',
257 'renderer/render_widget_browsertest.cc',
258 'renderer/visual_state_browsertest.cc',
259 'test/accessibility_browser_test_utils.cc',
260 'test/accessibility_browser_test_utils.h',
261 'test/browser_test_utils_browsertest.cc',
262 'test/content_browser_test_test.cc',
263 'test/webui_resource_browsertest.cc',
266 'content_browsertests_android_sources': [
267 'browser/accessibility/android_granularity_movement_browsertest.cc',
268 'browser/accessibility/android_hit_testing_browsertest.cc',
269 'shell/android/browsertests_apk/content_browser_tests_jni_onload.cc',
271 'content_browsertests_webrtc_sources': [
272 'browser/media/webrtc_aecdump_browsertest.cc',
273 'browser/media/webrtc_browsertest.cc',
274 'browser/media/webrtc_getusermedia_browsertest.cc',
275 'browser/media/webrtc_internals_browsertest.cc',
276 'browser/media/webrtc_webcam_browsertest.cc',
277 'test/webrtc_content_browsertest_base.cc',
278 'test/webrtc_content_browsertest_base.h',
280 'content_browsertests_plugins_sources': [
281 'browser/plugin_data_remover_impl_browsertest.cc',
282 'browser/plugin_service_impl_browsertest.cc',
283 'renderer/pepper/fake_pepper_plugin_instance.cc',
284 'renderer/pepper/mock_renderer_ppapi_host.cc',
285 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
286 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
287 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
288 'renderer/pepper/pepper_url_request_unittest.cc',
289 'renderer/pepper/pepper_webplugin_impl_browsertest.cc',
290 'renderer/pepper/plugin_power_saver_helper_browsertest.cc',
291 'test/ppapi/ppapi_browsertest.cc',
292 'test/ppapi/ppapi_test.cc',
293 'test/ppapi/ppapi_test.h',
295 'content_browsertests_speech_sources': [
296 'browser/speech/speech_recognition_browsertest.cc',
298 'content_browsertests_unofficial_build_sources': [
299 # These tests depend on single process mode, which is disabled
300 # in official builds.
301 'renderer/browser_render_view_browsertest.cc',
302 'renderer/dom_serializer_browsertest.cc',
303 'renderer/resource_fetcher_browsertest.cc',
304 'renderer/savable_resources_browsertest.cc',
306 'content_browsertests_win_sources': [
307 'browser/accessibility/accessibility_win_browsertest.cc',
309 'content_unittests_sources': [
310 'browser/accessibility/accessibility_mode_helper_unittest.cc',
311 'browser/accessibility/browser_accessibility_mac_unittest.mm',
312 'browser/accessibility/browser_accessibility_manager_unittest.cc',
313 'browser/accessibility/browser_accessibility_win_unittest.cc',
314 'browser/accessibility/one_shot_accessibility_tree_search_unittest.cc',
315 'browser/appcache/appcache_database_unittest.cc',
316 'browser/appcache/appcache_disk_cache_unittest.cc',
317 'browser/appcache/appcache_group_unittest.cc',
318 'browser/appcache/appcache_host_unittest.cc',
319 'browser/appcache/appcache_manifest_parser_unittest.cc',
320 'browser/appcache/appcache_quota_client_unittest.cc',
321 'browser/appcache/appcache_request_handler_unittest.cc',
322 'browser/appcache/appcache_response_unittest.cc',
323 'browser/appcache/appcache_service_unittest.cc',
324 'browser/appcache/appcache_storage_impl_unittest.cc',
325 'browser/appcache/appcache_storage_unittest.cc',
326 'browser/appcache/appcache_unittest.cc',
327 'browser/appcache/appcache_update_job_unittest.cc',
328 'browser/appcache/appcache_url_request_job_unittest.cc',
329 'browser/appcache/chrome_appcache_service_unittest.cc',
330 'browser/appcache/mock_appcache_policy.cc',
331 'browser/appcache/mock_appcache_policy.h',
332 'browser/appcache/mock_appcache_service.cc',
333 'browser/appcache/mock_appcache_service.h',
334 'browser/appcache/mock_appcache_storage.cc',
335 'browser/appcache/mock_appcache_storage.h',
336 'browser/appcache/mock_appcache_storage_unittest.cc',
337 'browser/background_sync/background_sync_manager_unittest.cc',
338 'browser/background_sync/background_sync_network_observer_unittest.cc',
339 'browser/background_sync/background_sync_power_observer_unittest.cc',
340 'browser/background_sync/background_sync_service_impl_unittest.cc',
341 'browser/browser_thread_unittest.cc',
342 'browser/browser_url_handler_impl_unittest.cc',
343 'browser/byte_stream_unittest.cc',
344 'browser/cache_storage/cache_storage_cache_unittest.cc',
345 'browser/cache_storage/cache_storage_manager_unittest.cc',
346 'browser/cache_storage/cache_storage_scheduler_unittest.cc',
347 'browser/child_process_security_policy_unittest.cc',
348 'browser/cocoa/system_hotkey_map_unittest.mm',
349 'browser/compositor/buffer_queue_unittest.cc',
350 'browser/compositor/reflector_impl_unittest.cc',
351 'browser/compositor/software_browser_compositor_output_surface_unittest.cc',
352 'browser/compositor/software_output_device_ozone_unittest.cc',
353 'browser/database_quota_client_unittest.cc',
354 'browser/database_tracker_unittest.cc',
355 'browser/database_util_unittest.cc',
356 'browser/databases_table_unittest.cc',
357 'browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc',
358 'browser/device_sensors/sensor_manager_android_unittest.cc',
359 'browser/device_sensors/sensor_manager_chromeos_unittest.cc',
360 'browser/devtools/devtools_manager_unittest.cc',
361 'browser/devtools/shared_worker_devtools_manager_unittest.cc',
362 'browser/dom_storage/dom_storage_area_unittest.cc',
363 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
364 'browser/dom_storage/dom_storage_database_unittest.cc',
365 'browser/dom_storage/session_storage_database_unittest.cc',
366 'browser/download/base_file_unittest.cc',
367 'browser/download/download_file_unittest.cc',
368 'browser/download/download_item_impl_unittest.cc',
369 'browser/download/download_manager_impl_unittest.cc',
370 'browser/download/file_metadata_unittest_linux.cc',
371 'browser/download/rate_estimator_unittest.cc',
372 'browser/download/save_package_unittest.cc',
373 'browser/fileapi/blob_storage_context_unittest.cc',
374 'browser/fileapi/blob_url_request_job_unittest.cc',
375 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
376 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
377 'browser/fileapi/dragged_file_util_unittest.cc',
378 'browser/fileapi/external_mount_points_unittest.cc',
379 'browser/fileapi/file_system_context_unittest.cc',
380 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
381 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
382 'browser/fileapi/file_system_operation_impl_unittest.cc',
383 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
384 'browser/fileapi/file_system_operation_runner_unittest.cc',
385 'browser/fileapi/file_system_quota_client_unittest.cc',
386 'browser/fileapi/file_system_url_request_job_unittest.cc',
387 'browser/fileapi/file_system_url_unittest.cc',
388 'browser/fileapi/file_system_usage_cache_unittest.cc',
389 'browser/fileapi/file_writer_delegate_unittest.cc',
390 'browser/fileapi/fileapi_message_filter_unittest.cc',
391 'browser/fileapi/isolated_context_unittest.cc',
392 'browser/fileapi/local_file_stream_reader_unittest.cc',
393 'browser/fileapi/local_file_stream_writer_unittest.cc',
394 'browser/fileapi/local_file_util_unittest.cc',
395 'browser/fileapi/mock_file_change_observer.cc',
396 'browser/fileapi/mock_file_change_observer.h',
397 'browser/fileapi/mock_file_update_observer.cc',
398 'browser/fileapi/mock_file_update_observer.h',
399 'browser/fileapi/mock_url_request_delegate.cc',
400 'browser/fileapi/mock_url_request_delegate.h',
401 'browser/fileapi/native_file_util_unittest.cc',
402 'browser/fileapi/obfuscated_file_util_unittest.cc',
403 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
404 'browser/fileapi/recursive_operation_delegate_unittest.cc',
405 'browser/fileapi/sandbox_database_test_helper.cc',
406 'browser/fileapi/sandbox_database_test_helper.h',
407 'browser/fileapi/sandbox_directory_database_unittest.cc',
408 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
409 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
410 'browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
411 'browser/fileapi/sandbox_origin_database_unittest.cc',
412 'browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
413 'browser/fileapi/timed_task_helper_unittest.cc',
414 'browser/fileapi/transient_file_util_unittest.cc',
415 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
416 'browser/frame_host/frame_tree_unittest.cc',
417 'browser/frame_host/navigation_controller_impl_unittest.cc',
418 'browser/frame_host/navigation_entry_impl_unittest.cc',
419 'browser/frame_host/navigator_impl_unittest.cc',
420 'browser/frame_host/render_frame_host_manager_unittest.cc',
421 'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
422 'browser/frame_host/render_widget_host_view_guest_unittest.cc',
423 'browser/gamepad/gamepad_provider_unittest.cc',
424 'browser/gamepad/gamepad_service_unittest.cc',
425 'browser/gamepad/gamepad_test_helpers.cc',
426 'browser/gamepad/gamepad_test_helpers.h',
427 'browser/geofencing/geofencing_manager_unittest.cc',
428 'browser/geofencing/geofencing_service_unittest.cc',
429 'browser/geolocation/geolocation_provider_impl_unittest.cc',
430 'browser/geolocation/location_arbitrator_impl_unittest.cc',
431 'browser/geolocation/network_location_provider_unittest.cc',
432 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
433 'browser/geolocation/wifi_data_provider_common_unittest.cc',
434 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
435 'browser/geolocation/wifi_data_provider_win_unittest.cc',
436 'browser/gpu/gpu_data_manager_impl_private_unittest.cc',
437 'browser/gpu/shader_disk_cache_unittest.cc',
438 'browser/host_zoom_map_impl_unittest.cc',
439 'browser/indexed_db/indexed_db_active_blob_registry_unittest.cc',
440 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
441 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
442 'browser/indexed_db/indexed_db_database_unittest.cc',
443 'browser/indexed_db/indexed_db_factory_unittest.cc',
444 'browser/indexed_db/indexed_db_fake_backing_store.cc',
445 'browser/indexed_db/indexed_db_fake_backing_store.h',
446 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
447 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
448 'browser/indexed_db/indexed_db_transaction_unittest.cc',
449 'browser/indexed_db/indexed_db_unittest.cc',
450 'browser/indexed_db/leveldb/leveldb_unittest.cc',
451 'browser/indexed_db/leveldb/mock_leveldb_factory.cc',
452 'browser/indexed_db/leveldb/mock_leveldb_factory.h',
453 'browser/indexed_db/list_set_unittest.cc',
454 'browser/indexed_db/mock_indexed_db_callbacks.cc',
455 'browser/indexed_db/mock_indexed_db_callbacks.h',
456 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
457 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
458 'browser/indexed_db/mock_indexed_db_factory.cc',
459 'browser/indexed_db/mock_indexed_db_factory.h',
460 'browser/loader/buffered_resource_handler_unittest.cc',
461 'browser/loader/navigation_url_loader_unittest.cc',
462 'browser/loader/resource_buffer_unittest.cc',
463 'browser/loader/resource_dispatcher_host_unittest.cc',
464 'browser/loader/resource_loader_unittest.cc',
465 'browser/loader/resource_scheduler_unittest.cc',
466 'browser/loader/temporary_file_stream_unittest.cc',
467 'browser/loader/upload_data_stream_builder_unittest.cc',
468 'browser/mach_broker_mac_unittest.cc',
469 'browser/media/audio_stream_monitor_unittest.cc',
470 'browser/media/capture/animated_content_sampler_unittest.cc',
471 'browser/media/capture/audio_mirroring_manager_unittest.cc',
472 'browser/media/capture/capture_resolution_chooser_unittest.cc',
473 'browser/media/capture/feedback_signal_accumulator_unittest.cc',
474 'browser/media/capture/smooth_event_sampler_unittest.cc',
475 'browser/media/capture/video_capture_oracle_unittest.cc',
476 'browser/media/capture/web_contents_audio_input_stream_unittest.cc',
477 'browser/media/capture/web_contents_video_capture_device_unittest.cc',
478 'browser/media/media_internals_unittest.cc',
479 'browser/media/midi_host_unittest.cc',
480 'browser/media/webrtc_identity_store_unittest.cc',
481 'browser/net/quota_policy_cookie_store_unittest.cc',
482 'browser/notification_service_impl_unittest.cc',
483 'browser/notifications/notification_database_data_unittest.cc',
484 'browser/notifications/notification_database_unittest.cc',
485 'browser/notifications/notification_id_generator_unittest.cc',
486 'browser/notifications/platform_notification_context_unittest.cc',
487 'browser/power_monitor_message_broadcaster_unittest.cc',
488 'browser/power_profiler/power_profiler_service_unittest.cc',
489 'browser/power_usage_monitor_impl_unittest.cc',
490 'browser/presentation/presentation_service_impl_unittest.cc',
491 'browser/presentation/presentation_type_converters_unittest.cc',
492 'browser/quota/mock_quota_manager.cc',
493 'browser/quota/mock_quota_manager.h',
494 'browser/quota/mock_quota_manager_proxy.cc',
495 'browser/quota/mock_quota_manager_proxy.h',
496 'browser/quota/mock_quota_manager_unittest.cc',
497 'browser/quota/quota_backend_impl_unittest.cc',
498 'browser/quota/quota_database_unittest.cc',
499 'browser/quota/quota_manager_unittest.cc',
500 'browser/quota/quota_reservation_manager_unittest.cc',
501 'browser/quota/quota_temporary_storage_evictor_unittest.cc',
502 'browser/quota/storage_monitor_unittest.cc',
503 'browser/quota/usage_tracker_unittest.cc',
504 'browser/renderer_host/begin_frame_observer_proxy_unittest.cc',
505 'browser/renderer_host/clipboard_message_filter_unittest.cc',
506 'browser/renderer_host/input/gesture_event_queue_unittest.cc',
507 'browser/renderer_host/input/input_router_impl_unittest.cc',
508 'browser/renderer_host/input/mock_input_ack_handler.cc',
509 'browser/renderer_host/input/mock_input_ack_handler.h',
510 'browser/renderer_host/input/mock_input_router_client.cc',
511 'browser/renderer_host/input/mock_input_router_client.h',
512 'browser/renderer_host/input/mouse_wheel_rails_filter_unittest_mac.cc',
513 'browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc',
514 'browser/renderer_host/input/stylus_text_selector_unittest.cc',
515 'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
516 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
517 'browser/renderer_host/input/touch_action_filter_unittest.cc',
518 'browser/renderer_host/input/touch_emulator_unittest.cc',
519 'browser/renderer_host/input/touch_event_queue_unittest.cc',
520 'browser/renderer_host/input/web_input_event_unittest.cc',
521 'browser/renderer_host/input/web_input_event_util_unittest.cc',
522 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
523 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
524 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
525 'browser/renderer_host/media/media_stream_manager_unittest.cc',
526 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
527 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
528 'browser/renderer_host/media/video_capture_controller_unittest.cc',
529 'browser/renderer_host/media/video_capture_host_unittest.cc',
530 'browser/renderer_host/media/video_capture_manager_unittest.cc',
531 'browser/renderer_host/render_process_host_unittest.cc',
532 'browser/renderer_host/render_view_host_unittest.cc',
533 'browser/renderer_host/render_widget_host_unittest.cc',
534 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
535 'browser/renderer_host/render_widget_host_view_base_unittest.cc',
536 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
537 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
538 'browser/renderer_host/text_input_client_mac_unittest.mm',
539 'browser/renderer_host/web_input_event_aura_unittest.cc',
540 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
541 'browser/resolve_proxy_msg_helper_unittest.cc',
542 'browser/service_worker/embedded_worker_instance_unittest.cc',
543 'browser/service_worker/embedded_worker_test_helper.cc',
544 'browser/service_worker/embedded_worker_test_helper.h',
545 'browser/service_worker/service_worker_context_request_handler_unittest.cc',
546 'browser/service_worker/service_worker_context_unittest.cc',
547 'browser/service_worker/service_worker_controllee_request_handler_unittest.cc',
548 'browser/service_worker/service_worker_database_unittest.cc',
549 'browser/service_worker/service_worker_disk_cache_migrator_unittest.cc',
550 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
551 'browser/service_worker/service_worker_handle_unittest.cc',
552 'browser/service_worker/service_worker_job_unittest.cc',
553 'browser/service_worker/service_worker_process_manager_unittest.cc',
554 'browser/service_worker/service_worker_provider_host_unittest.cc',
555 'browser/service_worker/service_worker_registration_unittest.cc',
556 'browser/service_worker/service_worker_request_handler_unittest.cc',
557 'browser/service_worker/service_worker_storage_unittest.cc',
558 'browser/service_worker/service_worker_url_request_job_unittest.cc',
559 'browser/service_worker/service_worker_utils_unittest.cc',
560 'browser/service_worker/service_worker_version_unittest.cc',
561 'browser/service_worker/service_worker_write_to_cache_job_unittest.cc',
562 'browser/shareable_file_reference_unittest.cc',
563 'browser/shared_worker/shared_worker_instance_unittest.cc',
564 'browser/shared_worker/shared_worker_service_impl_unittest.cc',
565 'browser/site_instance_impl_unittest.cc',
566 'browser/startup_task_runner_unittest.cc',
567 'browser/storage_partition_impl_map_unittest.cc',
568 'browser/storage_partition_impl_unittest.cc',
569 'browser/streams/stream_unittest.cc',
570 'browser/streams/stream_url_request_job_unittest.cc',
571 'browser/system_message_window_win_unittest.cc',
572 'browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc',
573 'browser/web_contents/aura/overscroll_window_animation_unittest.cc',
574 'browser/web_contents/aura/overscroll_window_delegate_unittest.cc',
575 'browser/web_contents/web_contents_delegate_unittest.cc',
576 'browser/web_contents/web_contents_impl_unittest.cc',
577 'browser/web_contents/web_contents_user_data_unittest.cc',
578 'browser/web_contents/web_contents_view_mac_unittest.mm',
579 'browser/web_contents/web_drag_dest_mac_unittest.mm',
580 'browser/web_contents/web_drag_source_mac_unittest.mm',
581 'browser/webui/url_data_manager_backend_unittest.cc',
582 'browser/webui/web_ui_data_source_unittest.cc',
583 'browser/webui/web_ui_message_handler_unittest.cc',
584 'child/background_sync/background_sync_type_converters_unittest.cc',
585 'child/blink_platform_impl_unittest.cc',
586 'child/fileapi/webfilewriter_base_unittest.cc',
587 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
588 'child/indexed_db/webidbcursor_impl_unittest.cc',
589 'child/multipart_response_delegate_unittest.cc',
590 'child/notifications/notification_data_conversions_unittest.cc',
591 'child/power_monitor_broadcast_source_unittest.cc',
592 'child/resource_dispatcher_unittest.cc',
593 'child/service_worker/service_worker_dispatcher_unittest.cc',
594 'child/shared_memory_received_data_factory_unittest.cc',
595 'child/simple_webmimeregistry_impl_unittest.cc',
596 'child/site_isolation_policy_unittest.cc',
597 'child/v8_value_converter_impl_unittest.cc',
598 'child/web_data_consumer_handle_impl_unittest.cc',
599 'child/web_process_memory_dump_impl_unittest.cc',
600 'child/web_url_loader_impl_unittest.cc',
601 'child/worker_task_runner_unittest.cc',
602 'common/android/address_parser_unittest.cc',
603 'common/android/gin_java_bridge_value_unittest.cc',
604 'common/cc_messages_unittest.cc',
605 'common/common_param_traits_unittest.cc',
606 'common/cursors/webcursor_unittest.cc',
607 'common/database_connections_unittest.cc',
608 'common/database_identifier_unittest.cc',
609 'common/discardable_shared_memory_heap_unittest.cc',
610 'common/dom_storage/dom_storage_map_unittest.cc',
611 'common/dwrite_font_platform_win_unittest.cc',
612 'common/fileapi/file_system_util_unittest.cc',
613 'common/gpu/client/gpu_memory_buffer_impl_unittest.cc',
614 'common/gpu/gpu_channel_manager_unittest.cc',
615 'common/gpu/gpu_memory_buffer_factory_unittest.cc',
616 'common/gpu/gpu_memory_manager_unittest.cc',
617 'common/host_discardable_shared_memory_manager_unittest.cc',
618 'common/host_shared_bitmap_manager_unittest.cc',
619 'common/indexed_db/indexed_db_key_unittest.cc',
620 'common/input/gesture_event_stream_validator_unittest.cc',
621 'common/input/input_param_traits_unittest.cc',
622 'common/input/touch_event_stream_validator_unittest.cc',
623 'common/input/web_input_event_traits_unittest.cc',
624 'common/inter_process_time_ticks_converter_unittest.cc',
625 'common/mac/attributed_string_coder_unittest.mm',
626 'common/mac/font_descriptor_unittest.mm',
627 'common/one_writer_seqlock_unittest.cc',
628 'common/origin_util_unittest.cc',
629 'common/page_state_serialization_unittest.cc',
630 'common/page_zoom_unittest.cc',
631 'common/plugin_list_unittest.cc',
632 'common/sandbox_mac_diraccess_unittest.mm',
633 'common/sandbox_mac_fontloading_unittest.mm',
634 'common/sandbox_mac_system_access_unittest.mm',
635 'common/sandbox_mac_unittest_helper.h',
636 'common/sandbox_mac_unittest_helper.mm',
637 'common/webplugininfo_unittest.cc',
638 'renderer/android/email_detector_unittest.cc',
639 'renderer/android/phone_number_detector_unittest.cc',
640 'renderer/battery_status/battery_status_dispatcher_unittest.cc',
641 'renderer/bmp_image_decoder_unittest.cc',
642 'renderer/device_sensors/device_light_event_pump_unittest.cc',
643 'renderer/device_sensors/device_motion_event_pump_unittest.cc',
644 'renderer/device_sensors/device_orientation_event_pump_unittest.cc',
645 'renderer/disambiguation_popup_helper_unittest.cc',
646 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
647 'renderer/gpu/compositor_forwarding_message_filter_unittest.cc',
648 'renderer/gpu/frame_swap_message_queue_unittest.cc',
649 'renderer/gpu/queue_message_swap_promise_unittest.cc',
650 'renderer/gpu/render_widget_compositor_unittest.cc',
651 'renderer/ico_image_decoder_unittest.cc',
652 'renderer/input/input_event_filter_unittest.cc',
653 'renderer/input/input_handler_proxy_unittest.cc',
654 'renderer/input/input_scroll_elasticity_controller_unittest.cc',
655 'renderer/manifest/manifest_parser_unittest.cc',
656 'renderer/media/android/media_info_loader_unittest.cc',
657 'renderer/media/audio_message_filter_unittest.cc',
658 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
659 'renderer/media/midi_message_filter_unittest.cc',
660 'renderer/media/render_media_client_unittest.cc',
661 'renderer/media/render_media_log_unittest.cc',
662 'renderer/media/video_capture_impl_manager_unittest.cc',
663 'renderer/media/video_capture_impl_unittest.cc',
664 'renderer/media/video_capture_message_filter_unittest.cc',
665 'renderer/render_thread_impl_unittest.cc',
666 'renderer/render_widget_unittest.cc',
667 'renderer/scheduler/resource_dispatch_throttler_unittest.cc',
668 'renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc',
669 'renderer/skia_benchmarking_extension_unittest.cc',
670 'test/fileapi_test_file_set.cc',
671 'test/fileapi_test_file_set.h',
672 'test/image_decoder_test.cc',
673 'test/image_decoder_test.h',
674 'test/run_all_unittests.cc',
676 'content_unittests_speech_sources': [
677 'browser/speech/chunked_byte_buffer_unittest.cc',
678 'browser/speech/endpointer/endpointer_unittest.cc',
679 'browser/speech/google_one_shot_remote_engine_unittest.cc',
680 'browser/speech/google_streaming_remote_engine_unittest.cc',
681 'browser/speech/speech_recognizer_impl_unittest.cc',
683 'content_unittests_plugins_sources': [
684 'browser/plugin_loader_posix_unittest.cc',
685 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
686 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
687 'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
688 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
689 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
690 'browser/renderer_host/pepper/quota_reservation_unittest.cc',
691 'child/npapi/plugin_lib_unittest.cc',
692 'renderer/media/webrtc/video_destination_handler_unittest.cc',
693 'renderer/npapi/webplugin_impl_unittest.cc',
694 'renderer/pepper/event_conversion_unittest.cc',
695 'renderer/pepper/host_var_tracker_unittest.cc',
696 'renderer/pepper/mock_resource.h',
697 'renderer/pepper/pepper_broker_unittest.cc',
698 'renderer/pepper/plugin_instance_throttler_impl_unittest.cc',
699 'renderer/pepper/v8_var_converter_unittest.cc',
701 'content_unittests_webrtc_sources': [
702 'browser/media/webrtc_internals_unittest.cc',
703 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
704 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
705 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
706 'browser/renderer_host/p2p/socket_host_test_utils.cc',
707 'browser/renderer_host/p2p/socket_host_test_utils.h',
708 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
709 'browser/renderer_host/p2p/socket_host_unittest.cc',
710 'renderer/media/media_stream_audio_processor_unittest.cc',
711 'renderer/media/media_stream_constraints_util_unittest.cc',
712 'renderer/media/media_stream_dispatcher_unittest.cc',
713 'renderer/media/media_stream_video_capture_source_unittest.cc',
714 'renderer/media/media_stream_video_source_unittest.cc',
715 'renderer/media/media_stream_video_track_unittest.cc',
716 'renderer/media/mock_media_constraint_factory.cc',
717 'renderer/media/mock_media_stream_registry.cc',
718 'renderer/media/mock_media_stream_registry.h',
719 'renderer/media/mock_media_stream_video_sink.cc',
720 'renderer/media/mock_media_stream_video_sink.h',
721 'renderer/media/mock_media_stream_video_source.cc',
722 'renderer/media/mock_media_stream_video_source.h',
723 'renderer/media/rtc_data_channel_handler_unittest.cc',
724 'renderer/media/rtc_peer_connection_handler_unittest.cc',
725 'renderer/media/rtc_video_decoder_unittest.cc',
726 'renderer/media/speech_recognition_audio_sink_unittest.cc',
727 'renderer/media/user_media_client_impl_unittest.cc',
728 'renderer/media/video_source_handler_unittest.cc',
729 'renderer/media/webrtc/media_stream_remote_video_source_unittest.cc',
730 'renderer/media/webrtc/media_stream_track_metrics_unittest.cc',
731 'renderer/media/webrtc/peer_connection_dependency_factory_unittest.cc',
732 'renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc',
733 'renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc',
734 'renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc',
735 'renderer/media/webrtc_audio_capturer_unittest.cc',
736 'renderer/media/webrtc_audio_renderer_unittest.cc',
737 'renderer/media/webrtc_identity_service_unittest.cc',
738 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
739 'renderer/media/webrtc_local_audio_track_unittest.cc',
740 'renderer/media/webrtc_uma_histograms_unittest.cc',
741 'renderer/p2p/ipc_network_manager_unittest.cc',
743 'content_unittests_android_sources': [
744 'browser/android/java/gin_java_method_invocation_helper_unittest.cc',
745 'browser/android/java/java_type_unittest.cc',
746 'browser/android/java/jni_helper_unittest.cc',
747 'browser/android/overscroll_refresh_unittest.cc',
748 'browser/android/url_request_content_job_unittest.cc',
749 'browser/renderer_host/input/motion_event_android_unittest.cc',
750 'renderer/java/gin_java_bridge_value_converter_unittest.cc',
755 # GN version: //content/test:layouttest_support
756 'target_name': 'layouttest_support_content',
757 'type': 'static_library',
761 'test_support_content_jni_headers',
765 # layouttest_support_content is not supported nor required on iOS.
767 'content.gyp:content_renderer',
768 'test_support_content',
769 '../components/test_runner/test_runner.gyp:test_runner',
770 '../skia/skia.gyp:skia',
771 '../ui/accessibility/accessibility.gyp:ax_gen',
772 '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
773 '../v8/tools/gyp/v8.gyp:v8',
777 '<(SHARED_INTERMEDIATE_DIR)',
779 'sources': [ '<@(layouttest_support_content_sources)' ]
784 # GN version: //content/test:test_support
785 'target_name': 'test_support_content',
786 'type': 'static_library',
788 '../mojo/mojo_base.gyp:mojo_environment_chromium',
789 '../net/net.gyp:net_test_support',
790 '../skia/skia.gyp:skia',
791 '../storage/storage_common.gyp:storage_common',
792 '../testing/gmock.gyp:gmock',
793 '../testing/gtest.gyp:gtest',
794 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
795 '../ui/accessibility/accessibility.gyp:ax_gen',
796 '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
797 '../ui/base/ui_base.gyp:ui_base',
798 '../ui/base/ui_base.gyp:ui_base_test_support',
799 '../ui/events/events.gyp:dom_keycode_converter',
800 '../ui/events/events.gyp:events_base',
801 '../ui/events/events.gyp:events_test_support',
802 '../ui/events/events.gyp:gesture_detection',
803 '../ui/gfx/gfx.gyp:gfx_test_support',
804 '../ui/resources/ui_resources.gyp:ui_resources',
805 '../url/url.gyp:url_lib',
806 'browser/speech/proto/speech_proto.gyp:speech_proto',
807 'content.gyp:content_app_both',
808 'content.gyp:content_browser',
809 'content.gyp:content_common',
811 'export_dependent_settings': [
812 'content.gyp:content_browser',
817 'sources': [ '<@(test_support_content_sources)' ],
819 ['enable_plugins==0', {
821 'public/test/ppapi_test_utils.cc',
822 'test/ppapi_unittest.cc',
825 ['enable_web_speech==0', {
827 'test/mock_google_streaming_server.cc',
832 # iOS only needs a small portion of content; exclude all the
833 # implementation, and re-include what is used.
834 ['exclude', '\\.(cc|mm)$'],
835 ['include', '_ios\\.(cc|mm)$'],
836 ['include', '^public/test/content_test_suite_base\\.cc$'],
837 ['include', '^public/test/mock_notification_observer\\.cc$'],
838 ['include', '^public/test/mock_resource_context\\.cc$'],
839 ['include', '^public/test/test_browser_thread\\.cc$'],
840 ['include', '^public/test/test_browser_thread_bundle\\.cc$'],
841 ['include', '^public/test/test_content_client_initializer\\.cc$'],
842 ['include', '^public/test/test_notification_tracker\\.cc$'],
843 ['include', '^public/test/test_utils\\.cc$'],
844 ['include', '^public/test/unittest_test_suite\\.cc$'],
845 ['include', '^test/content_test_suite\\.cc$'],
846 ['include', '^test/test_content_browser_client\\.cc$'],
847 ['include', '^test/test_content_client\\.cc$'],
853 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
855 'shell/resources/missingImage.png',
856 'shell/resources/textAreaResizeCorner.png',
862 'content.gyp:content_child',
863 'content.gyp:content_common',
864 'content.gyp:content_gpu',
865 'content.gyp:content_plugin',
866 'content.gyp:content_ppapi_plugin',
867 'content.gyp:content_renderer',
868 'content.gyp:content_utility',
869 'content_shell_and_tests.gyp:content_shell_pak',
870 '../cc/blink/cc_blink.gyp:cc_blink',
872 '../cc/cc_tests.gyp:cc_test_support',
873 '../components/scheduler/scheduler.gyp:scheduler',
874 '../gpu/blink/gpu_blink.gyp:gpu_blink',
875 '../ipc/mojo/ipc_mojo.gyp:*',
876 '../media/blink/media_blink.gyp:media_blink',
877 '../media/media.gyp:media',
878 '../media/midi/midi.gyp:midi',
879 '../ppapi/ppapi_internal.gyp:ppapi_host',
880 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
881 '../ppapi/ppapi_internal.gyp:ppapi_shared',
882 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
883 '../storage/storage_browser.gyp:storage',
884 '../storage/storage_common.gyp:storage_common',
885 '../third_party/WebKit/public/blink.gyp:blink',
886 '../ui/compositor/compositor.gyp:compositor_test_support',
887 '../ui/surface/surface.gyp:surface',
888 '../v8/tools/gyp/v8.gyp:v8',
890 'export_dependent_settings': [
891 '../third_party/WebKit/public/blink.gyp:blink',
896 '../sandbox/sandbox.gyp:sandbox',
897 'content.gyp:content_startup_helper_win',
900 ['enable_webrtc==1', {
902 'renderer/media/mock_data_channel_impl.cc',
903 'renderer/media/mock_data_channel_impl.h',
904 'renderer/media/mock_media_stream_dispatcher.cc',
905 'renderer/media/mock_media_stream_dispatcher.h',
906 'renderer/media/mock_peer_connection_impl.cc',
907 'renderer/media/mock_peer_connection_impl.h',
908 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
909 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
910 'renderer/media/webrtc/mock_peer_connection_dependency_factory.cc',
911 'renderer/media/webrtc/mock_peer_connection_dependency_factory.h',
914 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
915 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
916 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
921 '../build/linux/system.gyp:glib',
926 '../ui/aura/aura.gyp:aura_test_support',
927 '../ui/resources/ui_resources.gyp:ui_test_pak',
928 '../ui/wm/wm.gyp:wm',
933 '../ui/ozone/ozone.gyp:ozone',
934 '../ui/platform_window/platform_window.gyp:platform_window',
939 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
942 ['OS!="android" and OS!="ios"', {
944 'browser/compositor/test/no_transport_image_transport_factory.cc',
945 'browser/compositor/test/no_transport_image_transport_factory.h',
948 '../ui/compositor/compositor.gyp:compositor',
949 '../third_party/libvpx/libvpx.gyp:libvpx',
954 '../ui/android/ui_android.gyp:ui_android',
955 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
956 'content.gyp:content_v8_external_data',
959 ['v8_use_external_startup_data==1 and OS!="ios"', {
961 '../gin/gin.gyp:gin',
967 # GN version: //content/test:content_unittests
968 'target_name': 'content_unittests',
969 'type': '<(gtest_target_type)',
971 'browser/background_sync/background_sync_proto.gyp:background_sync_proto',
972 'browser/notifications/notification_proto.gyp:notification_proto',
973 'browser/service_worker/service_worker_proto.gyp:service_worker_proto',
974 'browser/speech/proto/speech_proto.gyp:speech_proto',
975 'content.gyp:content_browser',
976 'content.gyp:content_common',
977 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
978 'test_support_content',
979 '../base/base.gyp:test_support_base',
980 '../crypto/crypto.gyp:crypto',
981 '../device/battery/battery.gyp:device_battery',
982 '../device/battery/battery.gyp:device_battery_mojo_bindings',
983 '../mojo/mojo_base.gyp:mojo_environment_chromium',
984 '../net/net.gyp:net_extras',
985 '../net/net.gyp:net_test_support',
986 '../skia/skia.gyp:skia',
987 '../sql/sql.gyp:sql',
988 '../sql/sql.gyp:test_support_sql',
989 '../testing/gmock.gyp:gmock',
990 '../testing/gtest.gyp:gtest',
991 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
992 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
993 '../third_party/re2/re2.gyp:re2',
994 '../ui/accessibility/accessibility.gyp:accessibility',
995 '../ui/base/ui_base.gyp:ui_base',
996 '../ui/events/events.gyp:blink',
997 '../ui/gfx/gfx.gyp:gfx',
998 '../ui/gfx/gfx.gyp:gfx_geometry',
999 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
1003 '<(SHARED_INTERMEDIATE_DIR)', # Needed by render_media_client_unittest.cc.
1005 'sources': [ '<@(content_unittests_sources)' ],
1009 # iOS only needs a small portion of content; exclude all the
1010 # implementation, and re-include what is used.
1011 ['exclude', '\\.(cc|mm)$'],
1012 ['include', '_ios\\.(cc|mm)$'],
1013 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
1014 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
1015 ['include', '^test/run_all_unittests\\.cc$'],
1019 'content.gyp:content_browser',
1020 'content.gyp:content_child',
1021 'content.gyp:content_gpu',
1022 'content.gyp:content_plugin',
1023 'content.gyp:content_renderer',
1024 'content.gyp:content_resources',
1025 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1027 '../cc/cc.gyp:cc_surfaces',
1028 '../cc/cc_tests.gyp:cc_test_support',
1029 '../gin/gin.gyp:gin',
1030 '../gpu/gpu.gyp:gpu',
1031 '../gpu/gpu.gyp:gpu_unittest_utils',
1032 '../ipc/ipc.gyp:test_support_ipc',
1033 '../media/media.gyp:media_test_support',
1034 '../media/media.gyp:shared_memory_support',
1035 '../storage/storage_browser.gyp:storage',
1036 '../storage/storage_common.gyp:storage_common',
1037 '../third_party/WebKit/public/blink.gyp:blink',
1038 '../third_party/icu/icu.gyp:icui18n',
1039 '../third_party/icu/icu.gyp:icuuc',
1040 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1041 '../third_party/libjingle/libjingle.gyp:libjingle',
1042 '../ui/gl/gl.gyp:gl',
1047 'browser/file_descriptor_info_impl_unittest.cc',
1052 '../third_party/ocmock/ocmock.gyp:ocmock',
1055 ['enable_plugins==1', {
1056 'sources': [ '<@(content_unittests_plugins_sources)' ],
1058 ['enable_webrtc==1', {
1059 'sources': [ '<@(content_unittests_webrtc_sources)' ],
1061 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
1062 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
1063 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
1067 'renderer/media/webrtc/video_destination_handler_unittest.cc',
1070 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
1072 'browser/media/capture/desktop_capture_device_unittest.cc',
1075 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
1078 ['enable_webrtc==1 and chromeos==1', {
1080 'browser/media/capture/desktop_capture_device_aura_unittest.cc',
1083 ['enable_web_speech==1', {
1084 'sources': [ '<@(content_unittests_speech_sources)' ],
1086 ['OS=="linux" and use_dbus==1', {
1088 '../build/linux/system.gyp:dbus',
1089 '../dbus/dbus.gyp:dbus_test_support',
1092 ['OS=="win" and win_use_allocator_shim==1', {
1094 '../base/allocator/allocator.gyp:allocator',
1099 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1103 # These flags are needed to run the test on Mac.
1104 # Search for comments about "xcode_settings" in chrome_tests.gypi.
1105 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
1109 '../chromeos/chromeos.gyp:chromeos',
1112 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
1117 '../ui/aura/aura.gyp:aura',
1118 '../ui/aura_extra/aura_extra.gyp:aura_extra',
1119 '../ui/wm/wm.gyp:wm',
1122 ['use_aura==1 or toolkit_views==1', {
1124 '../ui/events/events.gyp:events_test_support',
1127 ['use_aura!=1 and OS!="mac"', {
1129 ['exclude', '^browser/compositor/'],
1132 ['OS == "android"', {
1133 'sources': [ '<@(content_unittests_android_sources)' ],
1135 'browser/geolocation/network_location_provider_unittest.cc',
1136 'browser/geolocation/wifi_data_provider_common_unittest.cc',
1137 'browser/media/audio_stream_monitor_unittest.cc',
1138 'browser/renderer_host/begin_frame_observer_proxy_unittest.cc',
1139 'browser/webui/url_data_manager_backend_unittest.cc',
1142 '../testing/android/native_test.gyp:native_test_native_code',
1145 ['OS != "android" and OS != "ios"', {
1147 '../third_party/libvpx/libvpx.gyp:libvpx',
1150 ['use_aura!=1 and OS!="android"', {
1152 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
1157 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
1160 ['OS!="win" and OS!="mac"', {
1162 'common/plugin_list_unittest.cc',
1167 '../ui/ozone/ozone.gyp:ozone',
1168 '../ui/ozone/ozone.gyp:ozone_base',
1171 ['OS == "mac" and use_openssl==1', {
1173 '../third_party/boringssl/boringssl.gyp:boringssl',
1180 ['test_isolation_mode != "noop"', {
1183 'target_name': 'content_browsertests_run',
1186 'content_browsertests',
1189 '../build/isolate.gypi',
1192 'content_browsertests.isolate',
1196 'target_name': 'content_unittests_run',
1199 'content_unittests',
1202 '../build/isolate.gypi',
1205 'content_unittests.isolate',
1210 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1217 ['archive_gpu_tests==1', {
1220 'target_name': 'content_gl_tests_run',
1223 'content_shell_and_tests.gyp:content_gl_tests',
1226 '../build/isolate.gypi',
1229 'content_gl_tests.isolate',
1239 # GN version: //content/test:content_perftests
1240 'target_name': 'content_perftests',
1241 'type': '<(gtest_target_type)',
1242 'defines!': ['CONTENT_IMPLEMENTATION'],
1244 'content.gyp:content_browser',
1245 'content.gyp:content_common',
1246 'test_support_content',
1247 '../base/base.gyp:test_support_base',
1249 '../skia/skia.gyp:skia',
1250 '../testing/gtest.gyp:gtest',
1251 '../testing/perf/perf_test.gyp:*',
1252 '../ui/gfx/gfx.gyp:gfx',
1253 '../ui/gfx/gfx.gyp:gfx_geometry',
1259 'browser/renderer_host/input/input_router_impl_perftest.cc',
1260 'common/cc_messages_perftest.cc',
1261 'common/discardable_shared_memory_heap_perftest.cc',
1262 'test/run_all_perftests.cc',
1265 ['OS == "android"', {
1267 '../testing/android/native_test.gyp:native_test_native_code',
1270 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1272 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1278 # GN version: //content/tests:browsertest_support
1279 'target_name': 'content_browser_test_support',
1280 'type': 'static_library',
1282 'content_shell_lib',
1283 '../skia/skia.gyp:skia',
1284 '../testing/gtest.gyp:gtest',
1285 '../ui/accessibility/accessibility.gyp:ax_gen',
1286 '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
1289 # Source list duplicated in GN build.
1290 'public/test/content_browser_test.cc',
1291 'public/test/content_browser_test.h',
1292 'public/test/content_browser_test_utils.cc',
1293 'public/test/content_browser_test_utils.h',
1294 'public/test/content_browser_test_utils_mac.mm',
1295 'test/content_test_launcher.cc',
1298 '<(SHARED_INTERMEDIATE_DIR)',
1303 'content.gyp:content_app_both',
1307 'content.gyp:content_browser',
1313 # GN version: //content/test:web_ui_test_mojo_bindings
1314 'target_name': 'web_ui_test_mojo_bindings',
1315 'type': 'static_library',
1317 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
1320 'test/data/web_ui_test_mojo_bindings.mojom',
1322 'includes': [ '../third_party/mojo/mojom_bindings_generator.gypi' ],
1323 'export_dependent_settings': [
1324 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
1328 # GN version: //content/tests:content_browsertests
1329 'target_name': 'content_browsertests',
1330 'type': '<(gtest_target_type)',
1332 'content.gyp:content_common',
1333 'content.gyp:content_gpu',
1334 'content.gyp:content_plugin',
1335 'content.gyp:content_renderer',
1336 'content.gyp:content_resources',
1337 'content_browser_test_support',
1338 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
1339 'content_shell_lib',
1340 'content_shell_pak',
1341 'test_support_content',
1342 'web_ui_test_mojo_bindings',
1343 '../base/base.gyp:test_support_base',
1344 '../device/battery/battery.gyp:device_battery',
1345 '../device/battery/battery.gyp:device_battery_mojo_bindings',
1346 '../gin/gin.gyp:gin',
1347 '../gpu/gpu.gyp:gpu',
1348 '../ipc/ipc.gyp:test_support_ipc',
1349 '../media/media.gyp:media_test_support',
1350 '../media/media.gyp:shared_memory_support',
1351 '../mojo/mojo_base.gyp:mojo_environment_chromium',
1352 '../net/net.gyp:net_test_support',
1353 '../ppapi/ppapi_internal.gyp:ppapi_host',
1354 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
1355 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
1356 '../ppapi/ppapi_internal.gyp:ppapi_shared',
1357 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
1358 '../testing/gmock.gyp:gmock',
1359 '../testing/gtest.gyp:gtest',
1360 '../third_party/WebKit/public/blink.gyp:blink',
1361 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1362 '../third_party/mesa/mesa.gyp:osmesa',
1363 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
1364 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
1365 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
1366 '../third_party/mojo/mojo_public.gyp:mojo_js_bindings',
1367 '../ui/accessibility/accessibility.gyp:accessibility',
1368 '../ui/base/ui_base.gyp:ui_base',
1369 '../ui/gfx/gfx.gyp:gfx',
1370 '../ui/gfx/gfx.gyp:gfx_geometry',
1371 '../ui/gl/gl.gyp:gl',
1372 '../ui/resources/ui_resources.gyp:ui_resources',
1373 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
1374 '../ui/snapshot/snapshot.gyp:snapshot',
1375 '../ui/accessibility/accessibility.gyp:ax_gen',
1379 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
1382 'browser/gpu/test_support_gpu.gypi',
1385 'HAS_OUT_OF_PROC_TEST_RUNNER',
1387 'sources': [ '<@(content_browsertests_sources)' ],
1391 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1395 'resource_include_dirs': [
1396 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1399 '<@(content_browsertests_win_sources)',
1400 # TODO: It would be nice to have these pulled in
1401 # automatically from direct_dependent_settings in
1402 # their various targets (net.gyp:net_resources, etc.),
1403 # but that causes errors in other targets when
1404 # resulting .res files get referenced multiple times.
1405 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.rc',
1406 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.rc',
1407 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1408 'shell/app/resource.h',
1409 'shell/app/shell.rc',
1412 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
1413 '<(DEPTH)/net/net.gyp:net_resources',
1414 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
1415 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1416 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1422 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1427 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1428 'msvs_disabled_warnings': [ 4267, ],
1430 ['OS=="win" and win_use_allocator_shim==1', {
1432 '../base/allocator/allocator.gyp:allocator',
1437 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1441 'sources': [ '<@(content_browsertests_android_sources)' ],
1443 'browser/battery_status/battery_monitor_impl_browsertest.cc',
1446 'content_shell_jni_headers',
1447 'content_shell_lib',
1448 '../testing/android/native_test.gyp:native_test_support',
1453 'content_shell', # Needed for Content Shell.app's Helper.
1456 'renderer/external_popup_menu_browsertest.cc',
1459 ['use_aura==1 and OS!="win"', {
1461 'browser/plugin_browsertest.cc',
1464 ['use_aura==1 or toolkit_views==1', {
1466 '../ui/events/events.gyp:events_test_support',
1469 ['use_aura!=1 and OS!="mac"', {
1471 'browser/compositor/image_transport_factory_browsertest.cc',
1474 ['OS!="android" and OS!="ios" and OS!="linux"', {
1475 # npapi test plugin doesn't build on android or ios
1477 # Runtime dependencies
1478 'copy_npapi_test_plugin',
1481 ['enable_webrtc==1', {
1482 'sources': [ '<@(content_browsertests_webrtc_sources)' ],
1484 '../testing/perf/perf_test.gyp:perf_test',
1487 ['enable_plugins==1', {
1488 'sources': [ '<@(content_browsertests_plugins_sources)' ],
1490 '../ppapi/ppapi_internal.gyp:ppapi_tests',
1493 ['enable_web_speech == 1', {
1494 'sources': [ '<@(content_browsertests_speech_sources)' ],
1496 ['branding != "Chrome"', {
1497 'sources': [ '<@(content_browsertests_unofficial_build_sources)' ],
1502 # GN version: //content/test:content_gl_tests
1503 'target_name': 'content_gl_tests',
1504 'type': '<(gtest_target_type)',
1506 'content.gyp:content_common',
1507 'test_support_content',
1508 '../base/base.gyp:test_support_base',
1509 '../gpu/gpu.gyp:command_buffer_common',
1510 '../testing/gtest.gyp:gtest',
1511 '../third_party/WebKit/public/blink.gyp:blink',
1512 '../ui/base/ui_base.gyp:ui_base',
1513 '../ui/gfx/gfx.gyp:gfx',
1514 '../ui/gfx/gfx.gyp:gfx_geometry',
1515 '../ui/gfx/gfx.gyp:gfx_test_support',
1516 '../ui/gl/gl.gyp:gl',
1517 '../v8/tools/gyp/v8.gyp:v8',
1523 'common/gpu/client/gl_helper_unittest.cc',
1524 'common/gpu/client/gpu_in_process_context_tests.cc',
1529 '../testing/android/native_test.gyp:native_test_native_code',
1533 # Runtime dependencis.
1534 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1535 '../third_party/mesa/mesa.gyp:osmesa',
1538 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1540 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1546 # GN version: //content/test:content_gl_benchmark
1547 'target_name': 'content_gl_benchmark',
1548 'type': '<(gtest_target_type)',
1550 'content.gyp:content_common',
1551 'test_support_content',
1552 '../base/base.gyp:test_support_base',
1553 '../testing/gtest.gyp:gtest',
1554 '../third_party/WebKit/public/blink.gyp:blink',
1555 '../ui/base/ui_base.gyp:ui_base',
1556 '../ui/gfx/gfx.gyp:gfx',
1557 '../ui/gfx/gfx.gyp:gfx_geometry',
1558 '../ui/gl/gl.gyp:gl',
1564 'common/gpu/client/gl_helper_benchmark.cc',
1567 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1569 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1576 ['chromeos==1 or OS=="win" or OS=="android"', {
1579 'target_name': 'video_decode_accelerator_unittest',
1580 'type': '<(gtest_target_type)',
1582 '../base/base.gyp:base',
1583 '../media/media.gyp:media',
1584 '../testing/gtest.gyp:gtest',
1585 '../ui/base/ui_base.gyp:ui_base',
1586 '../ui/gfx/gfx.gyp:gfx',
1587 '../ui/gfx/gfx.gyp:gfx_test_support',
1588 '../ui/gfx/gfx.gyp:gfx_geometry',
1589 '../ui/gl/gl.gyp:gl',
1590 'content.gyp:content',
1593 '<(DEPTH)/third_party/khronos',
1596 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1597 'common/gpu/media/rendering_helper.cc',
1598 'common/gpu/media/rendering_helper.h',
1599 'common/gpu/media/video_accelerator_unittest_helpers.h',
1600 'common/gpu/media/video_decode_accelerator_unittest.cc',
1605 ['exclude', '^common/gpu/media/rendering_helper.h'],
1606 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1607 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1610 '../media/media.gyp:player_android',
1611 '../testing/gmock.gyp:gmock',
1612 '../testing/android/native_test.gyp:native_test_native_code',
1613 '../gpu/gpu.gyp:gpu_unittest_utils',
1615 }, { # OS!="android"
1617 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1622 '<(angle_path)/src/angle.gyp:libEGL',
1623 '<(angle_path)/src/angle.gyp:libGLESv2',
1626 ['(OS=="win" and win_use_allocator_shim==1) or '
1627 '(os_posix == 1 and OS != "android" and '
1628 ' use_allocator!="none")', {
1630 '../base/allocator/allocator.gyp:allocator',
1633 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1635 '<(DEPTH)/third_party/libva',
1640 '../build/linux/system.gyp:x11', # Used by rendering_helper.cc
1641 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1644 ['use_ozone==1 and chromeos==1', {
1646 '../ui/display/display.gyp:display', # Used by rendering_helper.cc
1647 '../ui/ozone/ozone.gyp:ozone', # Used by rendering_helper.cc
1651 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1652 'msvs_disabled_warnings': [ 4267, ],
1656 ['chromeos==1 and target_arch != "arm"', {
1659 'target_name': 'vaapi_jpeg_decoder_unittest',
1660 'type': '<(gtest_target_type)',
1662 'content.gyp:content_common',
1663 '../base/base.gyp:base',
1664 '../media/media.gyp:media',
1665 '../media/media.gyp:media_test_support',
1666 '../testing/gtest.gyp:gtest',
1669 'common/gpu/media/vaapi_jpeg_decoder_unittest.cc',
1672 '<(DEPTH)/third_party/libva',
1677 '../build/linux/system.gyp:x11',
1681 '../build/linux/system.gyp:libdrm',
1691 'target_name': 'video_encode_accelerator_unittest',
1692 'type': 'executable',
1694 '../base/base.gyp:base',
1695 '../media/media.gyp:media',
1696 '../media/media.gyp:media_test_support',
1697 '../testing/gtest.gyp:gtest',
1698 '../ui/base/ui_base.gyp:ui_base',
1699 '../ui/gfx/gfx.gyp:gfx',
1700 '../ui/gfx/gfx.gyp:gfx_geometry',
1701 '../ui/gfx/gfx.gyp:gfx_test_support',
1702 '../ui/gl/gl.gyp:gl',
1703 'content.gyp:content',
1706 'common/gpu/media/video_accelerator_unittest_helpers.h',
1707 'common/gpu/media/video_encode_accelerator_unittest.cc',
1710 '<(DEPTH)/third_party/libva',
1711 '<(DEPTH)/third_party/libyuv',
1716 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1721 '../ui/ozone/ozone.gyp:ozone',
1728 ['OS == "android"', {
1732 'target_name': 'content_gl_tests_apk',
1736 'content_java_test_support',
1739 'test_suite_name': 'content_gl_tests',
1742 '../build/apk_test.gypi',
1747 'target_name': 'content_unittests_apk',
1750 'content.gyp:content_java',
1751 'content_unittests',
1754 ['v8_use_external_startup_data==1', {
1756 '../v8/tools/gyp/v8.gyp:v8_external_snapshot',
1760 'destination': '<(asset_location)',
1762 '<(PRODUCT_DIR)/natives_blob.bin',
1763 '<(PRODUCT_DIR)/snapshot_blob.bin',
1770 'test_suite_name': 'content_unittests',
1771 'isolate_file': 'content_unittests.isolate',
1773 ['v8_use_external_startup_data==1', {
1774 'asset_location': '<(PRODUCT_DIR)/content_unittests_apk/assets',
1775 'additional_input_paths': [
1776 '<(PRODUCT_DIR)/content_unittests_apk/assets/natives_blob.bin',
1777 '<(PRODUCT_DIR)/content_unittests_apk/assets/snapshot_blob.bin',
1780 '<(PRODUCT_DIR)/natives_blob.bin',
1781 '<(PRODUCT_DIR)/snapshot_blob.bin',
1786 'includes': [ '../build/apk_test.gypi' ],
1790 'target_name': 'content_browsertests_manifest',
1793 'jinja_inputs': ['shell/android/browsertests_apk/AndroidManifest.xml.jinja2'],
1794 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_manifest/AndroidManifest.xml',
1796 'includes': [ '../build/android/jinja_template.gypi' ],
1800 'target_name': 'content_browsertests_apk',
1803 'content.gyp:content_icudata',
1804 'content.gyp:content_java',
1805 'content.gyp:content_v8_external_data',
1806 'content_browsertests',
1807 'content_java_test_support',
1808 'content_shell_java',
1811 'test_suite_name': 'content_browsertests',
1812 'isolate_file': 'content_browsertests.isolate',
1813 'java_in_dir': 'shell/android/browsertests_apk',
1814 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_manifest/AndroidManifest.xml',
1815 'resource_dir': 'shell/android/browsertests_apk/res',
1816 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1817 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1819 ['icu_use_data_file_flag==1', {
1820 'additional_input_paths': [
1821 '<(PRODUCT_DIR)/icudtl.dat',
1824 ['v8_use_external_startup_data==1', {
1825 'additional_input_paths': [
1826 '<(PRODUCT_DIR)/natives_blob.bin',
1827 '<(PRODUCT_DIR)/snapshot_blob.bin',
1832 'includes': [ '../build/apk_browsertest.gypi' ],
1836 'target_name': 'content_perftests_apk',
1839 'content.gyp:content_java',
1840 'content_perftests',
1843 'test_suite_name': 'content_perftests',
1845 'includes': [ '../build/apk_test.gypi' ],
1848 # GN: //content/shell/android:chromium_linker_test_manifest
1849 'target_name': 'chromium_linker_test_manifest',
1852 'jinja_inputs': ['shell/android/linker_test_apk/AndroidManifest.xml.jinja2'],
1853 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chromium_linker_test_manifest/AndroidManifest.xml',
1855 'includes': [ '../build/android/jinja_template.gypi' ],
1858 # GN: //content/shell/android:chromium_linker_test_apk
1859 'target_name': 'chromium_linker_test_apk',
1862 ['target_arch != "x64" and target_arch != "arm64"', {
1864 'chromium_android_linker_test',
1865 'content.gyp:content_icudata',
1866 'content.gyp:content_java',
1867 'content.gyp:content_v8_external_data',
1868 'content_shell_java',
1871 'apk_name': 'ChromiumLinkerTest',
1872 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chromium_linker_test_manifest/AndroidManifest.xml',
1873 'java_in_dir': 'shell/android/linker_test_apk',
1874 'resource_dir': 'shell/android/linker_test_apk/res',
1875 'native_lib_target': 'libchromium_android_linker_test',
1876 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1877 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1878 'use_chromium_linker': '1',
1879 'enable_chromium_linker_tests': '1',
1881 ['icu_use_data_file_flag==1', {
1882 'additional_input_paths': [
1883 '<(PRODUCT_DIR)/icudtl.dat',
1886 ['v8_use_external_startup_data==1', {
1887 'additional_input_paths': [
1888 '<(PRODUCT_DIR)/natives_blob.bin',
1889 '<(PRODUCT_DIR)/snapshot_blob.bin',
1894 'includes': [ '../build/java_apk.gypi' ],
1900 # GN: //content/shell/android:linker_test
1901 'target_name': 'chromium_android_linker_test',
1902 'type': 'shared_library',
1903 'defines!': ['CONTENT_IMPLEMENTATION'],
1905 'chromium_android_linker_test_jni_headers',
1906 'content_shell_lib',
1907 # Required to include "content/public/browser/android/compositor.h"
1908 # in chromium_linker_test_android.cc :-(
1909 '../skia/skia.gyp:skia',
1912 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1913 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc',
1917 # GN: //content/shell/android:linker_test_jni_headers
1918 'target_name': 'chromium_android_linker_test_jni_headers',
1921 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java',
1924 'jni_gen_package': 'content/shell',
1926 'includes': [ '../build/jni_generator.gypi' ],
1930 'target_name': 'video_decode_accelerator_unittest_apk',
1933 'video_decode_accelerator_unittest',
1936 'test_suite_name': 'video_decode_accelerator_unittest',
1938 'includes': [ '../build/apk_test.gypi' ],
1941 # GN: //content/public/test/android:test_support_content_jni_headers
1942 'target_name': 'test_support_content_jni_headers',
1945 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1948 'jni_gen_package': 'content/public/test',
1950 'includes': [ '../build/jni_generator.gypi' ],
1953 # GN: //content/public/test/android:content_java_test_support
1954 'target_name': 'content_java_test_support',
1957 '../base/base.gyp:base',
1958 '../base/base.gyp:base_java_test_support',
1959 'content.gyp:content_java',
1962 'java_in_dir': '../content/public/test/android/javatests',
1964 'includes': [ '../build/java.gypi' ],
1967 # GN: //content/shell/android:content_shell_test_apk
1968 # and //content/public/android:content_javatests
1969 'target_name': 'content_shell_test_apk',
1972 'content_java_test_support',
1973 'content_shell_apk_java',
1974 'content.gyp:content_java',
1975 '../base/base.gyp:base_java',
1976 '../base/base.gyp:base_javatests',
1977 '../base/base.gyp:base_java_test_support',
1978 '../device/battery/battery.gyp:device_battery_javatests',
1979 '../media/media.gyp:media_java',
1980 '../media/media.gyp:media_test_support',
1981 '../net/net.gyp:net_java',
1982 '../net/net.gyp:net_javatests',
1983 '../net/net.gyp:net_java_test_support',
1984 '../testing/android/on_device_instrumentation.gyp:broker_java',
1985 '../testing/android/on_device_instrumentation.gyp:require_driver_apk',
1986 '../third_party/mojo/mojo_public.gyp:mojo_public_test_interfaces',
1989 'apk_name': 'ContentShellTest',
1990 'java_in_dir': 'shell/android/javatests',
1991 'resource_dir': 'shell/android/shell_apk/res',
1992 'additional_src_dirs': ['public/android/javatests/', ],
1994 'test_type': 'instrumentation',
1995 'isolate_file': 'content_shell_test_apk.isolate',
1998 '../build/java_apk.gypi',
1999 '../build/android/test_runner.gypi',
2003 # GN: //content/public/android:content_junit_tests
2004 'target_name': 'content_junit_tests',
2007 'content.gyp:content_java',
2008 '../base/base.gyp:base_java',
2009 '../base/base.gyp:base_java_test_support',
2010 '../testing/android/junit/junit_test.gyp:junit_test_support',
2013 'main_class': 'org.chromium.testing.local.JunitTestMain',
2015 'public/android/junit/',
2019 '../build/host_jar.gypi',
2024 ['OS!="android" and OS!="ios" and OS!="linux"', {
2025 # npapi test plugin doesn't build on android or ios
2028 'target_name': 'npapi_test_plugin',
2029 'type': 'loadable_module',
2035 '<(DEPTH)/base/base.gyp:base',
2036 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
2037 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
2040 'test/plugin/npapi_constants.cc',
2041 'test/plugin/npapi_constants.h',
2042 'test/plugin/npapi_test.cc',
2043 'test/plugin/npapi_test.def',
2044 'test/plugin/npapi_test.rc',
2045 'test/plugin/plugin_arguments_test.cc',
2046 'test/plugin/plugin_arguments_test.h',
2047 'test/plugin/plugin_client.cc',
2048 'test/plugin/plugin_client.h',
2049 'test/plugin/plugin_create_instance_in_paint.cc',
2050 'test/plugin/plugin_create_instance_in_paint.h',
2051 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
2052 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
2053 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
2054 'test/plugin/plugin_delete_plugin_in_stream_test.h',
2055 'test/plugin/plugin_execute_stream_javascript.cc',
2056 'test/plugin/plugin_execute_stream_javascript.h',
2057 'test/plugin/plugin_get_javascript_url2_test.cc',
2058 'test/plugin/plugin_get_javascript_url2_test.h',
2059 'test/plugin/plugin_get_javascript_url_test.cc',
2060 'test/plugin/plugin_get_javascript_url_test.h',
2061 'test/plugin/plugin_geturl_test.cc',
2062 'test/plugin/plugin_geturl_test.h',
2063 'test/plugin/plugin_javascript_open_popup.cc',
2064 'test/plugin/plugin_javascript_open_popup.h',
2065 'test/plugin/plugin_new_fails_test.cc',
2066 'test/plugin/plugin_new_fails_test.h',
2067 'test/plugin/plugin_npobject_identity_test.cc',
2068 'test/plugin/plugin_npobject_identity_test.h',
2069 'test/plugin/plugin_npobject_lifetime_test.cc',
2070 'test/plugin/plugin_npobject_lifetime_test.h',
2071 'test/plugin/plugin_npobject_proxy_test.cc',
2072 'test/plugin/plugin_npobject_proxy_test.h',
2073 'test/plugin/plugin_private_test.cc',
2074 'test/plugin/plugin_private_test.h',
2075 'test/plugin/plugin_request_read_test.cc',
2076 'test/plugin/plugin_request_read_test.h',
2077 'test/plugin/plugin_schedule_timer_test.cc',
2078 'test/plugin/plugin_schedule_timer_test.h',
2079 'test/plugin/plugin_setup_test.cc',
2080 'test/plugin/plugin_setup_test.h',
2081 'test/plugin/plugin_test.cc',
2082 'test/plugin/plugin_test.h',
2083 'test/plugin/plugin_test_factory.cc',
2084 'test/plugin/plugin_test_factory.h',
2085 'test/plugin/plugin_thread_async_call_test.cc',
2086 'test/plugin/plugin_thread_async_call_test.h',
2087 'test/plugin/plugin_window_size_test.cc',
2088 'test/plugin/plugin_window_size_test.h',
2089 'test/plugin/plugin_windowed_test.cc',
2090 'test/plugin/plugin_windowed_test.h',
2091 'test/plugin/plugin_windowless_test.cc',
2092 'test/plugin/plugin_windowless_test.h',
2093 'test/plugin/resource.h',
2099 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
2104 # windows-specific resources
2105 'test/plugin/npapi_test.def',
2106 'test/plugin/npapi_test.rc',
2107 # Seems windows specific.
2108 'test/plugin/plugin_create_instance_in_paint.cc',
2109 'test/plugin/plugin_create_instance_in_paint.h',
2110 # TODO(port): Port these.
2111 # plugin_npobject_lifetime_test.cc has win32-isms
2113 'test/plugin/plugin_npobject_lifetime_test.cc',
2114 # The window APIs are necessarily platform-specific.
2115 'test/plugin/plugin_window_size_test.cc',
2116 'test/plugin/plugin_windowed_test.cc',
2120 'product_extension': 'plugin',
2123 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
2127 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
2128 # Shared libraries need -fPIC on x86-64
2134 'target_name': 'copy_npapi_test_plugin',
2137 'npapi_test_plugin',
2143 'destination': '<(PRODUCT_DIR)/plugins',
2144 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
2151 'destination': '<(PRODUCT_DIR)/plugins/',
2152 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
2156 ['os_posix == 1 and OS != "mac"', {
2159 'destination': '<(PRODUCT_DIR)/plugins',
2160 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],