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/events/events.gyp:dom4_keycode_converter',
16 '../ui/events/events.gyp:events_base',
17 '../ui/gfx/gfx.gyp:gfx',
18 '../ui/gfx/gfx.gyp:gfx_geometry',
19 '../ui/resources/ui_resources.gyp:ui_resources',
21 '../ui/ui_unittests.gyp:ui_test_support',
22 '../url/url.gyp:url_lib',
23 'browser/speech/proto/speech_proto.gyp:speech_proto',
24 'content.gyp:content_app_both',
25 'content.gyp:content_browser',
26 'content.gyp:content_common',
32 'public/test/browser_test_base.cc',
33 'public/test/browser_test_base.h',
34 'public/test/browser_test.h',
35 'public/test/browser_test_utils.cc',
36 'public/test/browser_test_utils.h',
37 'public/test/content_test_suite_base.cc',
38 'public/test/content_test_suite_base.h',
39 'public/test/download_test_observer.cc',
40 'public/test/download_test_observer.h',
41 'public/test/fake_speech_recognition_manager.cc',
42 'public/test/fake_speech_recognition_manager.h',
43 'public/test/mock_download_item.cc',
44 'public/test/mock_download_item.h',
45 'public/test/mock_download_manager.cc',
46 'public/test/mock_download_manager.h',
47 'public/test/mock_notification_observer.cc',
48 'public/test/mock_notification_observer.h',
49 'public/test/mock_render_process_host.cc',
50 'public/test/mock_render_process_host.h',
51 'public/test/mock_render_thread.cc',
52 'public/test/mock_render_thread.h',
53 'public/test/mock_resource_context.cc',
54 'public/test/mock_resource_context.h',
55 'public/test/nested_message_pump_android.cc',
56 'public/test/nested_message_pump_android.h',
57 'public/test/render_view_test.cc',
58 'public/test/render_view_test.h',
59 'public/test/render_widget_test.cc',
60 'public/test/render_widget_test.h',
61 'public/test/sandbox_file_system_test_helper.cc',
62 'public/test/sandbox_file_system_test_helper.h',
63 'public/test/test_browser_context.cc',
64 'public/test/test_browser_context.h',
65 'public/test/test_browser_thread.cc',
66 'public/test/test_browser_thread.h',
67 'public/test/test_browser_thread_bundle.cc',
68 'public/test/test_browser_thread_bundle.h',
69 'public/test/test_content_client_initializer.cc',
70 'public/test/test_content_client_initializer.h',
71 'public/test/test_file_error_injector.cc',
72 'public/test/test_file_error_injector.h',
73 'public/test/test_file_system_backend.cc',
74 'public/test/test_file_system_backend.h',
75 'public/test/test_file_system_context.cc',
76 'public/test/test_file_system_context.h',
77 'public/test/test_file_system_options.cc',
78 'public/test/test_file_system_options.h',
79 'public/test/test_launcher.cc',
80 'public/test/test_launcher.h',
81 'public/test/test_navigation_observer.cc',
82 'public/test/test_navigation_observer.h',
83 'public/test/test_notification_tracker.cc',
84 'public/test/test_notification_tracker.h',
85 'public/test/test_renderer_host.cc',
86 'public/test/test_renderer_host.h',
87 'public/test/test_utils.cc',
88 'public/test/test_utils.h',
89 'public/test/unittest_test_suite.cc',
90 'public/test/unittest_test_suite.h',
91 'public/test/web_contents_tester.cc',
92 'public/test/web_contents_tester.h',
93 'app/startup_helper_win.cc',
94 # TODO(phajdan.jr): All of those files should live in content/test (if
95 # they're only used by content) or content/public/test (if they're used
96 # by other embedders).
97 'browser/download/mock_download_file.cc',
98 'browser/download/mock_download_file.h',
99 'browser/geolocation/fake_access_token_store.cc',
100 'browser/geolocation/fake_access_token_store.h',
101 'browser/geolocation/mock_location_arbitrator.cc',
102 'browser/geolocation/mock_location_arbitrator.h',
103 'browser/geolocation/mock_location_provider.cc',
104 'browser/geolocation/mock_location_provider.h',
105 'browser/renderer_host/compositing_iosurface_shader_programs_mac.cc',
106 'browser/renderer_host/compositing_iosurface_shader_programs_mac.h',
107 'browser/renderer_host/compositing_iosurface_transformer_mac.cc',
108 'browser/renderer_host/compositing_iosurface_transformer_mac.h',
109 'browser/renderer_host/media/mock_media_observer.cc',
110 'browser/renderer_host/media/mock_media_observer.h',
111 'gpu/gpu_idirect3d9_mock_win.cc',
112 'gpu/gpu_idirect3d9_mock_win.h',
113 'test/content_test_suite.cc',
114 'test/content_test_suite.h',
115 'test/mock_google_streaming_server.cc',
116 'test/mock_google_streaming_server.h',
117 'test/mock_keyboard.cc',
118 'test/mock_keyboard.h',
119 'test/mock_keyboard_driver_win.cc',
120 'test/mock_keyboard_driver_win.h',
121 'test/mock_render_process.cc',
122 'test/mock_render_process.h',
123 'test/mock_webclipboard_impl.cc',
124 'test/mock_webclipboard_impl.h',
125 'test/mock_webframeclient.h',
126 'test/mock_weburlloader.cc',
127 'test/mock_weburlloader.h',
128 'test/net/url_request_abort_on_end_job.cc',
129 'test/net/url_request_abort_on_end_job.h',
130 'test/net/url_request_failed_job.cc',
131 'test/net/url_request_failed_job.h',
132 'test/net/url_request_mock_http_job.cc',
133 'test/net/url_request_mock_http_job.h',
134 'test/net/url_request_prepackaged_interceptor.cc',
135 'test/net/url_request_prepackaged_interceptor.h',
136 'test/net/url_request_slow_download_job.cc',
137 'test/net/url_request_slow_download_job.h',
138 'test/ppapi_unittest.cc',
139 'test/ppapi_unittest.h',
140 'test/test_backing_store.cc',
141 'test/test_backing_store.h',
142 'test/test_content_browser_client.cc',
143 'test/test_content_browser_client.h',
144 'test/test_content_client.cc',
145 'test/test_content_client.h',
146 'test/test_media_stream_client.cc',
147 'test/test_media_stream_client.h',
148 'test/test_render_frame_host.cc',
149 'test/test_render_frame_host.h',
150 'test/test_render_frame_host_factory.cc',
151 'test/test_render_frame_host_factory.h',
152 'test/test_render_view_host.cc',
153 'test/test_render_view_host.h',
154 'test/test_render_view_host_factory.cc',
155 'test/test_render_view_host_factory.h',
156 'test/test_video_frame_provider.cc',
157 'test/test_video_frame_provider.h',
158 'test/test_web_contents.cc',
159 'test/test_web_contents.h',
160 'test/test_web_contents_view.cc',
161 'test/test_web_contents_view.h',
162 'test/test_webkit_platform_support.cc',
163 'test/test_webkit_platform_support.h',
164 'test/web_gesture_curve_mock.cc',
165 'test/web_gesture_curve_mock.h',
166 'test/web_layer_tree_view_impl_for_testing.cc',
167 'test/web_layer_tree_view_impl_for_testing.h',
168 'test/webkit_support.cc',
169 'test/webkit_support.h',
170 'test/webkit_support_glue.cc',
171 'test/weburl_loader_mock.cc',
172 'test/weburl_loader_mock.h',
173 'test/weburl_loader_mock_factory.cc',
174 'test/weburl_loader_mock_factory.h',
176 # TODO(kinuko): Those files should be moved to content/public/test.
177 '../webkit/browser/appcache/appcache_test_helper.cc',
178 '../webkit/browser/appcache/appcache_test_helper.h',
179 '../webkit/browser/fileapi/async_file_test_helper.cc',
180 '../webkit/browser/fileapi/async_file_test_helper.h',
185 # iOS only needs a small portion of content; exclude all the
186 # implementation, and re-include what is used.
187 ['exclude', '\\.(cc|mm)$'],
188 ['include', '_ios\\.(cc|mm)$'],
189 ['include', '^public/test/content_test_suite_base\\.cc$'],
190 ['include', '^public/test/mock_notification_observer\\.cc$'],
191 ['include', '^public/test/mock_resource_context\\.cc$'],
192 ['include', '^public/test/test_browser_thread\\.cc$'],
193 ['include', '^public/test/test_content_client_initializer\\.cc$'],
194 ['include', '^public/test/test_notification_tracker\\.cc$'],
195 ['include', '^public/test/test_utils\\.cc$'],
196 ['include', '^public/test/unittest_test_suite\\.cc$'],
197 ['include', '^test/content_test_suite\\.cc$'],
198 ['include', '^test/test_content_browser_client\\.cc$'],
199 ['include', '^test/test_content_client\\.cc$'],
205 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
207 'shell/resources/missingImage.png',
208 'shell/resources/textAreaResizeCorner.png',
214 'content.gyp:content_child',
215 'content.gyp:content_gpu',
216 'content.gyp:content_ppapi_plugin',
217 'content.gyp:content_renderer',
218 'content.gyp:content_utility',
219 'content.gyp:content_worker',
220 '../cc/cc_tests.gyp:cc_test_support',
221 '../media/media.gyp:media',
222 '../ppapi/ppapi_internal.gyp:ppapi_host',
223 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
224 '../ppapi/ppapi_internal.gyp:ppapi_shared',
225 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
226 '../third_party/WebKit/public/blink.gyp:blink',
227 '../ui/surface/surface.gyp:surface',
228 '../webkit/child/webkit_child.gyp:webkit_child',
229 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
230 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
231 '../webkit/glue/webkit_glue.gyp:glue',
232 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
233 '../webkit/storage_browser.gyp:webkit_storage_browser',
234 '../webkit/storage_common.gyp:webkit_storage_common',
236 'export_dependent_settings': [
237 '../third_party/WebKit/public/blink.gyp:blink',
240 ['OS == "win" or toolkit_uses_gtk == 1', {
242 '../sandbox/sandbox.gyp:sandbox',
245 ['enable_webrtc==1', {
247 'renderer/media/mock_media_stream_dependency_factory.cc',
248 'renderer/media/mock_media_stream_dependency_factory.h',
249 'renderer/media/mock_media_stream_dispatcher.cc',
250 'renderer/media/mock_media_stream_dispatcher.h',
251 'renderer/media/mock_media_stream_registry.cc',
252 'renderer/media/mock_media_stream_registry.h',
253 'renderer/media/mock_peer_connection_impl.cc',
254 'renderer/media/mock_peer_connection_impl.h',
255 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
256 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
257 'test/webrtc_audio_device_test.cc',
258 'test/webrtc_audio_device_test.h',
261 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
262 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
263 '../third_party/webrtc/modules/modules.gyp:audio_device',
264 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
267 ['toolkit_uses_gtk == 1', {
269 '../build/linux/system.gyp:gtk',
274 '../build/linux/system.gyp:glib',
279 '../ui/aura/aura.gyp:aura_test_support',
280 '../ui/compositor/compositor.gyp:compositor',
281 '../ui/resources/ui_resources.gyp:ui_test_pak',
286 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
289 ['OS!="android" and OS!="ios"', {
291 '../third_party/libvpx/libvpx.gyp:libvpx',
296 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
297 'test_support_content_jni_headers',
303 'target_name': 'content_unittests',
304 'type': '<(gtest_target_type)',
306 'content.gyp:content_browser',
307 'content.gyp:content_common',
308 'test_support_content',
309 'browser/speech/proto/speech_proto.gyp:speech_proto',
310 '../base/base.gyp:test_support_base',
311 '../crypto/crypto.gyp:crypto',
312 '../net/net.gyp:net_test_support',
313 '../skia/skia.gyp:skia',
314 '../sql/sql.gyp:sql',
315 '../sql/sql.gyp:test_support_sql',
316 '../testing/gmock.gyp:gmock',
317 '../testing/gtest.gyp:gtest',
318 '../ui/accessibility/accessibility.gyp:accessibility',
319 '../ui/gfx/gfx.gyp:gfx',
320 '../ui/gfx/gfx.gyp:gfx_geometry',
322 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
326 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_unittest.cc.
329 'browser/accessibility/browser_accessibility_mac_unittest.mm',
330 'browser/accessibility/browser_accessibility_manager_unittest.cc',
331 'browser/accessibility/browser_accessibility_win_unittest.cc',
332 'browser/appcache/chrome_appcache_service_unittest.cc',
333 'browser/aura/software_browser_compositor_output_surface_unittest.cc',
334 'browser/aura/software_output_device_ozone_unittest.cc',
335 'browser/browser_thread_unittest.cc',
336 'browser/browser_url_handler_impl_unittest.cc',
337 'browser/byte_stream_unittest.cc',
338 'browser/child_process_security_policy_unittest.cc',
339 'browser/device_orientation/data_fetcher_impl_android_unittest.cc',
340 'browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc',
341 'browser/devtools/devtools_http_handler_unittest.cc',
342 'browser/devtools/devtools_manager_unittest.cc',
343 'browser/dom_storage/dom_storage_area_unittest.cc',
344 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
345 'browser/dom_storage/dom_storage_database_unittest.cc',
346 'browser/dom_storage/session_storage_database_unittest.cc',
347 'browser/download/base_file_unittest.cc',
348 'browser/download/download_file_unittest.cc',
349 'browser/download/download_item_impl_unittest.cc',
350 'browser/download/download_manager_impl_unittest.cc',
351 'browser/download/file_metadata_unittest_linux.cc',
352 'browser/download/rate_estimator_unittest.cc',
353 'browser/download/save_package_unittest.cc',
354 'browser/fileapi/blob_url_request_job_unittest.cc',
355 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
356 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
357 'browser/fileapi/dragged_file_util_unittest.cc',
358 'browser/fileapi/file_system_context_unittest.cc',
359 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
360 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
361 'browser/fileapi/file_system_operation_impl_unittest.cc',
362 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
363 'browser/fileapi/file_system_operation_runner_unittest.cc',
364 'browser/fileapi/file_system_quota_client_unittest.cc',
365 'browser/fileapi/file_system_url_request_job_unittest.cc',
366 'browser/fileapi/file_writer_delegate_unittest.cc',
367 'browser/fileapi/fileapi_message_filter_unittest.cc',
368 'browser/fileapi/local_file_util_unittest.cc',
369 'browser/fileapi/obfuscated_file_util_unittest.cc',
370 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
371 'browser/fileapi/recursive_operation_delegate_unittest.cc',
372 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
373 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
374 'browser/fileapi/transient_file_util_unittest.cc',
375 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
376 'browser/frame_host/frame_tree_unittest.cc',
377 'browser/frame_host/navigation_controller_impl_unittest.cc',
378 'browser/frame_host/navigation_entry_impl_unittest.cc',
379 'browser/frame_host/render_frame_host_manager_unittest.cc',
380 'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
381 'browser/frame_host/render_widget_host_view_guest_unittest.cc',
382 'browser/gamepad/gamepad_provider_unittest.cc',
383 'browser/gamepad/gamepad_test_helpers.cc',
384 'browser/gamepad/gamepad_test_helpers.h',
385 'browser/geolocation/geolocation_provider_unittest.cc',
386 'browser/geolocation/location_arbitrator_impl_unittest.cc',
387 'browser/geolocation/network_location_provider_unittest.cc',
388 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
389 'browser/geolocation/wifi_data_provider_common_unittest.cc',
390 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
391 'browser/geolocation/wifi_data_provider_unittest_win.cc',
392 'browser/gpu/shader_disk_cache_unittest.cc',
393 'browser/host_zoom_map_impl_unittest.cc',
394 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
395 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
396 'browser/indexed_db/indexed_db_database_unittest.cc',
397 'browser/indexed_db/indexed_db_factory_unittest.cc',
398 'browser/indexed_db/indexed_db_fake_backing_store.cc',
399 'browser/indexed_db/indexed_db_fake_backing_store.h',
400 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
401 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
402 'browser/indexed_db/indexed_db_transaction_unittest.cc',
403 'browser/indexed_db/indexed_db_unittest.cc',
404 'browser/indexed_db/mock_indexed_db_callbacks.cc',
405 'browser/indexed_db/mock_indexed_db_callbacks.h',
406 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
407 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
408 'browser/indexed_db/leveldb/leveldb_unittest.cc',
409 'browser/indexed_db/list_set_unittest.cc',
410 'browser/loader/offline_policy_unittest.cc',
411 'browser/loader/resource_buffer_unittest.cc',
412 'browser/loader/resource_dispatcher_host_unittest.cc',
413 'browser/loader/resource_loader_unittest.cc',
414 'browser/loader/resource_scheduler_unittest.cc',
415 'browser/loader/upload_data_stream_builder_unittest.cc',
416 'browser/mach_broker_mac_unittest.cc',
417 'browser/media/media_internals_unittest.cc',
418 'browser/media/webrtc_identity_store_unittest.cc',
419 'browser/net/sqlite_persistent_cookie_store_unittest.cc',
420 'browser/notification_service_impl_unittest.cc',
421 'browser/plugin_loader_posix_unittest.cc',
422 'browser/power_monitor_message_broadcaster_unittest.cc',
423 'browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc',
424 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',
425 'browser/renderer_host/input/gesture_event_filter_unittest.cc',
426 'browser/renderer_host/input/input_router_impl_unittest.cc',
427 'browser/renderer_host/input/mock_input_ack_handler.cc',
428 'browser/renderer_host/input/mock_input_ack_handler.h',
429 'browser/renderer_host/input/mock_input_router_client.cc',
430 'browser/renderer_host/input/mock_input_router_client.h',
431 'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
432 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
433 'browser/renderer_host/input/touch_event_queue_unittest.cc',
434 'browser/renderer_host/input/touch_action_filter_unittest.cc',
435 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
436 'browser/renderer_host/media/audio_mirroring_manager_unittest.cc',
437 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
438 'browser/renderer_host/media/device_request_message_filter_unittest.cc',
439 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
440 'browser/renderer_host/media/media_stream_manager_unittest.cc',
441 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
442 'browser/renderer_host/media/midi_host_unittest.cc',
443 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
444 'browser/renderer_host/media/video_capture_controller_unittest.cc',
445 'browser/renderer_host/media/video_capture_host_unittest.cc',
446 'browser/renderer_host/media/video_capture_manager_unittest.cc',
447 'browser/renderer_host/media/video_capture_oracle_unittest.cc',
448 'browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc',
449 'browser/renderer_host/media/web_contents_video_capture_device_unittest.cc',
450 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
451 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
452 'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
453 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
454 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
455 'browser/renderer_host/pepper/quota_reservation_unittest.cc',
456 'browser/renderer_host/render_process_host_unittest.cc',
457 'browser/renderer_host/render_view_host_unittest.cc',
458 'browser/renderer_host/render_widget_host_unittest.cc',
459 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
460 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
461 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
462 'browser/renderer_host/software_frame_manager_unittest.cc',
463 'browser/renderer_host/text_input_client_mac_unittest.mm',
464 'browser/renderer_host/web_input_event_aura_unittest.cc',
465 'browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc',
466 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
467 'browser/resolve_proxy_msg_helper_unittest.cc',
468 'browser/service_worker/embedded_worker_instance_unittest.cc',
469 'browser/service_worker/service_worker_context_unittest.cc',
470 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
471 'browser/service_worker/service_worker_registration_unittest.cc',
472 'browser/service_worker/service_worker_storage_unittest.cc',
473 'browser/service_worker/service_worker_job_unittest.cc',
474 'browser/site_instance_impl_unittest.cc',
475 'browser/speech/chunked_byte_buffer_unittest.cc',
476 'browser/speech/endpointer/endpointer_unittest.cc',
477 'browser/speech/google_one_shot_remote_engine_unittest.cc',
478 'browser/speech/google_streaming_remote_engine_unittest.cc',
479 'browser/speech/speech_recognizer_impl_unittest.cc',
480 'browser/ssl/ssl_host_state_unittest.cc',
481 'browser/startup_task_runner_unittest.cc',
482 'browser/storage_partition_impl_map_unittest.cc',
483 'browser/storage_partition_impl_unittest.cc',
484 'browser/streams/stream_unittest.cc',
485 'browser/streams/stream_url_request_job_unittest.cc',
486 'browser/system_message_window_win_unittest.cc',
487 'browser/web_contents/aura/window_slider_unittest.cc',
488 'browser/web_contents/web_contents_delegate_unittest.cc',
489 'browser/web_contents/web_contents_impl_unittest.cc',
490 'browser/web_contents/web_contents_user_data_unittest.cc',
491 'browser/web_contents/web_contents_view_mac_unittest.mm',
492 'browser/web_contents/web_drag_dest_mac_unittest.mm',
493 'browser/web_contents/web_drag_source_mac_unittest.mm',
494 'browser/webui/web_ui_data_source_unittest.cc',
495 'browser/webui/web_ui_message_handler_unittest.cc',
496 'child/fileapi/webfilewriter_base_unittest.cc',
497 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
498 'child/indexed_db/webidbcursor_impl_unittest.cc',
499 'child/npapi/plugin_lib_unittest.cc',
500 'child/power_monitor_broadcast_source_unittest.cc',
501 'child/resource_dispatcher_unittest.cc',
502 'child/site_isolation_policy_unittest.cc',
503 'common/android/address_parser_unittest.cc',
504 'common/cc_messages_unittest.cc',
505 'common/common_param_traits_unittest.cc',
506 'common/dom_storage/dom_storage_map_unittest.cc',
507 'common/gpu/gpu_memory_manager_unittest.cc',
508 'common/indexed_db/indexed_db_key_unittest.cc',
509 'common/input/input_param_traits_unittest.cc',
510 'common/input/web_input_event_traits_unittest.cc',
511 'common/inter_process_time_ticks_converter_unittest.cc',
512 'common/mac/attributed_string_coder_unittest.mm',
513 'common/mac/font_descriptor_unittest.mm',
514 'common/page_state_serialization_unittest.cc',
515 'common/page_zoom_unittest.cc',
516 'common/plugin_list_unittest.cc',
517 'common/sandbox_mac_diraccess_unittest.mm',
518 'common/sandbox_mac_fontloading_unittest.mm',
519 'common/sandbox_mac_system_access_unittest.mm',
520 'common/sandbox_mac_unittest_helper.h',
521 'common/sandbox_mac_unittest_helper.mm',
522 'common/webplugininfo_unittest.cc',
523 'renderer/active_notification_tracker_unittest.cc',
524 'renderer/android/email_detector_unittest.cc',
525 'renderer/android/phone_number_detector_unittest.cc',
526 'renderer/bmp_image_decoder_unittest.cc',
527 'renderer/device_orientation/device_motion_event_pump_unittest.cc',
528 'renderer/device_orientation/device_orientation_event_pump_unittest.cc',
529 'renderer/disambiguation_popup_helper_unittest.cc',
530 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
531 'renderer/ico_image_decoder_unittest.cc',
532 'renderer/input/input_event_filter_unittest.cc',
533 'renderer/input/input_handler_proxy_unittest.cc',
534 'renderer/media/android/media_info_loader_unittest.cc',
535 'renderer/media/audio_message_filter_unittest.cc',
536 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
537 'renderer/media/buffered_data_source_unittest.cc',
538 'renderer/media/buffered_resource_loader_unittest.cc',
539 'renderer/media/cache_util_unittest.cc',
540 'renderer/media/crypto/key_systems_unittest.cc',
541 'renderer/media/media_stream_video_source_unittest.cc',
542 'renderer/media/test_response_generator.cc',
543 'renderer/media/test_response_generator.h',
544 'renderer/media/video_capture_impl_manager_unittest.cc',
545 'renderer/media/video_capture_impl_unittest.cc',
546 'renderer/media/video_capture_message_filter_unittest.cc',
547 'renderer/media/video_destination_handler_unittest.cc',
548 'renderer/media/webaudiosourceprovider_impl_unittest.cc',
549 'renderer/npapi/webplugin_impl_unittest.cc',
550 'renderer/paint_aggregator_unittest.cc',
551 'renderer/pepper/host_var_tracker_unittest.cc',
552 'renderer/pepper/mock_resource.h',
553 'renderer/pepper/pepper_broker_unittest.cc',
554 'renderer/pepper/v8_var_converter_unittest.cc',
555 'renderer/render_thread_impl_unittest.cc',
556 'renderer/render_view_impl_unittest.cc',
557 'renderer/render_widget_unittest.cc',
558 'renderer/skia_benchmarking_extension_unittest.cc',
559 'renderer/v8_value_converter_impl_unittest.cc',
560 'renderer/webcrypto/webcrypto_impl_unittest.cc',
561 'test/image_decoder_test.cc',
562 'test/image_decoder_test.h',
563 'test/run_all_unittests.cc',
564 '../webkit/browser/appcache/appcache_database_unittest.cc',
565 '../webkit/browser/appcache/appcache_group_unittest.cc',
566 '../webkit/browser/appcache/appcache_host_unittest.cc',
567 '../webkit/browser/appcache/appcache_quota_client_unittest.cc',
568 '../webkit/browser/appcache/appcache_request_handler_unittest.cc',
569 '../webkit/browser/appcache/appcache_response_unittest.cc',
570 '../webkit/browser/appcache/appcache_service_unittest.cc',
571 '../webkit/browser/appcache/appcache_storage_impl_unittest.cc',
572 '../webkit/browser/appcache/appcache_storage_unittest.cc',
573 '../webkit/browser/appcache/appcache_unittest.cc',
574 '../webkit/browser/appcache/appcache_update_job_unittest.cc',
575 '../webkit/browser/appcache/appcache_url_request_job_unittest.cc',
576 '../webkit/browser/appcache/manifest_parser_unittest.cc',
577 '../webkit/browser/appcache/mock_appcache_policy.cc',
578 '../webkit/browser/appcache/mock_appcache_policy.h',
579 '../webkit/browser/appcache/mock_appcache_service.cc',
580 '../webkit/browser/appcache/mock_appcache_service.h',
581 '../webkit/browser/appcache/mock_appcache_storage.cc',
582 '../webkit/browser/appcache/mock_appcache_storage.h',
583 '../webkit/browser/appcache/mock_appcache_storage_unittest.cc',
584 '../webkit/browser/blob/blob_storage_context_unittest.cc',
585 '../webkit/browser/blob/local_file_stream_reader_unittest.cc',
586 '../webkit/browser/blob/mock_blob_url_request_context.cc',
587 '../webkit/browser/blob/mock_blob_url_request_context.h',
588 '../webkit/browser/database/database_quota_client_unittest.cc',
589 '../webkit/browser/database/database_tracker_unittest.cc',
590 '../webkit/browser/database/database_util_unittest.cc',
591 '../webkit/browser/database/databases_table_unittest.cc',
592 '../webkit/browser/fileapi/external_mount_points_unittest.cc',
593 '../webkit/browser/fileapi/file_system_url_unittest.cc',
594 '../webkit/browser/fileapi/file_system_usage_cache_unittest.cc',
595 '../webkit/browser/fileapi/isolated_context_unittest.cc',
596 '../webkit/browser/fileapi/local_file_stream_writer_unittest.cc',
597 '../webkit/browser/fileapi/mock_file_change_observer.cc',
598 '../webkit/browser/fileapi/mock_file_change_observer.h',
599 '../webkit/browser/fileapi/native_file_util_unittest.cc',
600 '../webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc',
601 '../webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc',
602 '../webkit/browser/fileapi/sandbox_database_test_helper.cc',
603 '../webkit/browser/fileapi/sandbox_database_test_helper.h',
604 '../webkit/browser/fileapi/sandbox_directory_database_unittest.cc',
605 '../webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
606 '../webkit/browser/fileapi/sandbox_origin_database_unittest.cc',
607 '../webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
608 '../webkit/browser/fileapi/test_file_set.cc',
609 '../webkit/browser/fileapi/test_file_set.h',
610 '../webkit/browser/fileapi/timed_task_helper_unittest.cc',
611 '../webkit/child/multipart_response_delegate_unittest.cc',
612 '../webkit/child/touch_fling_gesture_curve_unittest.cc',
613 '../webkit/child/worker_task_runner_unittest.cc',
614 '../webkit/common/blob/shareable_file_reference_unittest.cc',
615 '../webkit/common/cursors/webcursor_unittest.cc',
616 '../webkit/common/database/database_connections_unittest.cc',
617 '../webkit/common/database/database_identifier_unittest.cc',
618 '../webkit/common/fileapi/file_system_util_unittest.cc',
619 '../webkit/glue/webkit_glue_unittest.cc',
620 '../webkit/common/user_agent/user_agent_unittest.cc',
621 '../webkit/browser/quota/mock_quota_manager.cc',
622 '../webkit/browser/quota/mock_quota_manager.h',
623 '../webkit/browser/quota/mock_quota_manager_unittest.cc',
624 '../webkit/browser/quota/mock_special_storage_policy.cc',
625 '../webkit/browser/quota/mock_special_storage_policy.h',
626 '../webkit/browser/quota/mock_storage_client.cc',
627 '../webkit/browser/quota/mock_storage_client.h',
628 '../webkit/browser/quota/quota_database_unittest.cc',
629 '../webkit/browser/quota/quota_manager_unittest.cc',
630 '../webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc',
631 '../webkit/browser/quota/usage_tracker_unittest.cc',
636 # iOS only needs a small portion of content; exclude all the
637 # implementation, and re-include what is used.
638 ['exclude', '\\.(cc|mm)$'],
639 ['include', '_ios\\.(cc|mm)$'],
640 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
641 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
642 ['include', '^test/run_all_unittests\\.cc$'],
646 'content.gyp:content_browser',
647 'content.gyp:content_child',
648 'content.gyp:content_gpu',
649 'content.gyp:content_plugin',
650 'content.gyp:content_renderer',
651 'content_resources.gyp:content_resources',
652 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
653 '../gpu/gpu.gyp:gpu',
654 '../gpu/gpu.gyp:gpu_unittest_utils',
655 '../ipc/ipc.gyp:test_support_ipc',
656 '../jingle/jingle.gyp:jingle_glue_test_util',
657 '../media/media.gyp:media_test_support',
658 '../media/media.gyp:shared_memory_support',
659 '../third_party/WebKit/public/blink.gyp:blink',
660 '../third_party/icu/icu.gyp:icui18n',
661 '../third_party/icu/icu.gyp:icuuc',
662 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
663 '../third_party/libjingle/libjingle.gyp:libjingle',
664 '../ui/compositor/compositor.gyp:compositor_test_support',
665 '../ui/gl/gl.gyp:gl',
666 '../v8/tools/gyp/v8.gyp:v8',
667 '../webkit/common/webkit_common.gyp:webkit_common',
668 '../webkit/glue/webkit_glue.gyp:glue',
669 '../webkit/child/webkit_child.gyp:webkit_child',
670 '../webkit/storage_browser.gyp:webkit_storage_browser',
671 '../webkit/storage_common.gyp:webkit_storage_common',
674 ['enable_plugins==0', {
676 ['exclude', '^browser/renderer_host/pepper/'],
677 ['exclude', '^child/npapi/'],
678 ['exclude', '^renderer/npapi/'],
679 ['exclude', '^renderer/pepper/'],
682 'browser/plugin_loader_posix_unittest.cc',
683 'renderer/media/video_destination_handler_unittest.cc',
686 ['enable_webrtc==1', {
688 'browser/media/webrtc_internals_unittest.cc',
689 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
690 'browser/renderer_host/p2p/socket_host_test_utils.cc',
691 'browser/renderer_host/p2p/socket_host_test_utils.h',
692 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
693 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
694 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
695 'renderer/media/media_stream_audio_processor_unittest.cc',
696 'renderer/media/media_stream_dependency_factory_unittest.cc',
697 'renderer/media/media_stream_dispatcher_unittest.cc',
698 'renderer/media/media_stream_impl_unittest.cc',
699 'renderer/media/rtc_peer_connection_handler_unittest.cc',
700 'renderer/media/rtc_video_decoder_unittest.cc',
701 'renderer/media/video_source_handler_unittest.cc',
702 'renderer/media/webrtc_audio_capturer_unittest.cc',
703 'renderer/media/webrtc_audio_device_unittest.cc',
704 'renderer/media/webrtc_identity_service_unittest.cc',
705 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
706 'renderer/media/webrtc_local_audio_track_unittest.cc',
709 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
710 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
711 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
712 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine',
716 'renderer/media/video_destination_handler_unittest.cc',
719 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
721 'browser/renderer_host/media/desktop_capture_device_unittest.cc',
724 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
727 ['enable_webrtc==1 and chromeos==1', {
729 'browser/renderer_host/media/desktop_capture_device_aura_unittest.cc',
732 # TODO(jrg): remove the OS=="android" section?
733 # http://crbug.com/113172
734 # Understand better how media_stream_ is tied into Chromium.
735 ['enable_webrtc==0 and OS=="android"', {
737 ['exclude', '^renderer/media/media_stream_'],
740 ['input_speech==0', {
742 ['exclude', '^browser/speech/'],
745 ['notifications==0', {
747 'renderer/active_notification_tracker_unittest.cc',
752 '../build/linux/system.gyp:dbus',
753 '../dbus/dbus.gyp:dbus_test_support',
756 ['OS=="win" and win_use_allocator_shim==1', {
758 '../base/allocator/allocator.gyp:allocator',
763 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
767 # These flags are needed to run the test on Mac.
768 # Search for comments about "xcode_settings" in chrome_tests.gypi.
769 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
773 ['exclude', '^browser/renderer_host/gtk_key_bindings_handler_unittest.cc'],
774 ['exclude', '^browser/geolocation/wifi_data_provider_linux_unittest.cc'],
779 '../ui/aura/aura.gyp:aura',
782 ['use_aura==1 or toolkit_views==1', {
784 '../ui/events/events.gyp:events_test_support',
787 ['OS == "android"', {
789 'browser/renderer_host/java/jni_helper_unittest.cc',
792 'browser/geolocation/network_location_provider_unittest.cc',
793 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
794 'browser/geolocation/wifi_data_provider_common_unittest.cc',
795 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
798 ['OS != "android" and OS != "ios"', {
800 '../third_party/libvpx/libvpx.gyp:libvpx',
803 ['OS == "android" and gtest_target_type == "shared_library"', {
805 '../testing/android/native_test.gyp:native_test_native_code',
808 ['use_aura!=1 and OS!="android"', {
810 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
813 ['enable_webrtc==1 and google_tv==1', {
815 'renderer/media/rtc_video_decoder_factory_tv_unittest.cc',
820 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
827 ['test_isolation_mode != "noop"', {
830 'target_name': 'content_unittests_run',
836 '../build/isolate.gypi',
837 'content_unittests.isolate',
840 'content_unittests.isolate',
848 'target_name': 'content_perftests',
849 'type': '<(gtest_target_type)',
850 'defines!': ['CONTENT_IMPLEMENTATION'],
852 'content.gyp:content_common',
853 'test_support_content',
854 '../base/base.gyp:test_support_base',
856 '../skia/skia.gyp:skia',
857 '../testing/gtest.gyp:gtest',
858 '../testing/perf/perf_test.gyp:*',
859 '../ui/gfx/gfx.gyp:gfx',
860 '../ui/gfx/gfx.gyp:gfx_geometry',
866 'common/cc_messages_perftest.cc',
867 'test/run_all_perftests.cc',
871 'target_name': 'content_browser_test_support',
872 'type': 'static_library',
875 '../skia/skia.gyp:skia',
876 '../testing/gtest.gyp:gtest',
879 'test/accessibility_browser_test_utils.cc',
880 'test/accessibility_browser_test_utils.h',
881 'test/content_browser_test.cc',
882 'test/content_browser_test.h',
883 'test/content_browser_test_utils.cc',
884 'test/content_browser_test_utils.h',
885 'test/content_browser_test_utils_mac.mm',
889 'target_name': 'content_browsertests',
890 'type': '<(gtest_target_type)',
892 'content.gyp:content_common',
893 'content.gyp:content_gpu',
894 'content.gyp:content_plugin',
895 'content.gyp:content_renderer',
896 'content_browser_test_support',
897 'content_resources.gyp:content_resources',
900 '../base/base.gyp:test_support_base',
901 '../gin/gin.gyp:gin',
902 '../gpu/gpu.gyp:gpu',
903 '../ipc/ipc.gyp:test_support_ipc',
904 '../media/media.gyp:media_test_support',
905 '../media/media.gyp:shared_memory_support',
906 '../net/net.gyp:net_test_support',
907 '../ppapi/ppapi_internal.gyp:ppapi_host',
908 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
909 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
910 '../ppapi/ppapi_internal.gyp:ppapi_shared',
911 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
912 '../testing/gmock.gyp:gmock',
913 '../testing/gtest.gyp:gtest',
914 '../third_party/WebKit/public/blink.gyp:blink',
915 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
916 '../third_party/mesa/mesa.gyp:osmesa',
917 '../ui/accessibility/accessibility.gyp:accessibility',
918 '../ui/gfx/gfx.gyp:gfx',
919 '../ui/gfx/gfx.gyp:gfx_geometry',
920 '../ui/gl/gl.gyp:gl',
921 '../ui/resources/ui_resources.gyp:ui_resources',
922 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
923 '../ui/snapshot/snapshot.gyp:snapshot',
925 '../webkit/child/webkit_child.gyp:webkit_child',
926 '../webkit/glue/webkit_glue.gyp:glue',
930 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
933 'browser/gpu/test_support_gpu.gypi',
936 'HAS_OUT_OF_PROC_TEST_RUNNER',
939 'browser/accessibility/accessibility_win_browsertest.cc',
940 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
941 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
942 'browser/aura/image_transport_factory_browsertest.cc',
943 'browser/bookmarklet_browsertest.cc',
944 'browser/browser_plugin/browser_plugin_host_browsertest.cc',
945 'browser/browser_plugin/test_browser_plugin_embedder.cc',
946 'browser/browser_plugin/test_browser_plugin_embedder.h',
947 'browser/browser_plugin/test_browser_plugin_guest.cc',
948 'browser/browser_plugin/test_browser_plugin_guest.h',
949 'browser/browser_plugin/test_browser_plugin_guest_delegate.cc',
950 'browser/browser_plugin/test_browser_plugin_guest_delegate.h',
951 'browser/browser_plugin/test_browser_plugin_guest_manager.cc',
952 'browser/browser_plugin/test_browser_plugin_guest_manager.h',
953 'browser/child_process_security_policy_browsertest.cc',
954 'browser/database_browsertest.cc',
955 'browser/device_orientation/device_inertial_sensor_browsertest.cc',
956 'browser/devtools/renderer_overrides_handler_browsertest.cc',
957 'browser/dom_storage/dom_storage_browsertest.cc',
958 'browser/download/download_browsertest.cc',
959 'browser/download/drag_download_file_browsertest.cc',
960 'browser/download/mhtml_generation_browsertest.cc',
961 'browser/download/save_package_browsertest.cc',
962 'browser/fileapi/file_system_browsertest.cc',
963 'browser/frame_host/frame_tree_browsertest.cc',
964 'browser/frame_host/render_frame_host_manager_browsertest.cc',
965 'browser/gpu/compositor_util_browsertest.cc',
966 'browser/gpu/gpu_ipc_browsertests.cc',
967 'browser/indexed_db/indexed_db_browsertest.cc',
968 'browser/loader/resource_dispatcher_host_browsertest.cc',
969 'browser/media/encrypted_media_browsertest.cc',
970 'browser/media/media_browsertest.cc',
971 'browser/media/media_browsertest.h',
972 'browser/media/media_source_browsertest.cc',
973 'browser/media/webrtc_internals_browsertest.cc',
974 'browser/plugin_data_remover_impl_browsertest.cc',
975 'browser/plugin_browsertest.cc',
976 'browser/plugin_service_impl_browsertest.cc',
977 'browser/renderer_host/input/touch_input_browsertest.cc',
978 'browser/renderer_host/render_process_host_browsertest.cc',
979 'browser/renderer_host/render_view_host_browsertest.cc',
980 'browser/renderer_host/render_widget_host_browsertest.cc',
981 'browser/renderer_host/render_widget_host_view_browsertest.cc',
982 'browser/security_exploit_browsertest.cc',
983 'browser/service_worker/service_worker_browsertest.cc',
984 'browser/session_history_browsertest.cc',
985 'browser/site_per_process_browsertest.cc',
986 'browser/speech/input_tag_speech_browsertest.cc',
987 'browser/speech/speech_recognition_browsertest.cc',
988 'browser/tracing/tracing_controller_browsertest.cc',
989 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
990 'browser/web_contents/web_contents_impl_browsertest.cc',
991 'browser/web_contents/web_contents_view_aura_browsertest.cc',
992 'browser/webkit_browsertest.cc',
993 'browser/worker_host/test/worker_browsertest.cc',
994 'child/site_isolation_policy_browsertest.cc',
995 'common/gpu/client/context_provider_command_buffer_browsertest.cc',
996 'renderer/accessibility/renderer_accessibility_browsertest.cc',
997 'renderer/browser_plugin/browser_plugin_browsertest.cc',
998 'renderer/browser_plugin/browser_plugin_browsertest.h',
999 'renderer/browser_plugin/mock_browser_plugin.cc',
1000 'renderer/browser_plugin/mock_browser_plugin.h',
1001 'renderer/browser_plugin/mock_browser_plugin_manager.cc',
1002 'renderer/browser_plugin/mock_browser_plugin_manager.h',
1003 'renderer/dom_serializer_browsertest.cc',
1004 'renderer/gin_browsertest.cc',
1005 'renderer/mouse_lock_dispatcher_browsertest.cc',
1006 'renderer/pepper/fake_pepper_plugin_instance.cc',
1007 'renderer/pepper/mock_renderer_ppapi_host.cc',
1008 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
1009 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
1010 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
1011 'renderer/pepper/pepper_url_request_unittest.cc',
1012 'renderer/render_thread_impl_browsertest.cc',
1013 'renderer/render_view_browsertest.cc',
1014 'renderer/render_view_browsertest_mac.mm',
1015 'renderer/render_widget_browsertest.cc',
1016 'renderer/resource_fetcher_browsertest.cc',
1017 'renderer/savable_resources_browsertest.cc',
1018 'test/content_browser_test_test.cc',
1019 'test/content_test_launcher.cc',
1020 'test/webui_resource_browsertest.cc',
1025 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1029 'resource_include_dirs': [
1030 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1033 'shell/app/resource.h',
1034 'shell/app/shell.rc',
1035 # TODO: It would be nice to have these pulled in
1036 # automatically from direct_dependent_settings in
1037 # their various targets (net.gyp:net_resources, etc.),
1038 # but that causes errors in other targets when
1039 # resulting .res files get referenced multiple times.
1040 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1041 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc',
1042 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
1045 '<(DEPTH)/net/net.gyp:net_resources',
1046 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1047 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1048 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
1049 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
1055 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1060 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1061 'msvs_disabled_warnings': [ 4267, ],
1064 'browser/accessibility/accessibility_win_browsertest.cc',
1067 ['OS=="win" and win_use_allocator_shim==1', {
1069 '../base/allocator/allocator.gyp:allocator',
1074 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1079 'shell/android/browsertests_apk/content_browser_tests_android.cc',
1082 'content_shell_jni_headers',
1083 'content_shell_lib',
1084 '../testing/android/native_test.gyp:native_test_util',
1089 'content_shell', # Needed for Content Shell.app's Helper.
1092 'renderer/external_popup_menu_browsertest.cc',
1097 'browser/accessibility/accessibility_win_browsertest.cc',
1101 ['exclude', '^browser/aura/'],
1104 ['use_aura==1 and OS!="win"', {
1106 'browser/plugin_browsertest.cc',
1109 ['use_aura==1 or toolkit_views==1', {
1111 '../ui/events/events.gyp:events_test_support',
1114 ['OS!="android" and OS!="ios"', {
1115 # npapi test plugin doesn't build on android or ios
1117 # Runtime dependencies
1118 'copy_npapi_test_plugin',
1121 ['enable_webrtc==1', {
1123 'browser/media/webrtc_aecdump_browsertest.cc',
1124 'browser/media/webrtc_browsertest.cc',
1127 '../testing/perf/perf_test.gyp:perf_test',
1130 ['enable_plugins==0', {
1132 ['exclude', '^renderer/pepper/'],
1135 'browser/plugin_service_impl_browsertest.cc',
1136 'browser/plugin_data_remover_impl_browsertest.cc',
1139 ['input_speech==0', {
1141 ['exclude', '^browser/speech/'],
1144 ['branding=="Chrome"', {
1146 # These tests depend on single process mode, which is disabled
1147 # in official builds.
1148 'renderer/dom_serializer_browsertest.cc',
1149 'renderer/resource_fetcher_browsertest.cc',
1150 'renderer/savable_resources_browsertest.cc',
1156 'target_name': 'content_gl_tests',
1157 'type': '<(gtest_target_type)',
1159 'content.gyp:content_common',
1160 'test_support_content',
1161 '../base/base.gyp:test_support_base',
1162 '../gpu/gpu.gyp:command_buffer_common',
1163 '../testing/gtest.gyp:gtest',
1164 '../ui/gfx/gfx.gyp:gfx',
1165 '../ui/gfx/gfx.gyp:gfx_geometry',
1166 '../ui/gl/gl.gyp:gl',
1168 '../third_party/WebKit/public/blink.gyp:blink',
1169 # The following two dependencies provide the missing
1170 # symbol HeapProfilerStart in Linux component builds.
1171 '../webkit/child/webkit_child.gyp:webkit_child',
1172 '../webkit/glue/webkit_glue.gyp:glue',
1178 'common/gpu/client/gl_helper_unittests.cc',
1179 'common/gpu/client/gpu_in_process_context_tests.cc',
1184 '../testing/android/native_test.gyp:native_test_native_code',
1190 'target_name': 'content_gl_benchmark',
1191 'type': '<(gtest_target_type)',
1193 'content.gyp:content_common',
1194 'test_support_content',
1195 '../base/base.gyp:test_support_base',
1196 '../testing/gtest.gyp:gtest',
1197 '../ui/gfx/gfx.gyp:gfx',
1198 '../ui/gfx/gfx.gyp:gfx_geometry',
1199 '../ui/gl/gl.gyp:gl',
1201 '../third_party/WebKit/public/blink.gyp:blink',
1202 # The following two dependencies provide the missing
1203 # symbol HeapProfilerStart in Linux component builds.
1204 '../webkit/glue/webkit_glue.gyp:glue',
1205 '../webkit/child/webkit_child.gyp:webkit_child',
1211 'common/gpu/client/gl_helper_benchmark.cc',
1215 'target_name': 'content_webkit_unit_test_support',
1216 'type': 'static_library',
1218 'test_support_content',
1224 'test/webkit_unit_test_support.cc',
1225 'test/webkit_unit_test_support.h',
1230 ['chromeos==1 or OS=="win" or OS=="android"', {
1233 'target_name': 'video_decode_accelerator_unittest',
1234 'type': '<(gtest_target_type)',
1236 'content.gyp:content',
1237 '../base/base.gyp:base',
1238 '../testing/gtest.gyp:gtest',
1239 '../media/media.gyp:media',
1240 '../ui/gl/gl.gyp:gl',
1241 '../ui/gfx/gfx.gyp:gfx',
1242 '../ui/gfx/gfx.gyp:gfx_geometry',
1246 '<(DEPTH)/third_party/khronos',
1249 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1250 'common/gpu/media/rendering_helper.h',
1251 'common/gpu/media/rendering_helper.cc',
1252 'common/gpu/media/video_accelerator_unittest_helpers.h',
1253 'common/gpu/media/video_decode_accelerator_unittest.cc',
1258 ['exclude', '^common/gpu/media/rendering_helper.h'],
1259 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1260 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1263 '../media/media.gyp:player_android',
1264 '../testing/gmock.gyp:gmock',
1265 '../testing/android/native_test.gyp:native_test_native_code',
1266 '../gpu/gpu.gyp:gpu_unittest_utils',
1268 }, { # OS!="android"
1270 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1275 '<(angle_path)/src/build_angle.gyp:libEGL',
1276 '<(angle_path)/src/build_angle.gyp:libGLESv2',
1279 ['(OS=="win" and win_use_allocator_shim==1) or '
1280 '(os_posix == 1 and OS != "android" and '
1281 ' linux_use_tcmalloc==1)', {
1283 '../base/allocator/allocator.gyp:allocator',
1286 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1288 '<(DEPTH)/third_party/libva',
1292 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1293 'msvs_disabled_warnings': [ 4267, ],
1297 ['chromeos==1 and target_arch == "arm"', {
1300 'target_name': 'video_encode_accelerator_unittest',
1301 'type': 'executable',
1303 'content.gyp:content',
1304 '../base/base.gyp:base',
1305 '../testing/gtest.gyp:gtest',
1306 '../media/media.gyp:media',
1307 '../ui/gl/gl.gyp:gl',
1308 '../ui/gfx/gfx.gyp:gfx',
1309 '../ui/gfx/gfx.gyp:gfx_geometry',
1313 'common/gpu/media/video_accelerator_unittest_helpers.h',
1314 'common/gpu/media/video_encode_accelerator_unittest.cc',
1319 # Special target to wrap a gtest_target_type==shared_library
1320 # content_unittests into an android apk for execution.
1321 # See base.gyp for TODO(jrg)s about this strategy.
1322 ['OS == "android" and gtest_target_type == "shared_library"', {
1325 'target_name': 'content_gl_tests_apk',
1329 'content_java_test_support',
1332 'test_suite_name': 'content_gl_tests',
1333 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_gl_tests<(SHARED_LIB_SUFFIX)',
1336 '../build/apk_test.gypi',
1340 'target_name': 'content_unittests_apk',
1343 'content.gyp:content_java',
1344 'content_unittests',
1347 'test_suite_name': 'content_unittests',
1348 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1350 'includes': [ '../build/apk_test.gypi' ],
1353 'target_name': 'content_browsertests_apk',
1356 'content.gyp:content_java',
1357 'content_browsertests',
1358 'content_java_test_support',
1359 'content_shell_java',
1362 'apk_name': 'content_browsertests',
1363 'java_in_dir': 'shell/android/browsertests_apk',
1364 'resource_dir': 'shell/android/browsertests_apk/res',
1365 'native_lib_target': 'libcontent_browsertests',
1366 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1367 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1369 'includes': [ '../build/java_apk.gypi' ],
1372 'target_name': 'content_linker_test_apk',
1375 'content_android_linker_test',
1376 'content.gyp:content_java',
1377 'content_shell_java',
1380 'apk_name': 'ContentLinkerTest',
1381 'java_in_dir': 'shell/android/linker_test_apk',
1382 'resource_dir': 'shell/android/linker_test_apk/res',
1383 'native_lib_target': 'libcontent_android_linker_test',
1384 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1385 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1386 'use_content_linker': '1',
1387 'enable_content_linker_tests': '1',
1389 'includes': [ '../build/java_apk.gypi' ],
1392 'target_name': 'content_android_linker_test',
1393 'type': 'shared_library',
1394 'defines!': ['CONTENT_IMPLEMENTATION'],
1396 'content_android_linker_test_jni_headers',
1397 'content_shell_lib',
1398 # Required to include "content/public/browser/android/compositor.h"
1399 # in content_linker_test_android.cc :-(
1400 '../skia/skia.gyp:skia',
1403 'shell/android/linker_test_apk/content_linker_test_android.cc',
1404 'shell/android/linker_test_apk/content_linker_test_linker_tests.cc',
1408 'target_name': 'content_android_linker_test_jni_headers',
1411 'shell/android/linker_test_apk/src/org/chromium/content_linker_test_apk/LinkerTests.java',
1414 'jni_gen_package': 'content/shell',
1415 'jni_generator_ptr_type': 'long',
1417 'includes': [ '../build/jni_generator.gypi' ],
1420 'target_name': 'video_decode_accelerator_unittest_apk',
1423 'video_decode_accelerator_unittest',
1426 'test_suite_name': 'video_decode_accelerator_unittest',
1427 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1429 'includes': [ '../build/apk_test.gypi' ],
1433 ['OS == "android"', {
1436 'target_name': 'test_support_content_jni_headers',
1439 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1442 'jni_gen_package': 'content/public/test',
1443 'jni_generator_ptr_type': 'long',
1445 'includes': [ '../build/jni_generator.gypi' ],
1448 'target_name': 'content_java_test_support',
1451 '../base/base.gyp:base',
1452 '../base/base.gyp:base_java_test_support',
1453 'content.gyp:content_common',
1454 'content.gyp:content_java',
1457 'java_in_dir': '../content/public/test/android/javatests',
1459 'includes': [ '../build/java.gypi' ],
1462 'target_name': 'content_shell_test_apk',
1465 'content_java_test_support',
1466 'content_shell_apk_java',
1467 'content.gyp:content_java',
1468 '../base/base.gyp:base_java',
1469 '../base/base.gyp:base_javatests',
1470 '../base/base.gyp:base_java_test_support',
1471 '../media/media.gyp:media_java',
1472 '../media/media.gyp:media_test_support',
1473 '../net/net.gyp:net_java',
1474 '../net/net.gyp:net_javatests',
1477 'apk_name': 'ContentShellTest',
1478 'java_in_dir': 'shell/android/javatests',
1479 'resource_dir': 'shell/android/shell_apk/res',
1480 'additional_src_dirs': ['public/android/javatests/',],
1483 'includes': [ '../build/java_apk.gypi' ],
1487 ['OS!="android" and OS!="ios"', {
1488 # npapi test plugin doesn't build on android or ios
1491 'target_name': 'npapi_test_plugin',
1492 'type': 'loadable_module',
1498 '<(DEPTH)/base/base.gyp:base',
1499 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
1500 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
1503 'test/plugin/npapi_constants.cc',
1504 'test/plugin/npapi_constants.h',
1505 'test/plugin/npapi_test.cc',
1506 'test/plugin/npapi_test.def',
1507 'test/plugin/npapi_test.rc',
1508 'test/plugin/plugin_arguments_test.cc',
1509 'test/plugin/plugin_arguments_test.h',
1510 'test/plugin/plugin_client.cc',
1511 'test/plugin/plugin_client.h',
1512 'test/plugin/plugin_create_instance_in_paint.cc',
1513 'test/plugin/plugin_create_instance_in_paint.h',
1514 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
1515 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
1516 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
1517 'test/plugin/plugin_delete_plugin_in_stream_test.h',
1518 'test/plugin/plugin_execute_stream_javascript.cc',
1519 'test/plugin/plugin_execute_stream_javascript.h',
1520 'test/plugin/plugin_get_javascript_url_test.cc',
1521 'test/plugin/plugin_get_javascript_url_test.h',
1522 'test/plugin/plugin_get_javascript_url2_test.cc',
1523 'test/plugin/plugin_get_javascript_url2_test.h',
1524 'test/plugin/plugin_geturl_test.cc',
1525 'test/plugin/plugin_geturl_test.h',
1526 'test/plugin/plugin_javascript_open_popup.cc',
1527 'test/plugin/plugin_javascript_open_popup.h',
1528 'test/plugin/plugin_new_fails_test.cc',
1529 'test/plugin/plugin_new_fails_test.h',
1530 'test/plugin/plugin_npobject_identity_test.cc',
1531 'test/plugin/plugin_npobject_identity_test.h',
1532 'test/plugin/plugin_npobject_lifetime_test.cc',
1533 'test/plugin/plugin_npobject_lifetime_test.h',
1534 'test/plugin/plugin_npobject_proxy_test.cc',
1535 'test/plugin/plugin_npobject_proxy_test.h',
1536 'test/plugin/plugin_request_read_test.h',
1537 'test/plugin/plugin_request_read_test.cc',
1538 'test/plugin/plugin_schedule_timer_test.cc',
1539 'test/plugin/plugin_schedule_timer_test.h',
1540 'test/plugin/plugin_setup_test.cc',
1541 'test/plugin/plugin_setup_test.h',
1542 'test/plugin/plugin_test.cc',
1543 'test/plugin/plugin_test.h',
1544 'test/plugin/plugin_test_factory.h',
1545 'test/plugin/plugin_thread_async_call_test.cc',
1546 'test/plugin/plugin_thread_async_call_test.h',
1547 'test/plugin/plugin_windowed_test.cc',
1548 'test/plugin/plugin_windowed_test.h',
1549 'test/plugin/plugin_private_test.cc',
1550 'test/plugin/plugin_private_test.h',
1551 'test/plugin/plugin_test_factory.cc',
1552 'test/plugin/plugin_window_size_test.cc',
1553 'test/plugin/plugin_window_size_test.h',
1554 'test/plugin/plugin_windowless_test.cc',
1555 'test/plugin/plugin_windowless_test.h',
1556 'test/plugin/resource.h',
1562 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
1567 # TODO(port): Port these.
1568 # plugin_npobject_lifetime_test.cc has win32-isms
1570 'test/plugin/plugin_npobject_lifetime_test.cc',
1571 # The window APIs are necessarily platform-specific.
1572 'test/plugin/plugin_window_size_test.cc',
1573 'test/plugin/plugin_windowed_test.cc',
1574 # Seems windows specific.
1575 'test/plugin/plugin_create_instance_in_paint.cc',
1576 'test/plugin/plugin_create_instance_in_paint.h',
1577 # windows-specific resources
1578 'test/plugin/npapi_test.def',
1579 'test/plugin/npapi_test.rc',
1583 'product_extension': 'plugin',
1586 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1590 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
1591 # Shared libraries need -fPIC on x86-64
1597 'target_name': 'copy_npapi_test_plugin',
1600 'npapi_test_plugin',
1606 'destination': '<(PRODUCT_DIR)/plugins',
1607 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
1614 'destination': '<(PRODUCT_DIR)/plugins/',
1615 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
1619 ['os_posix == 1 and OS != "mac"', {
1622 'destination': '<(PRODUCT_DIR)/plugins',
1623 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],