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.
8 'target_name': 'test_support_content',
9 'type': 'static_library',
11 '../net/net.gyp:net_test_support',
12 '../skia/skia.gyp:skia',
13 '../testing/gmock.gyp:gmock',
14 '../testing/gtest.gyp:gtest',
15 '../ui/accessibility/accessibility.gyp:ax_gen',
16 '../ui/events/events.gyp:dom4_keycode_converter',
17 '../ui/events/events.gyp:events_base',
18 '../ui/events/events.gyp:events_test_support',
19 '../ui/gfx/gfx.gyp:gfx',
20 '../ui/gfx/gfx.gyp:gfx_geometry',
21 '../ui/gfx/gfx.gyp:gfx_test_support',
22 '../ui/resources/ui_resources.gyp:ui_resources',
24 '../url/url.gyp:url_lib',
25 'browser/speech/proto/speech_proto.gyp:speech_proto',
26 'content.gyp:content_app_both',
27 'content.gyp:content_browser',
28 'content.gyp:content_common',
34 'public/test/browser_test_base.cc',
35 'public/test/browser_test_base.h',
36 'public/test/browser_test.h',
37 'public/test/browser_test_utils.cc',
38 'public/test/browser_test_utils.h',
39 'public/test/content_test_suite_base.cc',
40 'public/test/content_test_suite_base.h',
41 'public/test/download_test_observer.cc',
42 'public/test/download_test_observer.h',
43 'public/test/fake_speech_recognition_manager.cc',
44 'public/test/fake_speech_recognition_manager.h',
45 'public/test/mock_blob_url_request_context.cc',
46 'public/test/mock_blob_url_request_context.h',
47 'public/test/mock_download_item.cc',
48 'public/test/mock_download_item.h',
49 'public/test/mock_download_manager.cc',
50 'public/test/mock_download_manager.h',
51 'public/test/mock_notification_observer.cc',
52 'public/test/mock_notification_observer.h',
53 'public/test/mock_render_process_host.cc',
54 'public/test/mock_render_process_host.h',
55 'public/test/mock_render_thread.cc',
56 'public/test/mock_render_thread.h',
57 'public/test/mock_resource_context.cc',
58 'public/test/mock_resource_context.h',
59 'public/test/nested_message_pump_android.cc',
60 'public/test/nested_message_pump_android.h',
61 'public/test/render_view_test.cc',
62 'public/test/render_view_test.h',
63 'public/test/render_widget_test.cc',
64 'public/test/render_widget_test.h',
65 'public/test/sandbox_file_system_test_helper.cc',
66 'public/test/sandbox_file_system_test_helper.h',
67 'public/test/test_browser_context.cc',
68 'public/test/test_browser_context.h',
69 'public/test/test_browser_thread.cc',
70 'public/test/test_browser_thread.h',
71 'public/test/test_browser_thread_bundle.cc',
72 'public/test/test_browser_thread_bundle.h',
73 'public/test/test_content_client_initializer.cc',
74 'public/test/test_content_client_initializer.h',
75 'public/test/test_file_error_injector.cc',
76 'public/test/test_file_error_injector.h',
77 'public/test/test_file_system_backend.cc',
78 'public/test/test_file_system_backend.h',
79 'public/test/test_file_system_context.cc',
80 'public/test/test_file_system_context.h',
81 'public/test/test_file_system_options.cc',
82 'public/test/test_file_system_options.h',
83 'public/test/test_launcher.cc',
84 'public/test/test_launcher.h',
85 'public/test/test_navigation_observer.cc',
86 'public/test/test_navigation_observer.h',
87 'public/test/test_notification_tracker.cc',
88 'public/test/test_notification_tracker.h',
89 'public/test/test_renderer_host.cc',
90 'public/test/test_renderer_host.h',
91 'public/test/test_utils.cc',
92 'public/test/test_utils.h',
93 'public/test/unittest_test_suite.cc',
94 'public/test/unittest_test_suite.h',
95 'public/test/web_contents_tester.cc',
96 'public/test/web_contents_tester.h',
97 'app/startup_helper_win.cc',
98 # TODO(phajdan.jr): All of those files should live in content/test (if
99 # they're only used by content) or content/public/test (if they're used
100 # by other embedders).
101 'browser/download/mock_download_file.cc',
102 'browser/download/mock_download_file.h',
103 'browser/geolocation/fake_access_token_store.cc',
104 'browser/geolocation/fake_access_token_store.h',
105 'browser/geolocation/mock_location_arbitrator.cc',
106 'browser/geolocation/mock_location_arbitrator.h',
107 'browser/geolocation/mock_location_provider.cc',
108 'browser/geolocation/mock_location_provider.h',
109 'browser/renderer_host/compositing_iosurface_shader_programs_mac.cc',
110 'browser/renderer_host/compositing_iosurface_shader_programs_mac.h',
111 'browser/renderer_host/compositing_iosurface_transformer_mac.cc',
112 'browser/renderer_host/compositing_iosurface_transformer_mac.h',
113 'browser/renderer_host/media/mock_media_observer.cc',
114 'browser/renderer_host/media/mock_media_observer.h',
115 'gpu/gpu_idirect3d9_mock_win.cc',
116 'gpu/gpu_idirect3d9_mock_win.h',
117 'test/content_test_suite.cc',
118 'test/content_test_suite.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_webclipboard_impl.cc',
128 'test/mock_webclipboard_impl.h',
129 'test/mock_webframeclient.h',
130 'test/mock_weburlloader.cc',
131 'test/mock_weburlloader.h',
132 'test/net/url_request_abort_on_end_job.cc',
133 'test/net/url_request_abort_on_end_job.h',
134 'test/net/url_request_failed_job.cc',
135 'test/net/url_request_failed_job.h',
136 'test/net/url_request_mock_http_job.cc',
137 'test/net/url_request_mock_http_job.h',
138 'test/net/url_request_prepackaged_interceptor.cc',
139 'test/net/url_request_prepackaged_interceptor.h',
140 'test/net/url_request_slow_download_job.cc',
141 'test/net/url_request_slow_download_job.h',
142 'test/ppapi_unittest.cc',
143 'test/ppapi_unittest.h',
144 'test/test_backing_store.cc',
145 'test/test_backing_store.h',
146 'test/test_content_browser_client.cc',
147 'test/test_content_browser_client.h',
148 'test/test_content_client.cc',
149 'test/test_content_client.h',
150 'test/test_media_stream_client.cc',
151 'test/test_media_stream_client.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_video_frame_provider.cc',
161 'test/test_video_frame_provider.h',
162 'test/test_web_contents.cc',
163 'test/test_web_contents.h',
164 'test/test_web_contents_view.cc',
165 'test/test_web_contents_view.h',
166 'test/test_webkit_platform_support.cc',
167 'test/test_webkit_platform_support.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/webkit_support.cc',
173 'test/webkit_support.h',
174 'test/webkit_support_glue.cc',
175 'test/weburl_loader_mock.cc',
176 'test/weburl_loader_mock.h',
177 'test/weburl_loader_mock_factory.cc',
178 'test/weburl_loader_mock_factory.h',
180 # TODO(kinuko): Those files should be moved to content/public/test.
181 '../webkit/browser/appcache/appcache_test_helper.cc',
182 '../webkit/browser/appcache/appcache_test_helper.h',
183 '../webkit/browser/fileapi/async_file_test_helper.cc',
184 '../webkit/browser/fileapi/async_file_test_helper.h',
189 # iOS only needs a small portion of content; exclude all the
190 # implementation, and re-include what is used.
191 ['exclude', '\\.(cc|mm)$'],
192 ['include', '_ios\\.(cc|mm)$'],
193 ['include', '^public/test/content_test_suite_base\\.cc$'],
194 ['include', '^public/test/mock_notification_observer\\.cc$'],
195 ['include', '^public/test/mock_resource_context\\.cc$'],
196 ['include', '^public/test/test_browser_thread\\.cc$'],
197 ['include', '^public/test/test_content_client_initializer\\.cc$'],
198 ['include', '^public/test/test_notification_tracker\\.cc$'],
199 ['include', '^public/test/test_utils\\.cc$'],
200 ['include', '^public/test/unittest_test_suite\\.cc$'],
201 ['include', '^test/content_test_suite\\.cc$'],
202 ['include', '^test/test_content_browser_client\\.cc$'],
203 ['include', '^test/test_content_client\\.cc$'],
209 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
211 'shell/resources/missingImage.png',
212 'shell/resources/textAreaResizeCorner.png',
218 'content.gyp:content_child',
219 'content.gyp:content_gpu',
220 'content.gyp:content_ppapi_plugin',
221 'content.gyp:content_renderer',
222 'content.gyp:content_utility',
223 'content.gyp:content_worker',
224 '../cc/cc_tests.gyp:cc_test_support',
225 '../media/media.gyp:media',
226 '../ppapi/ppapi_internal.gyp:ppapi_host',
227 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
228 '../ppapi/ppapi_internal.gyp:ppapi_shared',
229 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
230 '../third_party/WebKit/public/blink.gyp:blink',
231 '../ui/surface/surface.gyp:surface',
232 '../webkit/child/webkit_child.gyp:webkit_child',
233 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
234 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
235 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
236 '../webkit/storage_browser.gyp:webkit_storage_browser',
237 '../webkit/storage_common.gyp:webkit_storage_common',
239 'export_dependent_settings': [
240 '../third_party/WebKit/public/blink.gyp:blink',
243 ['OS == "win" or toolkit_uses_gtk == 1', {
245 '../sandbox/sandbox.gyp:sandbox',
248 ['enable_webrtc==1', {
250 'renderer/media/mock_media_stream_dependency_factory.cc',
251 'renderer/media/mock_media_stream_dependency_factory.h',
252 'renderer/media/mock_media_stream_dispatcher.cc',
253 'renderer/media/mock_media_stream_dispatcher.h',
254 'renderer/media/mock_media_stream_registry.cc',
255 'renderer/media/mock_media_stream_registry.h',
256 'renderer/media/mock_peer_connection_impl.cc',
257 'renderer/media/mock_peer_connection_impl.h',
258 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
259 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
260 'test/webrtc_audio_device_test.cc',
261 'test/webrtc_audio_device_test.h',
264 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
265 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
266 '../third_party/webrtc/modules/modules.gyp:audio_device',
267 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
270 ['toolkit_uses_gtk == 1', {
272 '../build/linux/system.gyp:gtk',
277 '../build/linux/system.gyp:glib',
282 '../ui/aura/aura.gyp:aura_test_support',
283 '../ui/resources/ui_resources.gyp:ui_test_pak',
286 ['use_aura==1 or OS=="mac"', {
288 '../ui/compositor/compositor.gyp:compositor',
293 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
296 ['OS!="android" and OS!="ios"', {
298 '../third_party/libvpx/libvpx.gyp:libvpx',
303 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
304 'test_support_content_jni_headers',
310 'target_name': 'content_unittests',
311 'type': '<(gtest_target_type)',
313 'content.gyp:content_browser',
314 'content.gyp:content_common',
315 'test_support_content',
316 'browser/speech/proto/speech_proto.gyp:speech_proto',
317 '../base/base.gyp:test_support_base',
318 '../crypto/crypto.gyp:crypto',
319 '../net/net.gyp:net_test_support',
320 '../skia/skia.gyp:skia',
321 '../sql/sql.gyp:sql',
322 '../sql/sql.gyp:test_support_sql',
323 '../testing/gmock.gyp:gmock',
324 '../testing/gtest.gyp:gtest',
325 '../third_party/re2/re2.gyp:re2',
326 '../ui/accessibility/accessibility.gyp:accessibility',
327 '../ui/gfx/gfx.gyp:gfx',
328 '../ui/gfx/gfx.gyp:gfx_geometry',
330 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
334 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_unittest.cc.
337 'browser/accessibility/browser_accessibility_mac_unittest.mm',
338 'browser/accessibility/browser_accessibility_manager_unittest.cc',
339 'browser/accessibility/browser_accessibility_win_unittest.cc',
340 'browser/appcache/chrome_appcache_service_unittest.cc',
341 'browser/browser_thread_unittest.cc',
342 'browser/browser_url_handler_impl_unittest.cc',
343 'browser/byte_stream_unittest.cc',
344 'browser/child_process_security_policy_unittest.cc',
345 'browser/compositor/software_browser_compositor_output_surface_unittest.cc',
346 'browser/compositor/software_output_device_ozone_unittest.cc',
347 'browser/device_orientation/data_fetcher_impl_android_unittest.cc',
348 'browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc',
349 'browser/devtools/devtools_http_handler_unittest.cc',
350 'browser/devtools/devtools_manager_unittest.cc',
351 'browser/dom_storage/dom_storage_area_unittest.cc',
352 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
353 'browser/dom_storage/dom_storage_database_unittest.cc',
354 'browser/dom_storage/session_storage_database_unittest.cc',
355 'browser/download/base_file_unittest.cc',
356 'browser/download/download_file_unittest.cc',
357 'browser/download/download_item_impl_unittest.cc',
358 'browser/download/download_manager_impl_unittest.cc',
359 'browser/download/file_metadata_unittest_linux.cc',
360 'browser/download/rate_estimator_unittest.cc',
361 'browser/download/save_package_unittest.cc',
362 'browser/fileapi/blob_url_request_job_unittest.cc',
363 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
364 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
365 'browser/fileapi/dragged_file_util_unittest.cc',
366 'browser/fileapi/file_system_context_unittest.cc',
367 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
368 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
369 'browser/fileapi/file_system_operation_impl_unittest.cc',
370 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
371 'browser/fileapi/file_system_operation_runner_unittest.cc',
372 'browser/fileapi/file_system_quota_client_unittest.cc',
373 'browser/fileapi/file_system_url_request_job_unittest.cc',
374 'browser/fileapi/file_writer_delegate_unittest.cc',
375 'browser/fileapi/fileapi_message_filter_unittest.cc',
376 'browser/fileapi/local_file_util_unittest.cc',
377 'browser/fileapi/obfuscated_file_util_unittest.cc',
378 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
379 'browser/fileapi/recursive_operation_delegate_unittest.cc',
380 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
381 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
382 'browser/fileapi/transient_file_util_unittest.cc',
383 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
384 'browser/frame_host/frame_tree_unittest.cc',
385 'browser/frame_host/navigation_controller_impl_unittest.cc',
386 'browser/frame_host/navigation_entry_impl_unittest.cc',
387 'browser/frame_host/render_frame_host_manager_unittest.cc',
388 'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
389 'browser/frame_host/render_widget_host_view_guest_unittest.cc',
390 'browser/gamepad/gamepad_provider_unittest.cc',
391 'browser/gamepad/gamepad_test_helpers.cc',
392 'browser/gamepad/gamepad_test_helpers.h',
393 'browser/geolocation/geolocation_provider_unittest.cc',
394 'browser/geolocation/location_arbitrator_impl_unittest.cc',
395 'browser/geolocation/network_location_provider_unittest.cc',
396 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
397 'browser/geolocation/wifi_data_provider_common_unittest.cc',
398 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
399 'browser/geolocation/wifi_data_provider_unittest_win.cc',
400 'browser/gpu/shader_disk_cache_unittest.cc',
401 'browser/host_zoom_map_impl_unittest.cc',
402 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
403 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
404 'browser/indexed_db/indexed_db_database_unittest.cc',
405 'browser/indexed_db/indexed_db_factory_unittest.cc',
406 'browser/indexed_db/indexed_db_fake_backing_store.cc',
407 'browser/indexed_db/indexed_db_fake_backing_store.h',
408 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
409 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
410 'browser/indexed_db/indexed_db_transaction_unittest.cc',
411 'browser/indexed_db/indexed_db_unittest.cc',
412 'browser/indexed_db/mock_indexed_db_callbacks.cc',
413 'browser/indexed_db/mock_indexed_db_callbacks.h',
414 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
415 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
416 'browser/indexed_db/leveldb/leveldb_unittest.cc',
417 'browser/indexed_db/list_set_unittest.cc',
418 'browser/loader/offline_policy_unittest.cc',
419 'browser/loader/resource_buffer_unittest.cc',
420 'browser/loader/resource_dispatcher_host_unittest.cc',
421 'browser/loader/resource_loader_unittest.cc',
422 'browser/loader/resource_scheduler_unittest.cc',
423 'browser/loader/upload_data_stream_builder_unittest.cc',
424 'browser/mach_broker_mac_unittest.cc',
425 'browser/media/media_internals_unittest.cc',
426 'browser/media/webrtc_identity_store_unittest.cc',
427 'browser/net/sqlite_persistent_cookie_store_unittest.cc',
428 'browser/notification_service_impl_unittest.cc',
429 'browser/plugin_loader_posix_unittest.cc',
430 'browser/power_monitor_message_broadcaster_unittest.cc',
431 'browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc',
432 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',
433 'browser/renderer_host/input/gesture_event_queue_unittest.cc',
434 'browser/renderer_host/input/input_router_impl_unittest.cc',
435 'browser/renderer_host/input/mock_input_ack_handler.cc',
436 'browser/renderer_host/input/mock_input_ack_handler.h',
437 'browser/renderer_host/input/mock_input_router_client.cc',
438 'browser/renderer_host/input/mock_input_router_client.h',
439 'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
440 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
441 'browser/renderer_host/input/touch_action_filter_unittest.cc',
442 'browser/renderer_host/input/touch_disposition_gesture_filter_unittest.cc',
443 'browser/renderer_host/input/touch_event_queue_unittest.cc',
444 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
445 'browser/renderer_host/media/audio_mirroring_manager_unittest.cc',
446 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
447 'browser/renderer_host/media/device_request_message_filter_unittest.cc',
448 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
449 'browser/renderer_host/media/media_stream_manager_unittest.cc',
450 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
451 'browser/renderer_host/media/midi_host_unittest.cc',
452 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
453 'browser/renderer_host/media/video_capture_controller_unittest.cc',
454 'browser/renderer_host/media/video_capture_host_unittest.cc',
455 'browser/renderer_host/media/video_capture_manager_unittest.cc',
456 'browser/renderer_host/media/video_capture_oracle_unittest.cc',
457 'browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc',
458 'browser/renderer_host/media/web_contents_video_capture_device_unittest.cc',
459 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
460 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
461 'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
462 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
463 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
464 'browser/renderer_host/pepper/quota_reservation_unittest.cc',
465 'browser/renderer_host/render_process_host_unittest.cc',
466 'browser/renderer_host/render_view_host_unittest.cc',
467 'browser/renderer_host/render_widget_host_unittest.cc',
468 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
469 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
470 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
471 'browser/renderer_host/software_frame_manager_unittest.cc',
472 'browser/renderer_host/text_input_client_mac_unittest.mm',
473 'browser/renderer_host/web_input_event_aura_unittest.cc',
474 'browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc',
475 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
476 'browser/resolve_proxy_msg_helper_unittest.cc',
477 'browser/service_worker/embedded_worker_instance_unittest.cc',
478 'browser/service_worker/embedded_worker_test_helper.cc',
479 'browser/service_worker/embedded_worker_test_helper.h',
480 'browser/service_worker/service_worker_context_unittest.cc',
481 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
482 'browser/service_worker/service_worker_job_unittest.cc',
483 'browser/service_worker/service_worker_registration_unittest.cc',
484 'browser/service_worker/service_worker_storage_unittest.cc',
485 'browser/service_worker/service_worker_version_unittest.cc',
486 'browser/site_instance_impl_unittest.cc',
487 'browser/speech/chunked_byte_buffer_unittest.cc',
488 'browser/speech/endpointer/endpointer_unittest.cc',
489 'browser/speech/google_one_shot_remote_engine_unittest.cc',
490 'browser/speech/google_streaming_remote_engine_unittest.cc',
491 'browser/speech/speech_recognizer_impl_unittest.cc',
492 'browser/ssl/ssl_host_state_unittest.cc',
493 'browser/startup_task_runner_unittest.cc',
494 'browser/storage_partition_impl_map_unittest.cc',
495 'browser/storage_partition_impl_unittest.cc',
496 'browser/streams/stream_unittest.cc',
497 'browser/streams/stream_url_request_job_unittest.cc',
498 'browser/system_message_window_win_unittest.cc',
499 'browser/web_contents/aura/window_slider_unittest.cc',
500 'browser/web_contents/web_contents_delegate_unittest.cc',
501 'browser/web_contents/web_contents_impl_unittest.cc',
502 'browser/web_contents/web_contents_user_data_unittest.cc',
503 'browser/web_contents/web_contents_view_mac_unittest.mm',
504 'browser/web_contents/web_drag_dest_mac_unittest.mm',
505 'browser/web_contents/web_drag_source_mac_unittest.mm',
506 'browser/webui/web_ui_data_source_unittest.cc',
507 'browser/webui/web_ui_message_handler_unittest.cc',
508 'child/fileapi/webfilewriter_base_unittest.cc',
509 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
510 'child/indexed_db/webidbcursor_impl_unittest.cc',
511 'child/npapi/plugin_lib_unittest.cc',
512 'child/power_monitor_broadcast_source_unittest.cc',
513 'child/resource_dispatcher_unittest.cc',
514 'child/site_isolation_policy_unittest.cc',
515 'common/android/address_parser_unittest.cc',
516 'common/cc_messages_unittest.cc',
517 'common/common_param_traits_unittest.cc',
518 'common/dom_storage/dom_storage_map_unittest.cc',
519 'common/gpu/gpu_memory_manager_unittest.cc',
520 'common/indexed_db/indexed_db_key_unittest.cc',
521 'common/input/input_param_traits_unittest.cc',
522 'common/input/web_input_event_traits_unittest.cc',
523 'common/inter_process_time_ticks_converter_unittest.cc',
524 'common/mac/attributed_string_coder_unittest.mm',
525 'common/mac/font_descriptor_unittest.mm',
526 'common/page_state_serialization_unittest.cc',
527 'common/page_zoom_unittest.cc',
528 'common/plugin_list_unittest.cc',
529 'common/sandbox_mac_diraccess_unittest.mm',
530 'common/sandbox_mac_fontloading_unittest.mm',
531 'common/sandbox_mac_system_access_unittest.mm',
532 'common/sandbox_mac_unittest_helper.h',
533 'common/sandbox_mac_unittest_helper.mm',
534 'common/webplugininfo_unittest.cc',
535 'renderer/active_notification_tracker_unittest.cc',
536 'renderer/android/email_detector_unittest.cc',
537 'renderer/android/phone_number_detector_unittest.cc',
538 'renderer/bmp_image_decoder_unittest.cc',
539 'renderer/device_orientation/device_motion_event_pump_unittest.cc',
540 'renderer/device_orientation/device_orientation_event_pump_unittest.cc',
541 'renderer/disambiguation_popup_helper_unittest.cc',
542 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
543 'renderer/ico_image_decoder_unittest.cc',
544 'renderer/input/input_event_filter_unittest.cc',
545 'renderer/input/input_handler_proxy_unittest.cc',
546 'renderer/media/android/media_info_loader_unittest.cc',
547 'renderer/media/audio_message_filter_unittest.cc',
548 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
549 'renderer/media/buffered_data_source_unittest.cc',
550 'renderer/media/buffered_resource_loader_unittest.cc',
551 'renderer/media/cache_util_unittest.cc',
552 'renderer/media/crypto/key_systems_unittest.cc',
553 'renderer/media/media_stream_video_source_unittest.cc',
554 'renderer/media/test_response_generator.cc',
555 'renderer/media/test_response_generator.h',
556 'renderer/media/video_capture_impl_manager_unittest.cc',
557 'renderer/media/video_capture_impl_unittest.cc',
558 'renderer/media/video_capture_message_filter_unittest.cc',
559 'renderer/media/video_destination_handler_unittest.cc',
560 'renderer/media/webaudiosourceprovider_impl_unittest.cc',
561 'renderer/npapi/webplugin_impl_unittest.cc',
562 'renderer/paint_aggregator_unittest.cc',
563 'renderer/pepper/host_var_tracker_unittest.cc',
564 'renderer/pepper/mock_resource.h',
565 'renderer/pepper/pepper_broker_unittest.cc',
566 'renderer/pepper/v8_var_converter_unittest.cc',
567 'renderer/render_frame_impl_unittest.cc',
568 'renderer/render_thread_impl_unittest.cc',
569 'renderer/render_widget_unittest.cc',
570 'renderer/skia_benchmarking_extension_unittest.cc',
571 'renderer/v8_value_converter_impl_unittest.cc',
572 'renderer/webcrypto/webcrypto_impl_unittest.cc',
573 'test/image_decoder_test.cc',
574 'test/image_decoder_test.h',
575 'test/run_all_unittests.cc',
576 '../webkit/browser/appcache/appcache_database_unittest.cc',
577 '../webkit/browser/appcache/appcache_disk_cache_unittest.cc',
578 '../webkit/browser/appcache/appcache_group_unittest.cc',
579 '../webkit/browser/appcache/appcache_host_unittest.cc',
580 '../webkit/browser/appcache/appcache_quota_client_unittest.cc',
581 '../webkit/browser/appcache/appcache_request_handler_unittest.cc',
582 '../webkit/browser/appcache/appcache_response_unittest.cc',
583 '../webkit/browser/appcache/appcache_service_unittest.cc',
584 '../webkit/browser/appcache/appcache_storage_impl_unittest.cc',
585 '../webkit/browser/appcache/appcache_storage_unittest.cc',
586 '../webkit/browser/appcache/appcache_unittest.cc',
587 '../webkit/browser/appcache/appcache_update_job_unittest.cc',
588 '../webkit/browser/appcache/appcache_url_request_job_unittest.cc',
589 '../webkit/browser/appcache/manifest_parser_unittest.cc',
590 '../webkit/browser/appcache/mock_appcache_policy.cc',
591 '../webkit/browser/appcache/mock_appcache_policy.h',
592 '../webkit/browser/appcache/mock_appcache_service.cc',
593 '../webkit/browser/appcache/mock_appcache_service.h',
594 '../webkit/browser/appcache/mock_appcache_storage.cc',
595 '../webkit/browser/appcache/mock_appcache_storage.h',
596 '../webkit/browser/appcache/mock_appcache_storage_unittest.cc',
597 '../webkit/browser/blob/blob_storage_context_unittest.cc',
598 '../webkit/browser/blob/local_file_stream_reader_unittest.cc',
599 '../webkit/browser/database/database_quota_client_unittest.cc',
600 '../webkit/browser/database/database_tracker_unittest.cc',
601 '../webkit/browser/database/database_util_unittest.cc',
602 '../webkit/browser/database/databases_table_unittest.cc',
603 '../webkit/browser/fileapi/external_mount_points_unittest.cc',
604 '../webkit/browser/fileapi/file_system_url_unittest.cc',
605 '../webkit/browser/fileapi/file_system_usage_cache_unittest.cc',
606 '../webkit/browser/fileapi/isolated_context_unittest.cc',
607 '../webkit/browser/fileapi/local_file_stream_writer_unittest.cc',
608 '../webkit/browser/fileapi/mock_file_change_observer.cc',
609 '../webkit/browser/fileapi/mock_file_change_observer.h',
610 '../webkit/browser/fileapi/native_file_util_unittest.cc',
611 '../webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc',
612 '../webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc',
613 '../webkit/browser/fileapi/sandbox_database_test_helper.cc',
614 '../webkit/browser/fileapi/sandbox_database_test_helper.h',
615 '../webkit/browser/fileapi/sandbox_directory_database_unittest.cc',
616 '../webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
617 '../webkit/browser/fileapi/sandbox_origin_database_unittest.cc',
618 '../webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
619 '../webkit/browser/fileapi/test_file_set.cc',
620 '../webkit/browser/fileapi/test_file_set.h',
621 '../webkit/browser/fileapi/timed_task_helper_unittest.cc',
622 '../webkit/child/multipart_response_delegate_unittest.cc',
623 '../webkit/child/touch_fling_gesture_curve_unittest.cc',
624 '../webkit/child/worker_task_runner_unittest.cc',
625 '../webkit/common/blob/shareable_file_reference_unittest.cc',
626 '../webkit/common/cursors/webcursor_unittest.cc',
627 '../webkit/common/database/database_connections_unittest.cc',
628 '../webkit/common/database/database_identifier_unittest.cc',
629 '../webkit/common/fileapi/file_system_util_unittest.cc',
630 '../webkit/glue/webkit_glue_unittest.cc',
631 '../webkit/common/user_agent/user_agent_unittest.cc',
632 '../webkit/browser/quota/mock_quota_manager.cc',
633 '../webkit/browser/quota/mock_quota_manager.h',
634 '../webkit/browser/quota/mock_quota_manager_proxy.cc',
635 '../webkit/browser/quota/mock_quota_manager_proxy.h',
636 '../webkit/browser/quota/mock_quota_manager_unittest.cc',
637 '../webkit/browser/quota/mock_special_storage_policy.cc',
638 '../webkit/browser/quota/mock_special_storage_policy.h',
639 '../webkit/browser/quota/mock_storage_client.cc',
640 '../webkit/browser/quota/mock_storage_client.h',
641 '../webkit/browser/quota/quota_database_unittest.cc',
642 '../webkit/browser/quota/quota_manager_unittest.cc',
643 '../webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc',
644 '../webkit/browser/quota/usage_tracker_unittest.cc',
649 # iOS only needs a small portion of content; exclude all the
650 # implementation, and re-include what is used.
651 ['exclude', '\\.(cc|mm)$'],
652 ['include', '_ios\\.(cc|mm)$'],
653 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
654 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
655 ['include', '^test/run_all_unittests\\.cc$'],
659 'content.gyp:content_browser',
660 'content.gyp:content_child',
661 'content.gyp:content_gpu',
662 'content.gyp:content_plugin',
663 'content.gyp:content_renderer',
664 'content_resources.gyp:content_resources',
665 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
666 '../gpu/gpu.gyp:gpu',
667 '../gpu/gpu.gyp:gpu_unittest_utils',
668 '../ipc/ipc.gyp:test_support_ipc',
669 '../jingle/jingle.gyp:jingle_glue_test_util',
670 '../media/media.gyp:media_test_support',
671 '../media/media.gyp:shared_memory_support',
672 '../third_party/WebKit/public/blink.gyp:blink',
673 '../third_party/icu/icu.gyp:icui18n',
674 '../third_party/icu/icu.gyp:icuuc',
675 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
676 '../third_party/libjingle/libjingle.gyp:libjingle',
677 '../ui/compositor/compositor.gyp:compositor_test_support',
678 '../ui/gl/gl.gyp:gl',
679 '../v8/tools/gyp/v8.gyp:v8',
680 '../webkit/common/webkit_common.gyp:webkit_common',
681 '../webkit/child/webkit_child.gyp:webkit_child',
682 '../webkit/storage_browser.gyp:webkit_storage_browser',
683 '../webkit/storage_common.gyp:webkit_storage_common',
686 ['enable_plugins==0', {
688 ['exclude', '^browser/renderer_host/pepper/'],
689 ['exclude', '^child/npapi/'],
690 ['exclude', '^renderer/npapi/'],
691 ['exclude', '^renderer/pepper/'],
694 'browser/plugin_loader_posix_unittest.cc',
695 'renderer/media/media_stream_video_source_unittest.cc',
696 'renderer/media/video_destination_handler_unittest.cc',
699 ['enable_webrtc==1', {
701 'browser/media/webrtc_internals_unittest.cc',
702 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
703 'browser/renderer_host/p2p/socket_host_test_utils.cc',
704 'browser/renderer_host/p2p/socket_host_test_utils.h',
705 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
706 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
707 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
708 'renderer/media/media_stream_audio_processor_unittest.cc',
709 'renderer/media/media_stream_dependency_factory_unittest.cc',
710 'renderer/media/media_stream_dispatcher_unittest.cc',
711 'renderer/media/media_stream_impl_unittest.cc',
712 'renderer/media/rtc_peer_connection_handler_unittest.cc',
713 'renderer/media/rtc_video_decoder_unittest.cc',
714 'renderer/media/video_source_handler_unittest.cc',
715 'renderer/media/webrtc_audio_capturer_unittest.cc',
716 'renderer/media/webrtc_audio_device_unittest.cc',
717 'renderer/media/webrtc_identity_service_unittest.cc',
718 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
719 'renderer/media/webrtc_local_audio_track_unittest.cc',
722 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
723 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
724 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
725 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine',
729 'renderer/media/media_stream_video_source_unittest.cc',
730 'renderer/media/video_destination_handler_unittest.cc',
733 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
735 'browser/renderer_host/media/desktop_capture_device_unittest.cc',
738 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
741 ['enable_webrtc==1 and chromeos==1', {
743 'browser/renderer_host/media/desktop_capture_device_aura_unittest.cc',
746 # TODO(jrg): remove the OS=="android" section?
747 # http://crbug.com/113172
748 # Understand better how media_stream_ is tied into Chromium.
749 ['enable_webrtc==0 and OS=="android"', {
751 ['exclude', '^renderer/media/media_stream_'],
754 ['input_speech==0', {
756 ['exclude', '^browser/speech/'],
759 ['notifications==0', {
761 'renderer/active_notification_tracker_unittest.cc',
766 '../build/linux/system.gyp:dbus',
767 '../dbus/dbus.gyp:dbus_test_support',
770 ['OS=="win" and win_use_allocator_shim==1', {
772 '../base/allocator/allocator.gyp:allocator',
777 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
781 # These flags are needed to run the test on Mac.
782 # Search for comments about "xcode_settings" in chrome_tests.gypi.
783 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
787 ['exclude', '^browser/renderer_host/gtk_key_bindings_handler_unittest.cc'],
788 ['exclude', '^browser/geolocation/wifi_data_provider_linux_unittest.cc'],
793 '../ui/aura/aura.gyp:aura',
796 ['use_aura==1 or toolkit_views==1', {
798 '../ui/events/events.gyp:events_test_support',
801 ['use_aura!=1 and OS!="mac"', {
803 ['exclude', '^browser/compositor/'],
806 ['OS == "android"', {
808 'browser/renderer_host/java/jni_helper_unittest.cc',
811 'browser/geolocation/network_location_provider_unittest.cc',
812 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
813 'browser/geolocation/wifi_data_provider_common_unittest.cc',
814 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
817 ['OS != "android" and OS != "ios"', {
819 '../third_party/libvpx/libvpx.gyp:libvpx',
822 ['OS == "android" and gtest_target_type == "shared_library"', {
824 '../testing/android/native_test.gyp:native_test_native_code',
827 ['use_aura!=1 and OS!="android"', {
829 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
834 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
841 ['test_isolation_mode != "noop"', {
844 'target_name': 'content_unittests_run',
850 '../build/isolate.gypi',
851 'content_unittests.isolate',
854 'content_unittests.isolate',
862 'target_name': 'content_perftests',
863 'type': '<(gtest_target_type)',
864 'defines!': ['CONTENT_IMPLEMENTATION'],
866 'content.gyp:content_common',
867 'test_support_content',
868 '../base/base.gyp:test_support_base',
870 '../skia/skia.gyp:skia',
871 '../testing/gtest.gyp:gtest',
872 '../testing/perf/perf_test.gyp:*',
873 '../ui/gfx/gfx.gyp:gfx',
874 '../ui/gfx/gfx.gyp:gfx_geometry',
880 'common/cc_messages_perftest.cc',
881 'test/run_all_perftests.cc',
885 'target_name': 'content_browser_test_support',
886 'type': 'static_library',
889 '../skia/skia.gyp:skia',
890 '../testing/gtest.gyp:gtest',
891 '../ui/accessibility/accessibility.gyp:ax_gen',
894 'test/accessibility_browser_test_utils.cc',
895 'test/accessibility_browser_test_utils.h',
896 'test/content_browser_test.cc',
897 'test/content_browser_test.h',
898 'test/content_browser_test_utils.cc',
899 'test/content_browser_test_utils.h',
900 'test/content_browser_test_utils_mac.mm',
904 'target_name': 'content_browsertests',
905 'type': '<(gtest_target_type)',
907 'content.gyp:content_common',
908 'content.gyp:content_gpu',
909 'content.gyp:content_plugin',
910 'content.gyp:content_renderer',
911 'content_browser_test_support',
912 'content_resources.gyp:content_resources',
915 '../base/base.gyp:test_support_base',
916 '../gin/gin.gyp:gin',
917 '../gpu/gpu.gyp:gpu',
918 '../ipc/ipc.gyp:test_support_ipc',
919 '../media/media.gyp:media_test_support',
920 '../media/media.gyp:shared_memory_support',
921 '../net/net.gyp:net_test_support',
922 '../ppapi/ppapi_internal.gyp:ppapi_host',
923 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
924 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
925 '../ppapi/ppapi_internal.gyp:ppapi_shared',
926 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
927 '../testing/gmock.gyp:gmock',
928 '../testing/gtest.gyp:gtest',
929 '../third_party/WebKit/public/blink.gyp:blink',
930 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
931 '../third_party/mesa/mesa.gyp:osmesa',
932 '../ui/accessibility/accessibility.gyp:accessibility',
933 '../ui/gfx/gfx.gyp:gfx',
934 '../ui/gfx/gfx.gyp:gfx_geometry',
935 '../ui/gl/gl.gyp:gl',
936 '../ui/resources/ui_resources.gyp:ui_resources',
937 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
938 '../ui/snapshot/snapshot.gyp:snapshot',
940 '../webkit/child/webkit_child.gyp:webkit_child',
941 '../ui/accessibility/accessibility.gyp:ax_gen',
945 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
948 'browser/gpu/test_support_gpu.gypi',
951 'HAS_OUT_OF_PROC_TEST_RUNNER',
954 'browser/accessibility/accessibility_win_browsertest.cc',
955 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
956 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
957 'browser/compositor/image_transport_factory_browsertest.cc',
958 'browser/bookmarklet_browsertest.cc',
959 'browser/browser_plugin/browser_plugin_host_browsertest.cc',
960 'browser/browser_plugin/test_browser_plugin_embedder.cc',
961 'browser/browser_plugin/test_browser_plugin_embedder.h',
962 'browser/browser_plugin/test_browser_plugin_guest.cc',
963 'browser/browser_plugin/test_browser_plugin_guest.h',
964 'browser/browser_plugin/test_browser_plugin_guest_delegate.cc',
965 'browser/browser_plugin/test_browser_plugin_guest_delegate.h',
966 'browser/browser_plugin/test_browser_plugin_guest_manager.cc',
967 'browser/browser_plugin/test_browser_plugin_guest_manager.h',
968 'browser/child_process_security_policy_browsertest.cc',
969 'browser/database_browsertest.cc',
970 'browser/device_orientation/device_inertial_sensor_browsertest.cc',
971 'browser/devtools/renderer_overrides_handler_browsertest.cc',
972 'browser/dom_storage/dom_storage_browsertest.cc',
973 'browser/download/download_browsertest.cc',
974 'browser/download/drag_download_file_browsertest.cc',
975 'browser/download/mhtml_generation_browsertest.cc',
976 'browser/download/save_package_browsertest.cc',
977 'browser/fileapi/file_system_browsertest.cc',
978 'browser/frame_host/frame_tree_browsertest.cc',
979 'browser/frame_host/render_frame_host_manager_browsertest.cc',
980 'browser/gpu/compositor_util_browsertest.cc',
981 'browser/gpu/gpu_ipc_browsertests.cc',
982 'browser/indexed_db/indexed_db_browsertest.cc',
983 'browser/loader/resource_dispatcher_host_browsertest.cc',
984 'browser/media/encrypted_media_browsertest.cc',
985 'browser/media/media_browsertest.cc',
986 'browser/media/media_browsertest.h',
987 'browser/media/media_source_browsertest.cc',
988 'browser/media/webrtc_internals_browsertest.cc',
989 'browser/plugin_data_remover_impl_browsertest.cc',
990 'browser/plugin_browsertest.cc',
991 'browser/plugin_service_impl_browsertest.cc',
992 'browser/renderer_host/input/touch_input_browsertest.cc',
993 'browser/renderer_host/render_process_host_browsertest.cc',
994 'browser/renderer_host/render_view_host_browsertest.cc',
995 'browser/renderer_host/render_widget_host_browsertest.cc',
996 'browser/renderer_host/render_widget_host_view_browsertest.cc',
997 'browser/security_exploit_browsertest.cc',
998 'browser/service_worker/service_worker_browsertest.cc',
999 'browser/session_history_browsertest.cc',
1000 'browser/site_per_process_browsertest.cc',
1001 'browser/speech/input_tag_speech_browsertest.cc',
1002 'browser/speech/speech_recognition_browsertest.cc',
1003 'browser/tracing/tracing_controller_browsertest.cc',
1004 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1005 'browser/web_contents/web_contents_impl_browsertest.cc',
1006 'browser/web_contents/web_contents_view_aura_browsertest.cc',
1007 'browser/webkit_browsertest.cc',
1008 'browser/worker_host/test/worker_browsertest.cc',
1009 'child/site_isolation_policy_browsertest.cc',
1010 'common/gpu/client/context_provider_command_buffer_browsertest.cc',
1011 'renderer/accessibility/renderer_accessibility_browsertest.cc',
1012 'renderer/browser_plugin/browser_plugin_browsertest.cc',
1013 'renderer/browser_plugin/browser_plugin_browsertest.h',
1014 'renderer/browser_plugin/mock_browser_plugin.cc',
1015 'renderer/browser_plugin/mock_browser_plugin.h',
1016 'renderer/browser_plugin/mock_browser_plugin_manager.cc',
1017 'renderer/browser_plugin/mock_browser_plugin_manager.h',
1018 'renderer/dom_serializer_browsertest.cc',
1019 'renderer/gin_browsertest.cc',
1020 'renderer/mouse_lock_dispatcher_browsertest.cc',
1021 'renderer/pepper/fake_pepper_plugin_instance.cc',
1022 'renderer/pepper/mock_renderer_ppapi_host.cc',
1023 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
1024 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
1025 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
1026 'renderer/pepper/pepper_url_request_unittest.cc',
1027 'renderer/render_thread_impl_browsertest.cc',
1028 'renderer/render_view_browsertest.cc',
1029 'renderer/render_view_browsertest_mac.mm',
1030 'renderer/render_widget_browsertest.cc',
1031 'renderer/resource_fetcher_browsertest.cc',
1032 'renderer/savable_resources_browsertest.cc',
1033 'test/content_browser_test_test.cc',
1034 'test/content_test_launcher.cc',
1035 'test/webui_resource_browsertest.cc',
1040 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1044 'resource_include_dirs': [
1045 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1048 'shell/app/resource.h',
1049 'shell/app/shell.rc',
1050 # TODO: It would be nice to have these pulled in
1051 # automatically from direct_dependent_settings in
1052 # their various targets (net.gyp:net_resources, etc.),
1053 # but that causes errors in other targets when
1054 # resulting .res files get referenced multiple times.
1055 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1056 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc',
1057 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
1060 '<(DEPTH)/net/net.gyp:net_resources',
1061 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1062 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1063 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
1064 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
1070 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1075 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1076 'msvs_disabled_warnings': [ 4267, ],
1079 'browser/accessibility/accessibility_win_browsertest.cc',
1082 ['OS=="win" and win_use_allocator_shim==1', {
1084 '../base/allocator/allocator.gyp:allocator',
1089 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1094 'shell/android/browsertests_apk/content_browser_tests_android.cc',
1097 'content_shell_jni_headers',
1098 'content_shell_lib',
1099 '../testing/android/native_test.gyp:native_test_util',
1104 'content_shell', # Needed for Content Shell.app's Helper.
1107 'renderer/external_popup_menu_browsertest.cc',
1112 'browser/accessibility/accessibility_win_browsertest.cc',
1115 ['use_aura==1 and OS!="win"', {
1117 'browser/plugin_browsertest.cc',
1120 ['use_aura==1 or toolkit_views==1', {
1122 '../ui/events/events.gyp:events_test_support',
1125 ['use_aura!=1 and OS!="mac"', {
1127 ['exclude', '^browser/compositor/'],
1130 ['OS!="android" and OS!="ios"', {
1131 # npapi test plugin doesn't build on android or ios
1133 # Runtime dependencies
1134 'copy_npapi_test_plugin',
1137 ['enable_webrtc==1', {
1139 'browser/media/webrtc_aecdump_browsertest.cc',
1140 'browser/media/webrtc_browsertest.cc',
1141 'browser/media/webrtc_getusermedia_browsertest.cc',
1142 'test/webrtc_content_browsertest_base.cc',
1143 'test/webrtc_content_browsertest_base.h',
1146 '../testing/perf/perf_test.gyp:perf_test',
1149 ['enable_plugins==0', {
1151 ['exclude', '^renderer/pepper/'],
1154 'browser/plugin_service_impl_browsertest.cc',
1155 'browser/plugin_data_remover_impl_browsertest.cc',
1158 ['input_speech==0', {
1160 ['exclude', '^browser/speech/'],
1163 ['branding=="Chrome"', {
1165 # These tests depend on single process mode, which is disabled
1166 # in official builds.
1167 'renderer/dom_serializer_browsertest.cc',
1168 'renderer/resource_fetcher_browsertest.cc',
1169 'renderer/savable_resources_browsertest.cc',
1175 'target_name': 'content_gl_tests',
1176 'type': '<(gtest_target_type)',
1178 'content.gyp:content_common',
1179 'test_support_content',
1180 '../base/base.gyp:test_support_base',
1181 '../gpu/gpu.gyp:command_buffer_common',
1182 '../testing/gtest.gyp:gtest',
1183 '../ui/gfx/gfx.gyp:gfx',
1184 '../ui/gfx/gfx.gyp:gfx_geometry',
1185 '../ui/gl/gl.gyp:gl',
1187 '../third_party/WebKit/public/blink.gyp:blink',
1188 # The following two dependencies provide the missing
1189 # symbol HeapProfilerStart in Linux component builds.
1190 '../webkit/child/webkit_child.gyp:webkit_child',
1196 'common/gpu/client/gl_helper_unittest.cc',
1197 'common/gpu/client/gpu_in_process_context_tests.cc',
1202 '../testing/android/native_test.gyp:native_test_native_code',
1208 'target_name': 'content_gl_benchmark',
1209 'type': '<(gtest_target_type)',
1211 'content.gyp:content_common',
1212 'test_support_content',
1213 '../base/base.gyp:test_support_base',
1214 '../testing/gtest.gyp:gtest',
1215 '../ui/gfx/gfx.gyp:gfx',
1216 '../ui/gfx/gfx.gyp:gfx_geometry',
1217 '../ui/gl/gl.gyp:gl',
1219 '../third_party/WebKit/public/blink.gyp:blink',
1220 # The following two dependencies provide the missing
1221 # symbol HeapProfilerStart in Linux component builds.
1222 '../webkit/child/webkit_child.gyp:webkit_child',
1228 'common/gpu/client/gl_helper_benchmark.cc',
1232 'target_name': 'content_webkit_unit_test_support',
1233 'type': 'static_library',
1235 'test_support_content',
1241 'test/webkit_unit_test_support.cc',
1242 'test/webkit_unit_test_support.h',
1247 ['chromeos==1 or OS=="win" or OS=="android"', {
1250 'target_name': 'video_decode_accelerator_unittest',
1251 'type': '<(gtest_target_type)',
1253 'content.gyp:content',
1254 '../base/base.gyp:base',
1255 '../testing/gtest.gyp:gtest',
1256 '../media/media.gyp:media',
1257 '../ui/gl/gl.gyp:gl',
1258 '../ui/gfx/gfx.gyp:gfx',
1259 '../ui/gfx/gfx.gyp:gfx_geometry',
1263 '<(DEPTH)/third_party/khronos',
1266 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1267 'common/gpu/media/rendering_helper.h',
1268 'common/gpu/media/rendering_helper.cc',
1269 'common/gpu/media/video_accelerator_unittest_helpers.h',
1270 'common/gpu/media/video_decode_accelerator_unittest.cc',
1275 ['exclude', '^common/gpu/media/rendering_helper.h'],
1276 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1277 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1280 '../media/media.gyp:player_android',
1281 '../testing/gmock.gyp:gmock',
1282 '../testing/android/native_test.gyp:native_test_native_code',
1283 '../gpu/gpu.gyp:gpu_unittest_utils',
1285 }, { # OS!="android"
1287 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1292 '<(angle_path)/src/build_angle.gyp:libEGL',
1293 '<(angle_path)/src/build_angle.gyp:libGLESv2',
1296 ['(OS=="win" and win_use_allocator_shim==1) or '
1297 '(os_posix == 1 and OS != "android" and '
1298 ' linux_use_tcmalloc==1)', {
1300 '../base/allocator/allocator.gyp:allocator',
1303 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1305 '<(DEPTH)/third_party/libva',
1310 '../build/linux/system.gyp:x11', # Used by rendering_helper.cc
1314 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1315 'msvs_disabled_warnings': [ 4267, ],
1319 ['chromeos==1 and target_arch == "arm"', {
1322 'target_name': 'video_encode_accelerator_unittest',
1323 'type': 'executable',
1325 'content.gyp:content',
1326 '../base/base.gyp:base',
1327 '../testing/gtest.gyp:gtest',
1328 '../media/media.gyp:media',
1329 '../ui/gl/gl.gyp:gl',
1330 '../ui/gfx/gfx.gyp:gfx',
1331 '../ui/gfx/gfx.gyp:gfx_geometry',
1335 'common/gpu/media/video_accelerator_unittest_helpers.h',
1336 'common/gpu/media/video_encode_accelerator_unittest.cc',
1341 # Special target to wrap a gtest_target_type==shared_library
1342 # content_unittests into an android apk for execution.
1343 # See base.gyp for TODO(jrg)s about this strategy.
1344 ['OS == "android" and gtest_target_type == "shared_library"', {
1347 'target_name': 'content_gl_tests_apk',
1351 'content_java_test_support',
1354 'test_suite_name': 'content_gl_tests',
1355 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_gl_tests<(SHARED_LIB_SUFFIX)',
1358 '../build/apk_test.gypi',
1362 'target_name': 'content_unittests_apk',
1365 'content.gyp:content_java',
1366 'content_unittests',
1369 'test_suite_name': 'content_unittests',
1370 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1372 'includes': [ '../build/apk_test.gypi' ],
1375 'target_name': 'content_browsertests_apk',
1378 'content.gyp:content_java',
1379 'content_browsertests',
1380 'content_java_test_support',
1381 'content_shell_java',
1384 'apk_name': 'content_browsertests',
1385 'java_in_dir': 'shell/android/browsertests_apk',
1386 'resource_dir': 'shell/android/browsertests_apk/res',
1387 'native_lib_target': 'libcontent_browsertests',
1388 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1389 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1391 'includes': [ '../build/java_apk.gypi' ],
1394 'target_name': 'chromium_linker_test_apk',
1397 'chromium_android_linker_test',
1398 'content.gyp:content_java',
1399 'content_shell_java',
1402 'apk_name': 'ChromiumLinkerTest',
1403 'java_in_dir': 'shell/android/linker_test_apk',
1404 'resource_dir': 'shell/android/linker_test_apk/res',
1405 'native_lib_target': 'libchromium_android_linker_test',
1406 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1407 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1408 'use_chromium_linker': '1',
1409 'enable_chromium_linker_tests': '1',
1411 'includes': [ '../build/java_apk.gypi' ],
1414 'target_name': 'chromium_android_linker_test',
1415 'type': 'shared_library',
1416 'defines!': ['CONTENT_IMPLEMENTATION'],
1418 'chromium_android_linker_test_jni_headers',
1419 'content_shell_lib',
1420 # Required to include "content/public/browser/android/compositor.h"
1421 # in chromium_linker_test_android.cc :-(
1422 '../skia/skia.gyp:skia',
1425 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1426 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc',
1430 'target_name': 'chromium_android_linker_test_jni_headers',
1433 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java',
1436 'jni_gen_package': 'content/shell',
1437 'jni_generator_ptr_type': 'long',
1439 'includes': [ '../build/jni_generator.gypi' ],
1442 'target_name': 'video_decode_accelerator_unittest_apk',
1445 'video_decode_accelerator_unittest',
1448 'test_suite_name': 'video_decode_accelerator_unittest',
1449 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1451 'includes': [ '../build/apk_test.gypi' ],
1455 ['OS == "android"', {
1458 'target_name': 'test_support_content_jni_headers',
1461 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1464 'jni_gen_package': 'content/public/test',
1465 'jni_generator_ptr_type': 'long',
1467 'includes': [ '../build/jni_generator.gypi' ],
1470 'target_name': 'content_java_test_support',
1473 '../base/base.gyp:base',
1474 '../base/base.gyp:base_java_test_support',
1475 'content.gyp:content_common',
1476 'content.gyp:content_java',
1479 'java_in_dir': '../content/public/test/android/javatests',
1481 'includes': [ '../build/java.gypi' ],
1484 'target_name': 'content_shell_test_apk',
1487 'content_java_test_support',
1488 'content_shell_apk_java',
1489 'content.gyp:content_java',
1490 '../base/base.gyp:base_java',
1491 '../base/base.gyp:base_javatests',
1492 '../base/base.gyp:base_java_test_support',
1493 '../media/media.gyp:media_java',
1494 '../media/media.gyp:media_test_support',
1495 '../net/net.gyp:net_java',
1496 '../net/net.gyp:net_javatests',
1499 'apk_name': 'ContentShellTest',
1500 'java_in_dir': 'shell/android/javatests',
1501 'resource_dir': 'shell/android/shell_apk/res',
1502 'additional_src_dirs': ['public/android/javatests/',],
1505 'includes': [ '../build/java_apk.gypi' ],
1509 ['OS!="android" and OS!="ios"', {
1510 # npapi test plugin doesn't build on android or ios
1513 'target_name': 'npapi_test_plugin',
1514 'type': 'loadable_module',
1520 '<(DEPTH)/base/base.gyp:base',
1521 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
1522 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
1525 'test/plugin/npapi_constants.cc',
1526 'test/plugin/npapi_constants.h',
1527 'test/plugin/npapi_test.cc',
1528 'test/plugin/npapi_test.def',
1529 'test/plugin/npapi_test.rc',
1530 'test/plugin/plugin_arguments_test.cc',
1531 'test/plugin/plugin_arguments_test.h',
1532 'test/plugin/plugin_client.cc',
1533 'test/plugin/plugin_client.h',
1534 'test/plugin/plugin_create_instance_in_paint.cc',
1535 'test/plugin/plugin_create_instance_in_paint.h',
1536 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
1537 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
1538 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
1539 'test/plugin/plugin_delete_plugin_in_stream_test.h',
1540 'test/plugin/plugin_execute_stream_javascript.cc',
1541 'test/plugin/plugin_execute_stream_javascript.h',
1542 'test/plugin/plugin_get_javascript_url_test.cc',
1543 'test/plugin/plugin_get_javascript_url_test.h',
1544 'test/plugin/plugin_get_javascript_url2_test.cc',
1545 'test/plugin/plugin_get_javascript_url2_test.h',
1546 'test/plugin/plugin_geturl_test.cc',
1547 'test/plugin/plugin_geturl_test.h',
1548 'test/plugin/plugin_javascript_open_popup.cc',
1549 'test/plugin/plugin_javascript_open_popup.h',
1550 'test/plugin/plugin_new_fails_test.cc',
1551 'test/plugin/plugin_new_fails_test.h',
1552 'test/plugin/plugin_npobject_identity_test.cc',
1553 'test/plugin/plugin_npobject_identity_test.h',
1554 'test/plugin/plugin_npobject_lifetime_test.cc',
1555 'test/plugin/plugin_npobject_lifetime_test.h',
1556 'test/plugin/plugin_npobject_proxy_test.cc',
1557 'test/plugin/plugin_npobject_proxy_test.h',
1558 'test/plugin/plugin_request_read_test.h',
1559 'test/plugin/plugin_request_read_test.cc',
1560 'test/plugin/plugin_schedule_timer_test.cc',
1561 'test/plugin/plugin_schedule_timer_test.h',
1562 'test/plugin/plugin_setup_test.cc',
1563 'test/plugin/plugin_setup_test.h',
1564 'test/plugin/plugin_test.cc',
1565 'test/plugin/plugin_test.h',
1566 'test/plugin/plugin_test_factory.h',
1567 'test/plugin/plugin_thread_async_call_test.cc',
1568 'test/plugin/plugin_thread_async_call_test.h',
1569 'test/plugin/plugin_windowed_test.cc',
1570 'test/plugin/plugin_windowed_test.h',
1571 'test/plugin/plugin_private_test.cc',
1572 'test/plugin/plugin_private_test.h',
1573 'test/plugin/plugin_test_factory.cc',
1574 'test/plugin/plugin_window_size_test.cc',
1575 'test/plugin/plugin_window_size_test.h',
1576 'test/plugin/plugin_windowless_test.cc',
1577 'test/plugin/plugin_windowless_test.h',
1578 'test/plugin/resource.h',
1584 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
1589 # TODO(port): Port these.
1590 # plugin_npobject_lifetime_test.cc has win32-isms
1592 'test/plugin/plugin_npobject_lifetime_test.cc',
1593 # The window APIs are necessarily platform-specific.
1594 'test/plugin/plugin_window_size_test.cc',
1595 'test/plugin/plugin_windowed_test.cc',
1596 # Seems windows specific.
1597 'test/plugin/plugin_create_instance_in_paint.cc',
1598 'test/plugin/plugin_create_instance_in_paint.h',
1599 # windows-specific resources
1600 'test/plugin/npapi_test.def',
1601 'test/plugin/npapi_test.rc',
1605 'product_extension': 'plugin',
1608 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1612 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
1613 # Shared libraries need -fPIC on x86-64
1619 'target_name': 'copy_npapi_test_plugin',
1622 'npapi_test_plugin',
1628 'destination': '<(PRODUCT_DIR)/plugins',
1629 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
1636 'destination': '<(PRODUCT_DIR)/plugins/',
1637 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
1641 ['os_posix == 1 and OS != "mac"', {
1644 'destination': '<(PRODUCT_DIR)/plugins',
1645 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],