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/base/ui_base.gyp:ui_base',
17 '../ui/events/events.gyp:dom4_keycode_converter',
18 '../ui/events/events.gyp:events_base',
19 '../ui/events/events.gyp:events_test_support',
20 '../ui/gfx/gfx.gyp:gfx',
21 '../ui/gfx/gfx.gyp:gfx_geometry',
22 '../ui/gfx/gfx.gyp:gfx_test_support',
23 '../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/async_file_test_helper.cc',
35 'public/test/async_file_test_helper.h',
36 'public/test/browser_test_base.cc',
37 'public/test/browser_test_base.h',
38 'public/test/browser_test.h',
39 'public/test/browser_test_utils.cc',
40 'public/test/browser_test_utils.h',
41 'public/test/content_test_suite_base.cc',
42 'public/test/content_test_suite_base.h',
43 'public/test/download_test_observer.cc',
44 'public/test/download_test_observer.h',
45 'public/test/fake_speech_recognition_manager.cc',
46 'public/test/fake_speech_recognition_manager.h',
47 'public/test/mock_blob_url_request_context.cc',
48 'public/test/mock_blob_url_request_context.h',
49 'public/test/mock_download_item.cc',
50 'public/test/mock_download_item.h',
51 'public/test/mock_download_manager.cc',
52 'public/test/mock_download_manager.h',
53 'public/test/mock_notification_observer.cc',
54 'public/test/mock_notification_observer.h',
55 'public/test/mock_render_process_host.cc',
56 'public/test/mock_render_process_host.h',
57 'public/test/mock_render_thread.cc',
58 'public/test/mock_render_thread.h',
59 'public/test/mock_resource_context.cc',
60 'public/test/mock_resource_context.h',
61 'public/test/nested_message_pump_android.cc',
62 'public/test/nested_message_pump_android.h',
63 'public/test/render_view_test.cc',
64 'public/test/render_view_test.h',
65 'public/test/render_widget_test.cc',
66 'public/test/render_widget_test.h',
67 'public/test/sandbox_file_system_test_helper.cc',
68 'public/test/sandbox_file_system_test_helper.h',
69 'public/test/test_browser_context.cc',
70 'public/test/test_browser_context.h',
71 'public/test/test_browser_thread.cc',
72 'public/test/test_browser_thread.h',
73 'public/test/test_browser_thread_bundle.cc',
74 'public/test/test_browser_thread_bundle.h',
75 'public/test/test_content_client_initializer.cc',
76 'public/test/test_content_client_initializer.h',
77 'public/test/test_file_error_injector.cc',
78 'public/test/test_file_error_injector.h',
79 'public/test/test_file_system_backend.cc',
80 'public/test/test_file_system_backend.h',
81 'public/test/test_file_system_context.cc',
82 'public/test/test_file_system_context.h',
83 'public/test/test_file_system_options.cc',
84 'public/test/test_file_system_options.h',
85 'public/test/test_launcher.cc',
86 'public/test/test_launcher.h',
87 'public/test/test_navigation_observer.cc',
88 'public/test/test_navigation_observer.h',
89 'public/test/test_notification_tracker.cc',
90 'public/test/test_notification_tracker.h',
91 'public/test/test_renderer_host.cc',
92 'public/test/test_renderer_host.h',
93 'public/test/test_utils.cc',
94 'public/test/test_utils.h',
95 'public/test/unittest_test_suite.cc',
96 'public/test/unittest_test_suite.h',
97 'public/test/web_contents_tester.cc',
98 'public/test/web_contents_tester.h',
99 'app/startup_helper_win.cc',
100 # TODO(phajdan.jr): All of those files should live in content/test (if
101 # they're only used by content) or content/public/test (if they're used
102 # by other embedders).
103 'browser/download/mock_download_file.cc',
104 'browser/download/mock_download_file.h',
105 'browser/geolocation/fake_access_token_store.cc',
106 'browser/geolocation/fake_access_token_store.h',
107 'browser/geolocation/mock_location_arbitrator.cc',
108 'browser/geolocation/mock_location_arbitrator.h',
109 'browser/geolocation/mock_location_provider.cc',
110 'browser/geolocation/mock_location_provider.h',
111 'browser/renderer_host/compositing_iosurface_shader_programs_mac.cc',
112 'browser/renderer_host/compositing_iosurface_shader_programs_mac.h',
113 'browser/renderer_host/compositing_iosurface_transformer_mac.cc',
114 'browser/renderer_host/compositing_iosurface_transformer_mac.h',
115 'browser/renderer_host/media/mock_media_observer.cc',
116 'browser/renderer_host/media/mock_media_observer.h',
117 'gpu/gpu_idirect3d9_mock_win.cc',
118 'gpu/gpu_idirect3d9_mock_win.h',
119 'test/appcache_test_helper.cc',
120 'test/appcache_test_helper.h',
121 'test/content_test_suite.cc',
122 'test/content_test_suite.h',
123 'test/mock_google_streaming_server.cc',
124 'test/mock_google_streaming_server.h',
125 'test/mock_keyboard.cc',
126 'test/mock_keyboard.h',
127 'test/mock_keyboard_driver_win.cc',
128 'test/mock_keyboard_driver_win.h',
129 'test/mock_render_process.cc',
130 'test/mock_render_process.h',
131 'test/mock_webclipboard_impl.cc',
132 'test/mock_webclipboard_impl.h',
133 'test/mock_webframeclient.h',
134 'test/mock_weburlloader.cc',
135 'test/mock_weburlloader.h',
136 'test/net/url_request_abort_on_end_job.cc',
137 'test/net/url_request_abort_on_end_job.h',
138 'test/net/url_request_failed_job.cc',
139 'test/net/url_request_failed_job.h',
140 'test/net/url_request_mock_http_job.cc',
141 'test/net/url_request_mock_http_job.h',
142 'test/net/url_request_prepackaged_interceptor.cc',
143 'test/net/url_request_prepackaged_interceptor.h',
144 'test/net/url_request_slow_download_job.cc',
145 'test/net/url_request_slow_download_job.h',
146 'test/ppapi_unittest.cc',
147 'test/ppapi_unittest.h',
148 'test/test_backing_store.cc',
149 'test/test_backing_store.h',
150 'test/test_content_browser_client.cc',
151 'test/test_content_browser_client.h',
152 'test/test_content_client.cc',
153 'test/test_content_client.h',
154 'test/test_context_provider_factory.cc',
155 'test/test_context_provider_factory.h',
156 'test/test_media_stream_client.cc',
157 'test/test_media_stream_client.h',
158 'test/test_render_frame_host.cc',
159 'test/test_render_frame_host.h',
160 'test/test_render_frame_host_factory.cc',
161 'test/test_render_frame_host_factory.h',
162 'test/test_render_view_host.cc',
163 'test/test_render_view_host.h',
164 'test/test_render_view_host_factory.cc',
165 'test/test_render_view_host_factory.h',
166 'test/test_video_frame_provider.cc',
167 'test/test_video_frame_provider.h',
168 'test/test_web_contents.cc',
169 'test/test_web_contents.h',
170 'test/test_web_contents_view.cc',
171 'test/test_web_contents_view.h',
172 'test/test_webkit_platform_support.cc',
173 'test/test_webkit_platform_support.h',
174 'test/web_gesture_curve_mock.cc',
175 'test/web_gesture_curve_mock.h',
176 'test/web_layer_tree_view_impl_for_testing.cc',
177 'test/web_layer_tree_view_impl_for_testing.h',
178 'test/webkit_support.cc',
179 'test/webkit_support.h',
180 'test/weburl_loader_mock.cc',
181 'test/weburl_loader_mock.h',
182 'test/weburl_loader_mock_factory.cc',
183 'test/weburl_loader_mock_factory.h',
188 # iOS only needs a small portion of content; exclude all the
189 # implementation, and re-include what is used.
190 ['exclude', '\\.(cc|mm)$'],
191 ['include', '_ios\\.(cc|mm)$'],
192 ['include', '^public/test/content_test_suite_base\\.cc$'],
193 ['include', '^public/test/mock_notification_observer\\.cc$'],
194 ['include', '^public/test/mock_resource_context\\.cc$'],
195 ['include', '^public/test/test_browser_thread\\.cc$'],
196 ['include', '^public/test/test_content_client_initializer\\.cc$'],
197 ['include', '^public/test/test_notification_tracker\\.cc$'],
198 ['include', '^public/test/test_utils\\.cc$'],
199 ['include', '^public/test/unittest_test_suite\\.cc$'],
200 ['include', '^test/content_test_suite\\.cc$'],
201 ['include', '^test/test_content_browser_client\\.cc$'],
202 ['include', '^test/test_content_client\\.cc$'],
208 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
210 'shell/resources/missingImage.png',
211 'shell/resources/textAreaResizeCorner.png',
217 'content.gyp:content_child',
218 'content.gyp:content_common',
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/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
235 '../webkit/storage_browser.gyp:webkit_storage_browser',
236 '../webkit/storage_common.gyp:webkit_storage_common',
238 'export_dependent_settings': [
239 '../third_party/WebKit/public/blink.gyp:blink',
242 ['OS == "win" or toolkit_uses_gtk == 1', {
244 '../sandbox/sandbox.gyp:sandbox',
247 ['enable_webrtc==1', {
249 'renderer/media/mock_media_stream_dependency_factory.cc',
250 'renderer/media/mock_media_stream_dependency_factory.h',
251 'renderer/media/mock_media_stream_dispatcher.cc',
252 'renderer/media/mock_media_stream_dispatcher.h',
253 'renderer/media/mock_media_stream_registry.cc',
254 'renderer/media/mock_media_stream_registry.h',
255 'renderer/media/mock_peer_connection_impl.cc',
256 'renderer/media/mock_peer_connection_impl.h',
257 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
258 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
261 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
262 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
263 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
266 ['toolkit_uses_gtk == 1', {
268 '../build/linux/system.gyp:gtk',
273 '../build/linux/system.gyp:glib',
278 '../ui/aura/aura.gyp:aura_test_support',
279 '../ui/resources/ui_resources.gyp:ui_test_pak',
282 ['use_aura==1 or OS=="mac"', {
284 '../ui/compositor/compositor.gyp:compositor',
289 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
292 ['OS!="android" and OS!="ios"', {
294 '../third_party/libvpx/libvpx.gyp:libvpx',
299 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
300 'test_support_content_jni_headers',
306 'target_name': 'content_unittests',
307 'type': '<(gtest_target_type)',
309 'content.gyp:content_browser',
310 'content.gyp:content_common',
311 'test_support_content',
312 'browser/speech/proto/speech_proto.gyp:speech_proto',
313 '../base/base.gyp:test_support_base',
314 '../crypto/crypto.gyp:crypto',
315 '../net/net.gyp:net_test_support',
316 '../skia/skia.gyp:skia',
317 '../sql/sql.gyp:sql',
318 '../sql/sql.gyp:test_support_sql',
319 '../testing/gmock.gyp:gmock',
320 '../testing/gtest.gyp:gtest',
321 '../third_party/re2/re2.gyp:re2',
322 '../ui/accessibility/accessibility.gyp:accessibility',
323 '../ui/base/ui_base.gyp:ui_base',
324 '../ui/gfx/gfx.gyp:gfx',
325 '../ui/gfx/gfx.gyp:gfx_geometry',
329 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_unittest.cc.
332 'browser/accessibility/accessibility_mode_helper_unittest.cc',
333 'browser/accessibility/browser_accessibility_mac_unittest.mm',
334 'browser/accessibility/browser_accessibility_manager_unittest.cc',
335 'browser/accessibility/browser_accessibility_win_unittest.cc',
336 'browser/appcache/chrome_appcache_service_unittest.cc',
337 'browser/browser_thread_unittest.cc',
338 'browser/browser_url_handler_impl_unittest.cc',
339 'browser/byte_stream_unittest.cc',
340 'browser/child_process_security_policy_unittest.cc',
341 'browser/compositor/software_browser_compositor_output_surface_unittest.cc',
342 'browser/compositor/software_output_device_ozone_unittest.cc',
343 'browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc',
344 'browser/device_orientation/sensor_manager_android_unittest.cc',
345 'browser/devtools/devtools_http_handler_unittest.cc',
346 'browser/devtools/devtools_manager_unittest.cc',
347 'browser/dom_storage/dom_storage_area_unittest.cc',
348 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
349 'browser/dom_storage/dom_storage_database_unittest.cc',
350 'browser/dom_storage/session_storage_database_unittest.cc',
351 'browser/download/base_file_unittest.cc',
352 'browser/download/download_file_unittest.cc',
353 'browser/download/download_item_impl_unittest.cc',
354 'browser/download/download_manager_impl_unittest.cc',
355 'browser/download/file_metadata_unittest_linux.cc',
356 'browser/download/rate_estimator_unittest.cc',
357 'browser/download/save_package_unittest.cc',
358 'browser/fileapi/blob_url_request_job_unittest.cc',
359 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
360 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
361 'browser/fileapi/dragged_file_util_unittest.cc',
362 'browser/fileapi/file_system_context_unittest.cc',
363 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
364 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
365 'browser/fileapi/file_system_operation_impl_unittest.cc',
366 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
367 'browser/fileapi/file_system_operation_runner_unittest.cc',
368 'browser/fileapi/file_system_quota_client_unittest.cc',
369 'browser/fileapi/file_system_url_request_job_unittest.cc',
370 'browser/fileapi/file_writer_delegate_unittest.cc',
371 'browser/fileapi/fileapi_message_filter_unittest.cc',
372 'browser/fileapi/local_file_util_unittest.cc',
373 'browser/fileapi/mock_file_change_observer.cc',
374 'browser/fileapi/mock_file_change_observer.h',
375 'browser/fileapi/obfuscated_file_util_unittest.cc',
376 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
377 'browser/fileapi/recursive_operation_delegate_unittest.cc',
378 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
379 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
380 'browser/fileapi/transient_file_util_unittest.cc',
381 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
382 'browser/frame_host/frame_tree_unittest.cc',
383 'browser/frame_host/navigation_controller_impl_unittest.cc',
384 'browser/frame_host/navigation_entry_impl_unittest.cc',
385 'browser/frame_host/render_frame_host_manager_unittest.cc',
386 'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
387 'browser/frame_host/render_widget_host_view_guest_unittest.cc',
388 'browser/gamepad/gamepad_provider_unittest.cc',
389 'browser/gamepad/gamepad_test_helpers.cc',
390 'browser/gamepad/gamepad_test_helpers.h',
391 'browser/geolocation/geolocation_provider_unittest.cc',
392 'browser/geolocation/location_arbitrator_impl_unittest.cc',
393 'browser/geolocation/network_location_provider_unittest.cc',
394 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
395 'browser/geolocation/wifi_data_provider_common_unittest.cc',
396 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
397 'browser/geolocation/wifi_data_provider_unittest_win.cc',
398 'browser/gpu/shader_disk_cache_unittest.cc',
399 'browser/host_zoom_map_impl_unittest.cc',
400 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
401 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
402 'browser/indexed_db/indexed_db_database_unittest.cc',
403 'browser/indexed_db/indexed_db_factory_unittest.cc',
404 'browser/indexed_db/indexed_db_fake_backing_store.cc',
405 'browser/indexed_db/indexed_db_fake_backing_store.h',
406 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
407 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
408 'browser/indexed_db/indexed_db_transaction_unittest.cc',
409 'browser/indexed_db/indexed_db_unittest.cc',
410 'browser/indexed_db/mock_indexed_db_callbacks.cc',
411 'browser/indexed_db/mock_indexed_db_callbacks.h',
412 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
413 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
414 'browser/indexed_db/leveldb/leveldb_unittest.cc',
415 'browser/indexed_db/list_set_unittest.cc',
416 'browser/loader/offline_policy_unittest.cc',
417 'browser/loader/resource_buffer_unittest.cc',
418 'browser/loader/resource_dispatcher_host_unittest.cc',
419 'browser/loader/resource_loader_unittest.cc',
420 'browser/loader/resource_scheduler_unittest.cc',
421 'browser/loader/temporary_file_stream_unittest.cc',
422 'browser/loader/upload_data_stream_builder_unittest.cc',
423 'browser/mach_broker_mac_unittest.cc',
424 'browser/media/capture/audio_mirroring_manager_unittest.cc',
425 'browser/media/capture/video_capture_oracle_unittest.cc',
426 'browser/media/capture/web_contents_audio_input_stream_unittest.cc',
427 'browser/media/capture/web_contents_video_capture_device_unittest.cc',
428 'browser/media/media_internals_unittest.cc',
429 'browser/media/webrtc_identity_store_unittest.cc',
430 'browser/net/sqlite_persistent_cookie_store_unittest.cc',
431 'browser/notification_service_impl_unittest.cc',
432 'browser/plugin_loader_posix_unittest.cc',
433 'browser/power_monitor_message_broadcaster_unittest.cc',
434 'browser/power_profiler/power_profiler_service_unittest.cc',
435 'browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc',
436 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',
437 'browser/renderer_host/input/gesture_event_queue_unittest.cc',
438 'browser/renderer_host/input/input_router_impl_unittest.cc',
439 'browser/renderer_host/input/mock_input_ack_handler.cc',
440 'browser/renderer_host/input/mock_input_ack_handler.h',
441 'browser/renderer_host/input/mock_input_router_client.cc',
442 'browser/renderer_host/input/mock_input_router_client.h',
443 'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
444 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
445 'browser/renderer_host/input/touch_action_filter_unittest.cc',
446 'browser/renderer_host/input/touch_event_queue_unittest.cc',
447 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
448 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
449 'browser/renderer_host/media/device_request_message_filter_unittest.cc',
450 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
451 'browser/renderer_host/media/media_stream_manager_unittest.cc',
452 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
453 'browser/renderer_host/media/midi_host_unittest.cc',
454 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
455 'browser/renderer_host/media/video_capture_controller_unittest.cc',
456 'browser/renderer_host/media/video_capture_host_unittest.cc',
457 'browser/renderer_host/media/video_capture_manager_unittest.cc',
458 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
459 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
460 'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
461 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
462 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
463 'browser/renderer_host/pepper/quota_reservation_unittest.cc',
464 'browser/renderer_host/render_process_host_unittest.cc',
465 'browser/renderer_host/render_view_host_unittest.cc',
466 'browser/renderer_host/render_widget_host_unittest.cc',
467 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
468 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
469 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
470 'browser/renderer_host/software_frame_manager_unittest.cc',
471 'browser/renderer_host/text_input_client_mac_unittest.mm',
472 'browser/renderer_host/web_input_event_aura_unittest.cc',
473 'browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc',
474 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
475 'browser/resolve_proxy_msg_helper_unittest.cc',
476 'browser/screen_orientation/screen_orientation_dispatcher_host_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_url_request_job_unittest.cc',
486 'browser/service_worker/service_worker_version_unittest.cc',
487 'browser/shared_worker/shared_worker_instance_unittest.cc',
488 'browser/shared_worker/shared_worker_service_impl_unittest.cc',
489 'browser/site_instance_impl_unittest.cc',
490 'browser/speech/chunked_byte_buffer_unittest.cc',
491 'browser/speech/endpointer/endpointer_unittest.cc',
492 'browser/speech/google_one_shot_remote_engine_unittest.cc',
493 'browser/speech/google_streaming_remote_engine_unittest.cc',
494 'browser/speech/speech_recognizer_impl_unittest.cc',
495 'browser/ssl/ssl_host_state_unittest.cc',
496 'browser/startup_task_runner_unittest.cc',
497 'browser/storage_partition_impl_map_unittest.cc',
498 'browser/storage_partition_impl_unittest.cc',
499 'browser/streams/stream_unittest.cc',
500 'browser/streams/stream_url_request_job_unittest.cc',
501 'browser/system_message_window_win_unittest.cc',
502 'browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc',
503 'browser/web_contents/aura/window_slider_unittest.cc',
504 'browser/web_contents/web_contents_delegate_unittest.cc',
505 'browser/web_contents/web_contents_impl_unittest.cc',
506 'browser/web_contents/web_contents_user_data_unittest.cc',
507 'browser/web_contents/web_contents_view_mac_unittest.mm',
508 'browser/web_contents/web_drag_dest_mac_unittest.mm',
509 'browser/web_contents/web_drag_source_mac_unittest.mm',
510 'browser/webui/web_ui_data_source_unittest.cc',
511 'browser/webui/web_ui_message_handler_unittest.cc',
512 'child/blink_platform_unittest.cc',
513 'child/fileapi/webfilewriter_base_unittest.cc',
514 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
515 'child/indexed_db/webidbcursor_impl_unittest.cc',
516 'child/npapi/plugin_lib_unittest.cc',
517 'child/power_monitor_broadcast_source_unittest.cc',
518 'child/resource_dispatcher_unittest.cc',
519 'child/site_isolation_policy_unittest.cc',
520 'child/webcrypto/shared_crypto_unittest.cc',
521 'child/worker_task_runner_unittest.cc',
522 'common/android/address_parser_unittest.cc',
523 'common/cc_messages_unittest.cc',
524 'common/common_param_traits_unittest.cc',
525 'common/dom_storage/dom_storage_map_unittest.cc',
526 'common/gpu/gpu_memory_manager_unittest.cc',
527 'common/host_shared_bitmap_manager_unittest.cc',
528 'common/indexed_db/indexed_db_key_unittest.cc',
529 'common/input/input_param_traits_unittest.cc',
530 'common/input/web_input_event_traits_unittest.cc',
531 'common/inter_process_time_ticks_converter_unittest.cc',
532 'common/mac/attributed_string_coder_unittest.mm',
533 'common/mac/font_descriptor_unittest.mm',
534 'common/page_state_serialization_unittest.cc',
535 'common/page_zoom_unittest.cc',
536 'common/plugin_list_unittest.cc',
537 'common/sandbox_mac_diraccess_unittest.mm',
538 'common/sandbox_mac_fontloading_unittest.mm',
539 'common/sandbox_mac_system_access_unittest.mm',
540 'common/sandbox_mac_unittest_helper.h',
541 'common/sandbox_mac_unittest_helper.mm',
542 'common/webplugininfo_unittest.cc',
543 'renderer/active_notification_tracker_unittest.cc',
544 'renderer/android/email_detector_unittest.cc',
545 'renderer/android/phone_number_detector_unittest.cc',
546 'renderer/bmp_image_decoder_unittest.cc',
547 'renderer/device_orientation/device_motion_event_pump_unittest.cc',
548 'renderer/device_orientation/device_orientation_event_pump_unittest.cc',
549 'renderer/disambiguation_popup_helper_unittest.cc',
550 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
551 'renderer/ico_image_decoder_unittest.cc',
552 'renderer/input/input_event_filter_unittest.cc',
553 'renderer/input/input_handler_proxy_unittest.cc',
554 'renderer/media/android/media_info_loader_unittest.cc',
555 'renderer/media/audio_message_filter_unittest.cc',
556 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
557 'renderer/media/buffered_data_source_unittest.cc',
558 'renderer/media/buffered_resource_loader_unittest.cc',
559 'renderer/media/cache_util_unittest.cc',
560 'renderer/media/crypto/key_systems_unittest.cc',
561 'renderer/media/media_stream_video_source_unittest.cc',
562 'renderer/media/mock_media_stream_video_source.cc',
563 'renderer/media/mock_media_stream_video_source.h',
564 'renderer/media/test_response_generator.cc',
565 'renderer/media/test_response_generator.h',
566 'renderer/media/video_capture_impl_manager_unittest.cc',
567 'renderer/media/video_capture_impl_unittest.cc',
568 'renderer/media/video_capture_message_filter_unittest.cc',
569 'renderer/media/video_destination_handler_unittest.cc',
570 'renderer/media/webaudiosourceprovider_impl_unittest.cc',
571 'renderer/npapi/webplugin_impl_unittest.cc',
572 'renderer/paint_aggregator_unittest.cc',
573 'renderer/pepper/host_var_tracker_unittest.cc',
574 'renderer/pepper/mock_resource.h',
575 'renderer/pepper/pepper_broker_unittest.cc',
576 'renderer/pepper/v8_var_converter_unittest.cc',
577 'renderer/render_frame_impl_unittest.cc',
578 'renderer/render_thread_impl_unittest.cc',
579 'renderer/render_widget_unittest.cc',
580 'renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc',
581 'renderer/skia_benchmarking_extension_unittest.cc',
582 'renderer/v8_value_converter_impl_unittest.cc',
583 'test/fileapi_test_file_set.cc',
584 'test/fileapi_test_file_set.h',
585 'test/image_decoder_test.cc',
586 'test/image_decoder_test.h',
587 'test/run_all_unittests.cc',
588 '../webkit/browser/appcache/appcache_database_unittest.cc',
589 '../webkit/browser/appcache/appcache_disk_cache_unittest.cc',
590 '../webkit/browser/appcache/appcache_group_unittest.cc',
591 '../webkit/browser/appcache/appcache_host_unittest.cc',
592 '../webkit/browser/appcache/appcache_quota_client_unittest.cc',
593 '../webkit/browser/appcache/appcache_request_handler_unittest.cc',
594 '../webkit/browser/appcache/appcache_response_unittest.cc',
595 '../webkit/browser/appcache/appcache_service_unittest.cc',
596 '../webkit/browser/appcache/appcache_storage_impl_unittest.cc',
597 '../webkit/browser/appcache/appcache_storage_unittest.cc',
598 '../webkit/browser/appcache/appcache_unittest.cc',
599 '../webkit/browser/appcache/appcache_update_job_unittest.cc',
600 '../webkit/browser/appcache/appcache_url_request_job_unittest.cc',
601 '../webkit/browser/appcache/manifest_parser_unittest.cc',
602 '../webkit/browser/appcache/mock_appcache_policy.cc',
603 '../webkit/browser/appcache/mock_appcache_policy.h',
604 '../webkit/browser/appcache/mock_appcache_service.cc',
605 '../webkit/browser/appcache/mock_appcache_service.h',
606 '../webkit/browser/appcache/mock_appcache_storage.cc',
607 '../webkit/browser/appcache/mock_appcache_storage.h',
608 '../webkit/browser/appcache/mock_appcache_storage_unittest.cc',
609 '../webkit/browser/blob/blob_storage_context_unittest.cc',
610 '../webkit/browser/blob/local_file_stream_reader_unittest.cc',
611 '../webkit/browser/database/database_quota_client_unittest.cc',
612 '../webkit/browser/database/database_tracker_unittest.cc',
613 '../webkit/browser/database/database_util_unittest.cc',
614 '../webkit/browser/database/databases_table_unittest.cc',
615 '../webkit/browser/fileapi/external_mount_points_unittest.cc',
616 '../webkit/browser/fileapi/file_system_url_unittest.cc',
617 '../webkit/browser/fileapi/file_system_usage_cache_unittest.cc',
618 '../webkit/browser/fileapi/isolated_context_unittest.cc',
619 '../webkit/browser/fileapi/local_file_stream_writer_unittest.cc',
620 '../webkit/browser/fileapi/native_file_util_unittest.cc',
621 '../webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc',
622 '../webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc',
623 '../webkit/browser/fileapi/sandbox_database_test_helper.cc',
624 '../webkit/browser/fileapi/sandbox_database_test_helper.h',
625 '../webkit/browser/fileapi/sandbox_directory_database_unittest.cc',
626 '../webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
627 '../webkit/browser/fileapi/sandbox_origin_database_unittest.cc',
628 '../webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
629 '../webkit/browser/fileapi/timed_task_helper_unittest.cc',
630 '../webkit/child/multipart_response_delegate_unittest.cc',
631 '../webkit/child/touch_fling_gesture_curve_unittest.cc',
632 '../webkit/common/blob/shareable_file_reference_unittest.cc',
633 '../webkit/common/cursors/webcursor_unittest.cc',
634 '../webkit/common/database/database_connections_unittest.cc',
635 '../webkit/common/database/database_identifier_unittest.cc',
636 '../webkit/common/fileapi/file_system_util_unittest.cc',
637 '../webkit/browser/quota/mock_quota_manager.cc',
638 '../webkit/browser/quota/mock_quota_manager.h',
639 '../webkit/browser/quota/mock_quota_manager_proxy.cc',
640 '../webkit/browser/quota/mock_quota_manager_proxy.h',
641 '../webkit/browser/quota/mock_quota_manager_unittest.cc',
642 '../webkit/browser/quota/mock_special_storage_policy.cc',
643 '../webkit/browser/quota/mock_special_storage_policy.h',
644 '../webkit/browser/quota/mock_storage_client.cc',
645 '../webkit/browser/quota/mock_storage_client.h',
646 '../webkit/browser/quota/quota_database_unittest.cc',
647 '../webkit/browser/quota/quota_manager_unittest.cc',
648 '../webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc',
649 '../webkit/browser/quota/usage_tracker_unittest.cc',
654 # iOS only needs a small portion of content; exclude all the
655 # implementation, and re-include what is used.
656 ['exclude', '\\.(cc|mm)$'],
657 ['include', '_ios\\.(cc|mm)$'],
658 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
659 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
660 ['include', '^test/run_all_unittests\\.cc$'],
664 'content.gyp:content_browser',
665 'content.gyp:content_child',
666 'content.gyp:content_gpu',
667 'content.gyp:content_plugin',
668 'content.gyp:content_renderer',
669 'content_resources.gyp:content_resources',
670 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
671 '../gpu/gpu.gyp:gpu',
672 '../gpu/gpu.gyp:gpu_unittest_utils',
673 '../ipc/ipc.gyp:test_support_ipc',
674 '../jingle/jingle.gyp:jingle_glue_test_util',
675 '../media/media.gyp:media_test_support',
676 '../media/media.gyp:shared_memory_support',
677 '../third_party/WebKit/public/blink.gyp:blink',
678 '../third_party/icu/icu.gyp:icui18n',
679 '../third_party/icu/icu.gyp:icuuc',
680 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
681 '../third_party/libjingle/libjingle.gyp:libjingle',
682 '../ui/compositor/compositor.gyp:compositor_test_support',
683 '../ui/gl/gl.gyp:gl',
684 '../v8/tools/gyp/v8.gyp:v8',
685 '../webkit/common/webkit_common.gyp:webkit_common',
686 '../webkit/child/webkit_child.gyp:webkit_child',
687 '../webkit/storage_browser.gyp:webkit_storage_browser',
688 '../webkit/storage_common.gyp:webkit_storage_common',
691 ['enable_plugins==0', {
693 ['exclude', '^browser/renderer_host/pepper/'],
694 ['exclude', '^child/npapi/'],
695 ['exclude', '^renderer/npapi/'],
696 ['exclude', '^renderer/pepper/'],
699 'browser/plugin_loader_posix_unittest.cc',
700 'renderer/media/media_stream_video_source_unittest.cc',
701 'renderer/media/video_destination_handler_unittest.cc',
704 ['enable_webrtc==1', {
706 'browser/media/webrtc_internals_unittest.cc',
707 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
708 'browser/renderer_host/p2p/socket_host_test_utils.cc',
709 'browser/renderer_host/p2p/socket_host_test_utils.h',
710 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
711 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
712 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
713 'browser/renderer_host/p2p/socket_host_unittest.cc',
714 'renderer/media/media_stream_audio_processor_unittest.cc',
715 'renderer/media/media_stream_dependency_factory_unittest.cc',
716 'renderer/media/media_stream_dispatcher_unittest.cc',
717 'renderer/media/media_stream_impl_unittest.cc',
718 'renderer/media/mock_media_constraint_factory.cc',
719 'renderer/media/rtc_peer_connection_handler_unittest.cc',
720 'renderer/media/rtc_video_decoder_unittest.cc',
721 'renderer/media/video_source_handler_unittest.cc',
722 'renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc',
723 'renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc',
724 'renderer/media/webrtc_audio_capturer_unittest.cc',
725 'renderer/media/webrtc_audio_renderer_unittest.cc',
726 'renderer/media/webrtc_identity_service_unittest.cc',
727 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
728 'renderer/media/webrtc_local_audio_track_unittest.cc',
731 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
732 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
733 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
737 'renderer/media/media_stream_video_source_unittest.cc',
738 'renderer/media/video_destination_handler_unittest.cc',
741 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
743 'browser/media/capture/desktop_capture_device_unittest.cc',
746 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
749 ['enable_webrtc==1 and chromeos==1', {
751 'browser/media/capture/desktop_capture_device_aura_unittest.cc',
754 # TODO(jrg): remove the OS=="android" section?
755 # http://crbug.com/113172
756 # Understand better how media_stream_ is tied into Chromium.
757 ['enable_webrtc==0 and OS=="android"', {
759 ['exclude', '^renderer/media/media_stream_'],
762 ['input_speech==0', {
764 ['exclude', '^browser/speech/'],
767 ['notifications==0', {
769 'renderer/active_notification_tracker_unittest.cc',
774 '../build/linux/system.gyp:dbus',
775 '../dbus/dbus.gyp:dbus_test_support',
778 ['OS=="win" and win_use_allocator_shim==1', {
780 '../base/allocator/allocator.gyp:allocator',
785 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
789 # These flags are needed to run the test on Mac.
790 # Search for comments about "xcode_settings" in chrome_tests.gypi.
791 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
795 ['exclude', '^browser/renderer_host/gtk_key_bindings_handler_unittest.cc'],
796 ['exclude', '^browser/geolocation/wifi_data_provider_linux_unittest.cc'],
801 '../ui/aura/aura.gyp:aura',
804 ['use_aura==1 or toolkit_views==1', {
806 '../ui/events/events.gyp:events_test_support',
809 ['use_aura!=1 and OS!="mac"', {
811 ['exclude', '^browser/compositor/'],
814 ['OS == "android"', {
816 'browser/renderer_host/java/jni_helper_unittest.cc',
819 'browser/geolocation/network_location_provider_unittest.cc',
820 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
821 'browser/geolocation/wifi_data_provider_common_unittest.cc',
822 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
825 ['OS != "android" and OS != "ios"', {
827 '../third_party/libvpx/libvpx.gyp:libvpx',
830 ['OS == "android" and gtest_target_type == "shared_library"', {
832 '../testing/android/native_test.gyp:native_test_native_code',
835 ['use_aura!=1 and OS!="android"', {
837 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
842 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
849 ['test_isolation_mode != "noop"', {
852 'target_name': 'content_unittests_run',
858 '../build/isolate.gypi',
859 'content_unittests.isolate',
862 'content_unittests.isolate',
870 'target_name': 'content_perftests',
871 'type': '<(gtest_target_type)',
872 'defines!': ['CONTENT_IMPLEMENTATION'],
874 'content.gyp:content_browser',
875 'content.gyp:content_common',
876 'test_support_content',
877 '../base/base.gyp:test_support_base',
879 '../skia/skia.gyp:skia',
880 '../testing/gtest.gyp:gtest',
881 '../testing/perf/perf_test.gyp:*',
882 '../ui/gfx/gfx.gyp:gfx',
883 '../ui/gfx/gfx.gyp:gfx_geometry',
889 'browser/renderer_host/input/input_router_impl_perftest.cc',
890 'common/cc_messages_perftest.cc',
891 'test/run_all_perftests.cc',
894 ['OS == "android" and gtest_target_type == "shared_library"', {
896 '../testing/android/native_test.gyp:native_test_native_code',
902 'target_name': 'content_browser_test_support',
903 'type': 'static_library',
906 'content.gyp:content_browser',
907 '../skia/skia.gyp:skia',
908 '../testing/gtest.gyp:gtest',
909 '../ui/accessibility/accessibility.gyp:ax_gen',
912 'test/accessibility_browser_test_utils.cc',
913 'test/accessibility_browser_test_utils.h',
914 'test/content_browser_test.cc',
915 'test/content_browser_test.h',
916 'test/content_browser_test_utils.cc',
917 'test/content_browser_test_utils.h',
918 'test/content_browser_test_utils_mac.mm',
922 'target_name': 'content_browsertests',
923 'type': '<(gtest_target_type)',
925 'content.gyp:content_common',
926 'content.gyp:content_gpu',
927 'content.gyp:content_plugin',
928 'content.gyp:content_renderer',
929 'content_browser_test_support',
930 'content_resources.gyp:content_resources',
933 '../base/base.gyp:test_support_base',
934 '../gin/gin.gyp:gin',
935 '../gpu/gpu.gyp:gpu',
936 '../ipc/ipc.gyp:test_support_ipc',
937 '../media/media.gyp:media_test_support',
938 '../media/media.gyp:shared_memory_support',
939 '../net/net.gyp:net_test_support',
940 '../ppapi/ppapi_internal.gyp:ppapi_host',
941 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
942 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
943 '../ppapi/ppapi_internal.gyp:ppapi_shared',
944 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
945 '../testing/gmock.gyp:gmock',
946 '../testing/gtest.gyp:gtest',
947 '../third_party/WebKit/public/blink.gyp:blink',
948 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
949 '../third_party/mesa/mesa.gyp:osmesa',
950 '../ui/accessibility/accessibility.gyp:accessibility',
951 '../ui/base/ui_base.gyp:ui_base',
952 '../ui/gfx/gfx.gyp:gfx',
953 '../ui/gfx/gfx.gyp:gfx_geometry',
954 '../ui/gl/gl.gyp:gl',
955 '../ui/resources/ui_resources.gyp:ui_resources',
956 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
957 '../ui/snapshot/snapshot.gyp:snapshot',
958 '../webkit/child/webkit_child.gyp:webkit_child',
959 '../ui/accessibility/accessibility.gyp:ax_gen',
963 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
966 'browser/gpu/test_support_gpu.gypi',
969 'HAS_OUT_OF_PROC_TEST_RUNNER',
972 'browser/accessibility/accessibility_win_browsertest.cc',
973 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
974 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
975 'browser/compositor/image_transport_factory_browsertest.cc',
976 'browser/bookmarklet_browsertest.cc',
977 'browser/browser_plugin/browser_plugin_host_browsertest.cc',
978 'browser/browser_plugin/test_browser_plugin_guest.cc',
979 'browser/browser_plugin/test_browser_plugin_guest.h',
980 'browser/browser_plugin/test_browser_plugin_guest_delegate.cc',
981 'browser/browser_plugin/test_browser_plugin_guest_delegate.h',
982 'browser/browser_plugin/test_browser_plugin_guest_manager.cc',
983 'browser/browser_plugin/test_browser_plugin_guest_manager.h',
984 'browser/child_process_security_policy_browsertest.cc',
985 'browser/cross_site_transfer_browsertest.cc',
986 'browser/database_browsertest.cc',
987 'browser/device_orientation/device_inertial_sensor_browsertest.cc',
988 'browser/devtools/renderer_overrides_handler_browsertest.cc',
989 'browser/dom_storage/dom_storage_browsertest.cc',
990 'browser/download/download_browsertest.cc',
991 'browser/download/drag_download_file_browsertest.cc',
992 'browser/download/mhtml_generation_browsertest.cc',
993 'browser/download/save_package_browsertest.cc',
994 'browser/fileapi/file_system_browsertest.cc',
995 'browser/frame_host/frame_tree_browsertest.cc',
996 'browser/frame_host/render_frame_host_manager_browsertest.cc',
997 'browser/gpu/compositor_util_browsertest.cc',
998 'browser/gpu/gpu_ipc_browsertests.cc',
999 'browser/indexed_db/indexed_db_browsertest.cc',
1000 'browser/loader/resource_dispatcher_host_browsertest.cc',
1001 'browser/media/encrypted_media_browsertest.cc',
1002 'browser/media/media_browsertest.cc',
1003 'browser/media/media_browsertest.h',
1004 'browser/media/media_source_browsertest.cc',
1005 'browser/media/webrtc_internals_browsertest.cc',
1006 'browser/plugin_data_remover_impl_browsertest.cc',
1007 'browser/plugin_browsertest.cc',
1008 'browser/plugin_service_impl_browsertest.cc',
1009 'browser/renderer_host/input/touch_action_browsertest.cc',
1010 'browser/renderer_host/input/touch_input_browsertest.cc',
1011 'browser/renderer_host/render_process_host_browsertest.cc',
1012 'browser/renderer_host/render_view_host_browsertest.cc',
1013 'browser/renderer_host/render_widget_host_browsertest.cc',
1014 'browser/renderer_host/render_widget_host_view_browsertest.cc',
1015 'browser/security_exploit_browsertest.cc',
1016 'browser/service_worker/service_worker_browsertest.cc',
1017 'browser/session_history_browsertest.cc',
1018 'browser/site_per_process_browsertest.cc',
1019 'browser/speech/input_tag_speech_browsertest.cc',
1020 'browser/speech/speech_recognition_browsertest.cc',
1021 'browser/tracing/tracing_controller_browsertest.cc',
1022 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1023 'browser/web_contents/web_contents_impl_browsertest.cc',
1024 'browser/web_contents/web_contents_view_aura_browsertest.cc',
1025 'browser/webkit_browsertest.cc',
1026 'browser/worker_host/test/worker_browsertest.cc',
1027 'child/site_isolation_policy_browsertest.cc',
1028 'common/gpu/client/context_provider_command_buffer_browsertest.cc',
1029 'renderer/accessibility/renderer_accessibility_browsertest.cc',
1030 'renderer/browser_plugin/browser_plugin_browsertest.cc',
1031 'renderer/browser_plugin/browser_plugin_browsertest.h',
1032 'renderer/browser_plugin/mock_browser_plugin.cc',
1033 'renderer/browser_plugin/mock_browser_plugin.h',
1034 'renderer/browser_plugin/mock_browser_plugin_manager.cc',
1035 'renderer/browser_plugin/mock_browser_plugin_manager.h',
1036 'renderer/browser_render_view_browsertest.cc',
1037 'renderer/dom_serializer_browsertest.cc',
1038 'renderer/gin_browsertest.cc',
1039 'renderer/mouse_lock_dispatcher_browsertest.cc',
1040 'renderer/pepper/fake_pepper_plugin_instance.cc',
1041 'renderer/pepper/mock_renderer_ppapi_host.cc',
1042 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
1043 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
1044 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
1045 'renderer/pepper/pepper_url_request_unittest.cc',
1046 'renderer/render_thread_impl_browsertest.cc',
1047 'renderer/render_view_browsertest.cc',
1048 'renderer/render_view_browsertest_mac.mm',
1049 'renderer/render_widget_browsertest.cc',
1050 'renderer/resource_fetcher_browsertest.cc',
1051 'renderer/savable_resources_browsertest.cc',
1052 'test/content_browser_test_test.cc',
1053 'test/content_test_launcher.cc',
1054 'test/webui_resource_browsertest.cc',
1059 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1063 'resource_include_dirs': [
1064 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1067 'shell/app/resource.h',
1068 'shell/app/shell.rc',
1069 # TODO: It would be nice to have these pulled in
1070 # automatically from direct_dependent_settings in
1071 # their various targets (net.gyp:net_resources, etc.),
1072 # but that causes errors in other targets when
1073 # resulting .res files get referenced multiple times.
1074 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1075 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc',
1076 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
1079 '<(DEPTH)/net/net.gyp:net_resources',
1080 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1081 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1082 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
1083 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
1089 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1094 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1095 'msvs_disabled_warnings': [ 4267, ],
1098 'browser/accessibility/accessibility_win_browsertest.cc',
1101 ['OS=="win" and win_use_allocator_shim==1', {
1103 '../base/allocator/allocator.gyp:allocator',
1108 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1113 'shell/android/browsertests_apk/content_browser_tests_android.cc',
1116 'content_shell_jni_headers',
1117 'content_shell_lib',
1118 '../testing/android/native_test.gyp:native_test_util',
1123 'content_shell', # Needed for Content Shell.app's Helper.
1126 'renderer/external_popup_menu_browsertest.cc',
1131 'browser/accessibility/accessibility_win_browsertest.cc',
1134 ['use_aura==1 and OS!="win"', {
1136 'browser/plugin_browsertest.cc',
1139 ['use_aura==1 or toolkit_views==1', {
1141 '../ui/events/events.gyp:events_test_support',
1144 ['use_aura!=1 and OS!="mac"', {
1146 ['exclude', '^browser/compositor/'],
1149 ['OS!="android" and OS!="ios"', {
1150 # npapi test plugin doesn't build on android or ios
1152 # Runtime dependencies
1153 'copy_npapi_test_plugin',
1156 ['enable_webrtc==1', {
1158 'browser/media/webrtc_aecdump_browsertest.cc',
1159 'browser/media/webrtc_browsertest.cc',
1160 'browser/media/webrtc_getusermedia_browsertest.cc',
1161 'test/webrtc_content_browsertest_base.cc',
1162 'test/webrtc_content_browsertest_base.h',
1165 '../testing/perf/perf_test.gyp:perf_test',
1168 ['enable_plugins==0', {
1170 ['exclude', '^renderer/pepper/'],
1173 'browser/plugin_service_impl_browsertest.cc',
1174 'browser/plugin_data_remover_impl_browsertest.cc',
1177 ['input_speech==0', {
1179 ['exclude', '^browser/speech/'],
1182 ['branding=="Chrome"', {
1184 # These tests depend on single process mode, which is disabled
1185 # in official builds.
1186 'renderer/browser_render_view_browsertest.cc',
1187 'renderer/dom_serializer_browsertest.cc',
1188 'renderer/resource_fetcher_browsertest.cc',
1189 'renderer/savable_resources_browsertest.cc',
1195 'target_name': 'content_gl_tests',
1196 'type': '<(gtest_target_type)',
1198 'content.gyp:content_common',
1199 'test_support_content',
1200 '../base/base.gyp:test_support_base',
1201 '../gpu/gpu.gyp:command_buffer_common',
1202 '../testing/gtest.gyp:gtest',
1203 '../third_party/WebKit/public/blink.gyp:blink',
1204 '../ui/base/ui_base.gyp:ui_base',
1205 '../ui/gfx/gfx.gyp:gfx',
1206 '../ui/gfx/gfx.gyp:gfx_geometry',
1207 '../ui/gl/gl.gyp:gl',
1208 # The following two dependencies provide the missing
1209 # symbol HeapProfilerStart in Linux component builds.
1210 '../webkit/child/webkit_child.gyp:webkit_child',
1216 'common/gpu/client/gl_helper_unittest.cc',
1217 'common/gpu/client/gpu_in_process_context_tests.cc',
1222 '../testing/android/native_test.gyp:native_test_native_code',
1228 'target_name': 'content_gl_benchmark',
1229 'type': '<(gtest_target_type)',
1231 'content.gyp:content_common',
1232 'test_support_content',
1233 '../base/base.gyp:test_support_base',
1234 '../testing/gtest.gyp:gtest',
1235 '../third_party/WebKit/public/blink.gyp:blink',
1236 '../ui/base/ui_base.gyp:ui_base',
1237 '../ui/gfx/gfx.gyp:gfx',
1238 '../ui/gfx/gfx.gyp:gfx_geometry',
1239 '../ui/gl/gl.gyp:gl',
1240 # The following two dependencies provide the missing
1241 # symbol HeapProfilerStart in Linux component builds.
1242 '../webkit/child/webkit_child.gyp:webkit_child',
1248 'common/gpu/client/gl_helper_benchmark.cc',
1252 'target_name': 'content_webkit_unit_test_support',
1253 'type': 'static_library',
1255 'test_support_content',
1261 'test/webkit_unit_test_support.cc',
1262 'test/webkit_unit_test_support.h',
1267 ['chromeos==1 or OS=="win" or OS=="android"', {
1270 'target_name': 'video_decode_accelerator_unittest',
1271 'type': '<(gtest_target_type)',
1273 '../base/base.gyp:base',
1274 '../media/media.gyp:media',
1275 '../testing/gtest.gyp:gtest',
1276 '../ui/base/ui_base.gyp:ui_base',
1277 '../ui/gfx/gfx.gyp:gfx',
1278 '../ui/gfx/gfx.gyp:gfx_geometry',
1279 '../ui/gl/gl.gyp:gl',
1280 'content.gyp:content',
1283 '<(DEPTH)/third_party/khronos',
1286 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1287 'common/gpu/media/rendering_helper.h',
1288 'common/gpu/media/rendering_helper.cc',
1289 'common/gpu/media/video_accelerator_unittest_helpers.h',
1290 'common/gpu/media/video_decode_accelerator_unittest.cc',
1295 ['exclude', '^common/gpu/media/rendering_helper.h'],
1296 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1297 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1300 '../media/media.gyp:player_android',
1301 '../testing/gmock.gyp:gmock',
1302 '../testing/android/native_test.gyp:native_test_native_code',
1303 '../gpu/gpu.gyp:gpu_unittest_utils',
1305 }, { # OS!="android"
1307 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1312 '<(angle_path)/src/build_angle.gyp:libEGL',
1313 '<(angle_path)/src/build_angle.gyp:libGLESv2',
1316 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
1317 ['(OS=="win" and win_use_allocator_shim==1) or '
1318 '(os_posix == 1 and OS != "android" and '
1319 ' ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)))', {
1321 '../base/allocator/allocator.gyp:allocator',
1324 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1326 '<(DEPTH)/third_party/libva',
1331 '../build/linux/system.gyp:x11', # Used by rendering_helper.cc
1335 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1336 'msvs_disabled_warnings': [ 4267, ],
1340 ['chromeos==1 and use_x11 == 1 and target_arch != "arm"', {
1343 'target_name': 'vaapi_h264_decoder_unittest',
1344 'type': '<(gtest_target_type)',
1346 'content.gyp:content_common',
1347 '../base/base.gyp:base',
1348 '../build/linux/system.gyp:x11',
1349 '../media/media.gyp:media',
1350 '../testing/gtest.gyp:gtest',
1351 '../third_party/libyuv/libyuv.gyp:libyuv',
1352 '../ui/gfx/gfx.gyp:gfx_geometry',
1355 'common/gpu/media/vaapi_h264_decoder_unittest.cc',
1358 '<(DEPTH)/third_party/libva',
1363 ['chromeos==1 and target_arch == "arm"', {
1366 'target_name': 'video_encode_accelerator_unittest',
1367 'type': 'executable',
1369 '../base/base.gyp:base',
1370 '../media/media.gyp:media',
1371 '../testing/gtest.gyp:gtest',
1372 '../ui/base/ui_base.gyp:ui_base',
1373 '../ui/gfx/gfx.gyp:gfx',
1374 '../ui/gfx/gfx.gyp:gfx_geometry',
1375 '../ui/gl/gl.gyp:gl',
1376 'content.gyp:content',
1379 'common/gpu/media/video_accelerator_unittest_helpers.h',
1380 'common/gpu/media/video_encode_accelerator_unittest.cc',
1385 # Special target to wrap a gtest_target_type==shared_library
1386 # content_unittests into an android apk for execution.
1387 # See base.gyp for TODO(jrg)s about this strategy.
1388 ['OS == "android" and gtest_target_type == "shared_library"', {
1391 'target_name': 'content_gl_tests_apk',
1395 'content_java_test_support',
1398 'test_suite_name': 'content_gl_tests',
1399 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_gl_tests<(SHARED_LIB_SUFFIX)',
1402 '../build/apk_test.gypi',
1406 'target_name': 'content_unittests_apk',
1409 'content.gyp:content_java',
1410 'content_unittests',
1413 'test_suite_name': 'content_unittests',
1414 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1416 'includes': [ '../build/apk_test.gypi' ],
1419 'target_name': 'content_browsertests_apk',
1422 'content.gyp:content_icudata',
1423 'content.gyp:content_java',
1424 'content_browsertests',
1425 'content_java_test_support',
1426 'content_shell_java',
1429 'apk_name': 'content_browsertests',
1430 'java_in_dir': 'shell/android/browsertests_apk',
1431 'resource_dir': 'shell/android/browsertests_apk/res',
1432 'native_lib_target': 'libcontent_browsertests',
1433 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1434 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1436 ['icu_use_data_file_flag==1', {
1437 'additional_input_paths': [
1438 '<(PRODUCT_DIR)/icudtl.dat',
1443 'includes': [ '../build/java_apk.gypi' ],
1446 'target_name': 'content_perftests_apk',
1449 'content.gyp:content_java',
1450 'content_perftests',
1453 'test_suite_name': 'content_perftests',
1454 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_perftests<(SHARED_LIB_SUFFIX)',
1456 'includes': [ '../build/apk_test.gypi' ],
1459 'target_name': 'chromium_linker_test_apk',
1462 'chromium_android_linker_test',
1463 'content.gyp:content_icudata',
1464 'content.gyp:content_java',
1465 'content_shell_java',
1468 'apk_name': 'ChromiumLinkerTest',
1469 'java_in_dir': 'shell/android/linker_test_apk',
1470 'resource_dir': 'shell/android/linker_test_apk/res',
1471 'native_lib_target': 'libchromium_android_linker_test',
1472 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1473 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1474 'use_chromium_linker': '1',
1475 'enable_chromium_linker_tests': '1',
1477 ['icu_use_data_file_flag==1', {
1478 'additional_input_paths': [
1479 '<(PRODUCT_DIR)/icudtl.dat',
1484 'includes': [ '../build/java_apk.gypi' ],
1487 'target_name': 'chromium_android_linker_test',
1488 'type': 'shared_library',
1489 'defines!': ['CONTENT_IMPLEMENTATION'],
1491 'chromium_android_linker_test_jni_headers',
1492 'content_shell_lib',
1493 # Required to include "content/public/browser/android/compositor.h"
1494 # in chromium_linker_test_android.cc :-(
1495 '../skia/skia.gyp:skia',
1498 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1499 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc',
1503 'target_name': 'chromium_android_linker_test_jni_headers',
1506 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java',
1509 'jni_gen_package': 'content/shell',
1510 'jni_generator_ptr_type': 'long',
1512 'includes': [ '../build/jni_generator.gypi' ],
1515 'target_name': 'video_decode_accelerator_unittest_apk',
1518 'video_decode_accelerator_unittest',
1521 'test_suite_name': 'video_decode_accelerator_unittest',
1522 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1524 'includes': [ '../build/apk_test.gypi' ],
1528 ['OS == "android"', {
1531 'target_name': 'test_support_content_jni_headers',
1534 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1537 'jni_gen_package': 'content/public/test',
1538 'jni_generator_ptr_type': 'long',
1540 'includes': [ '../build/jni_generator.gypi' ],
1543 'target_name': 'content_java_test_support',
1546 '../base/base.gyp:base',
1547 '../base/base.gyp:base_java_test_support',
1548 'content.gyp:content_common',
1549 'content.gyp:content_java',
1552 'java_in_dir': '../content/public/test/android/javatests',
1554 'includes': [ '../build/java.gypi' ],
1557 'target_name': 'content_shell_test_apk',
1560 'content_java_test_support',
1561 'content_shell_apk_java',
1562 'content.gyp:content_java',
1563 '../base/base.gyp:base_java',
1564 '../base/base.gyp:base_javatests',
1565 '../base/base.gyp:base_java_test_support',
1566 '../media/media.gyp:media_java',
1567 '../media/media.gyp:media_test_support',
1568 '../net/net.gyp:net_java',
1569 '../net/net.gyp:net_javatests',
1572 'apk_name': 'ContentShellTest',
1573 'java_in_dir': 'shell/android/javatests',
1574 'resource_dir': 'shell/android/shell_apk/res',
1575 'additional_src_dirs': ['public/android/javatests/',],
1578 'includes': [ '../build/java_apk.gypi' ],
1582 ['OS!="android" and OS!="ios"', {
1583 # npapi test plugin doesn't build on android or ios
1586 'target_name': 'npapi_test_plugin',
1587 'type': 'loadable_module',
1593 '<(DEPTH)/base/base.gyp:base',
1594 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
1595 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
1598 'test/plugin/npapi_constants.cc',
1599 'test/plugin/npapi_constants.h',
1600 'test/plugin/npapi_test.cc',
1601 'test/plugin/npapi_test.def',
1602 'test/plugin/npapi_test.rc',
1603 'test/plugin/plugin_arguments_test.cc',
1604 'test/plugin/plugin_arguments_test.h',
1605 'test/plugin/plugin_client.cc',
1606 'test/plugin/plugin_client.h',
1607 'test/plugin/plugin_create_instance_in_paint.cc',
1608 'test/plugin/plugin_create_instance_in_paint.h',
1609 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
1610 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
1611 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
1612 'test/plugin/plugin_delete_plugin_in_stream_test.h',
1613 'test/plugin/plugin_execute_stream_javascript.cc',
1614 'test/plugin/plugin_execute_stream_javascript.h',
1615 'test/plugin/plugin_get_javascript_url_test.cc',
1616 'test/plugin/plugin_get_javascript_url_test.h',
1617 'test/plugin/plugin_get_javascript_url2_test.cc',
1618 'test/plugin/plugin_get_javascript_url2_test.h',
1619 'test/plugin/plugin_geturl_test.cc',
1620 'test/plugin/plugin_geturl_test.h',
1621 'test/plugin/plugin_javascript_open_popup.cc',
1622 'test/plugin/plugin_javascript_open_popup.h',
1623 'test/plugin/plugin_new_fails_test.cc',
1624 'test/plugin/plugin_new_fails_test.h',
1625 'test/plugin/plugin_npobject_identity_test.cc',
1626 'test/plugin/plugin_npobject_identity_test.h',
1627 'test/plugin/plugin_npobject_lifetime_test.cc',
1628 'test/plugin/plugin_npobject_lifetime_test.h',
1629 'test/plugin/plugin_npobject_proxy_test.cc',
1630 'test/plugin/plugin_npobject_proxy_test.h',
1631 'test/plugin/plugin_request_read_test.h',
1632 'test/plugin/plugin_request_read_test.cc',
1633 'test/plugin/plugin_schedule_timer_test.cc',
1634 'test/plugin/plugin_schedule_timer_test.h',
1635 'test/plugin/plugin_setup_test.cc',
1636 'test/plugin/plugin_setup_test.h',
1637 'test/plugin/plugin_test.cc',
1638 'test/plugin/plugin_test.h',
1639 'test/plugin/plugin_test_factory.h',
1640 'test/plugin/plugin_thread_async_call_test.cc',
1641 'test/plugin/plugin_thread_async_call_test.h',
1642 'test/plugin/plugin_windowed_test.cc',
1643 'test/plugin/plugin_windowed_test.h',
1644 'test/plugin/plugin_private_test.cc',
1645 'test/plugin/plugin_private_test.h',
1646 'test/plugin/plugin_test_factory.cc',
1647 'test/plugin/plugin_window_size_test.cc',
1648 'test/plugin/plugin_window_size_test.h',
1649 'test/plugin/plugin_windowless_test.cc',
1650 'test/plugin/plugin_windowless_test.h',
1651 'test/plugin/resource.h',
1657 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
1662 # TODO(port): Port these.
1663 # plugin_npobject_lifetime_test.cc has win32-isms
1665 'test/plugin/plugin_npobject_lifetime_test.cc',
1666 # The window APIs are necessarily platform-specific.
1667 'test/plugin/plugin_window_size_test.cc',
1668 'test/plugin/plugin_windowed_test.cc',
1669 # Seems windows specific.
1670 'test/plugin/plugin_create_instance_in_paint.cc',
1671 'test/plugin/plugin_create_instance_in_paint.h',
1672 # windows-specific resources
1673 'test/plugin/npapi_test.def',
1674 'test/plugin/npapi_test.rc',
1678 'product_extension': 'plugin',
1681 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1685 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
1686 # Shared libraries need -fPIC on x86-64
1692 'target_name': 'copy_npapi_test_plugin',
1695 'npapi_test_plugin',
1701 'destination': '<(PRODUCT_DIR)/plugins',
1702 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
1709 'destination': '<(PRODUCT_DIR)/plugins/',
1710 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
1714 ['os_posix == 1 and OS != "mac"', {
1717 'destination': '<(PRODUCT_DIR)/plugins',
1718 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],