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': 'layouttest_support_content',
9 'type': 'static_library',
13 'test_support_content_jni_headers',
17 # layouttest_support_content is not supported nor required on iOS.
19 '../skia/skia.gyp:skia',
20 '../v8/tools/gyp/v8.gyp:v8',
21 '../webkit/common/webkit_common.gyp:webkit_common',
27 'public/test/layouttest_support.h',
28 'public/test/nested_message_pump_android.cc',
29 'public/test/nested_message_pump_android.h',
30 'test/layouttest_support.cc',
31 'test/mock_webclipboard_impl.cc',
32 'test/mock_webclipboard_impl.h',
33 'test/test_media_stream_client.cc',
34 'test/test_media_stream_client.h',
35 'test/test_video_frame_provider.cc',
36 'test/test_video_frame_provider.h',
42 'target_name': 'test_support_content',
43 'type': 'static_library',
45 '../net/net.gyp:net_test_support',
46 '../skia/skia.gyp:skia',
47 '../testing/gmock.gyp:gmock',
48 '../testing/gtest.gyp:gtest',
49 '../ui/accessibility/accessibility.gyp:ax_gen',
50 '../ui/base/ui_base.gyp:ui_base',
51 '../ui/events/events.gyp:dom4_keycode_converter',
52 '../ui/events/events.gyp:events_base',
53 '../ui/events/events.gyp:events_test_support',
54 '../ui/gfx/gfx.gyp:gfx',
55 '../ui/gfx/gfx.gyp:gfx_geometry',
56 '../ui/gfx/gfx.gyp:gfx_test_support',
57 '../ui/resources/ui_resources.gyp:ui_resources',
58 '../url/url.gyp:url_lib',
59 'browser/speech/proto/speech_proto.gyp:speech_proto',
60 'content.gyp:content_app_both',
61 'content.gyp:content_browser',
62 'content.gyp:content_common',
68 'public/test/async_file_test_helper.cc',
69 'public/test/async_file_test_helper.h',
70 'public/test/browser_test_base.cc',
71 'public/test/browser_test_base.h',
72 'public/test/browser_test.h',
73 'public/test/browser_test_utils.cc',
74 'public/test/browser_test_utils.h',
75 'public/test/content_test_suite_base.cc',
76 'public/test/content_test_suite_base.h',
77 'public/test/download_test_observer.cc',
78 'public/test/download_test_observer.h',
79 'public/test/fake_speech_recognition_manager.cc',
80 'public/test/fake_speech_recognition_manager.h',
81 'public/test/mock_blob_url_request_context.cc',
82 'public/test/mock_blob_url_request_context.h',
83 'public/test/mock_download_item.cc',
84 'public/test/mock_download_item.h',
85 'public/test/mock_download_manager.cc',
86 'public/test/mock_download_manager.h',
87 'public/test/mock_notification_observer.cc',
88 'public/test/mock_notification_observer.h',
89 'public/test/mock_render_process_host.cc',
90 'public/test/mock_render_process_host.h',
91 'public/test/mock_render_thread.cc',
92 'public/test/mock_render_thread.h',
93 'public/test/mock_resource_context.cc',
94 'public/test/mock_resource_context.h',
95 'public/test/render_view_test.cc',
96 'public/test/render_view_test.h',
97 'public/test/render_widget_test.cc',
98 'public/test/render_widget_test.h',
99 'public/test/sandbox_file_system_test_helper.cc',
100 'public/test/sandbox_file_system_test_helper.h',
101 'public/test/test_browser_context.cc',
102 'public/test/test_browser_context.h',
103 'public/test/test_browser_thread.cc',
104 'public/test/test_browser_thread.h',
105 'public/test/test_browser_thread_bundle.cc',
106 'public/test/test_browser_thread_bundle.h',
107 'public/test/test_content_client_initializer.cc',
108 'public/test/test_content_client_initializer.h',
109 'public/test/test_file_error_injector.cc',
110 'public/test/test_file_error_injector.h',
111 'public/test/test_file_system_backend.cc',
112 'public/test/test_file_system_backend.h',
113 'public/test/test_file_system_context.cc',
114 'public/test/test_file_system_context.h',
115 'public/test/test_file_system_options.cc',
116 'public/test/test_file_system_options.h',
117 'public/test/test_launcher.cc',
118 'public/test/test_launcher.h',
119 'public/test/test_navigation_observer.cc',
120 'public/test/test_navigation_observer.h',
121 'public/test/test_notification_tracker.cc',
122 'public/test/test_notification_tracker.h',
123 'public/test/test_renderer_host.cc',
124 'public/test/test_renderer_host.h',
125 'public/test/test_utils.cc',
126 'public/test/test_utils.h',
127 'public/test/unittest_test_suite.cc',
128 'public/test/unittest_test_suite.h',
129 'public/test/web_contents_tester.cc',
130 'public/test/web_contents_tester.h',
131 'app/startup_helper_win.cc',
132 # TODO(phajdan.jr): All of those files should live in content/test (if
133 # they're only used by content) or content/public/test (if they're used
134 # by other embedders).
135 'browser/download/mock_download_file.cc',
136 'browser/download/mock_download_file.h',
137 'browser/geolocation/fake_access_token_store.cc',
138 'browser/geolocation/fake_access_token_store.h',
139 'browser/geolocation/mock_location_arbitrator.cc',
140 'browser/geolocation/mock_location_arbitrator.h',
141 'browser/geolocation/mock_location_provider.cc',
142 'browser/geolocation/mock_location_provider.h',
143 'browser/renderer_host/compositing_iosurface_shader_programs_mac.cc',
144 'browser/renderer_host/compositing_iosurface_shader_programs_mac.h',
145 'browser/renderer_host/compositing_iosurface_transformer_mac.cc',
146 'browser/renderer_host/compositing_iosurface_transformer_mac.h',
147 'browser/renderer_host/media/mock_media_observer.cc',
148 'browser/renderer_host/media/mock_media_observer.h',
149 'gpu/gpu_idirect3d9_mock_win.cc',
150 'gpu/gpu_idirect3d9_mock_win.h',
151 'test/appcache_test_helper.cc',
152 'test/appcache_test_helper.h',
153 'test/content_test_suite.cc',
154 'test/content_test_suite.h',
155 'test/mock_google_streaming_server.cc',
156 'test/mock_google_streaming_server.h',
157 'test/mock_keyboard.cc',
158 'test/mock_keyboard.h',
159 'test/mock_keyboard_driver_win.cc',
160 'test/mock_keyboard_driver_win.h',
161 'test/mock_render_process.cc',
162 'test/mock_render_process.h',
163 'test/mock_webframeclient.h',
164 'test/mock_weburlloader.cc',
165 'test/mock_weburlloader.h',
166 'test/net/url_request_abort_on_end_job.cc',
167 'test/net/url_request_abort_on_end_job.h',
168 'test/net/url_request_failed_job.cc',
169 'test/net/url_request_failed_job.h',
170 'test/net/url_request_mock_http_job.cc',
171 'test/net/url_request_mock_http_job.h',
172 'test/net/url_request_prepackaged_interceptor.cc',
173 'test/net/url_request_prepackaged_interceptor.h',
174 'test/net/url_request_slow_download_job.cc',
175 'test/net/url_request_slow_download_job.h',
176 'test/ppapi_unittest.cc',
177 'test/ppapi_unittest.h',
178 'test/test_backing_store.cc',
179 'test/test_backing_store.h',
180 'test/test_content_browser_client.cc',
181 'test/test_content_browser_client.h',
182 'test/test_content_client.cc',
183 'test/test_content_client.h',
184 'test/test_context_provider_factory.cc',
185 'test/test_context_provider_factory.h',
186 'test/test_render_frame_host.cc',
187 'test/test_render_frame_host.h',
188 'test/test_render_frame_host_factory.cc',
189 'test/test_render_frame_host_factory.h',
190 'test/test_render_view_host.cc',
191 'test/test_render_view_host.h',
192 'test/test_render_view_host_factory.cc',
193 'test/test_render_view_host_factory.h',
194 'test/test_web_contents.cc',
195 'test/test_web_contents.h',
196 'test/test_web_contents_view.cc',
197 'test/test_web_contents_view.h',
198 'test/web_gesture_curve_mock.cc',
199 'test/web_gesture_curve_mock.h',
200 'test/weburl_loader_mock.cc',
201 'test/weburl_loader_mock.h',
202 'test/weburl_loader_mock_factory.cc',
203 'test/weburl_loader_mock_factory.h',
208 # iOS only needs a small portion of content; exclude all the
209 # implementation, and re-include what is used.
210 ['exclude', '\\.(cc|mm)$'],
211 ['include', '_ios\\.(cc|mm)$'],
212 ['include', '^public/test/content_test_suite_base\\.cc$'],
213 ['include', '^public/test/mock_notification_observer\\.cc$'],
214 ['include', '^public/test/mock_resource_context\\.cc$'],
215 ['include', '^public/test/test_browser_thread\\.cc$'],
216 ['include', '^public/test/test_content_client_initializer\\.cc$'],
217 ['include', '^public/test/test_notification_tracker\\.cc$'],
218 ['include', '^public/test/test_utils\\.cc$'],
219 ['include', '^public/test/unittest_test_suite\\.cc$'],
220 ['include', '^test/content_test_suite\\.cc$'],
221 ['include', '^test/test_content_browser_client\\.cc$'],
222 ['include', '^test/test_content_client\\.cc$'],
228 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
230 'shell/resources/missingImage.png',
231 'shell/resources/textAreaResizeCorner.png',
237 'content.gyp:content_child',
238 'content.gyp:content_common',
239 'content.gyp:content_gpu',
240 'content.gyp:content_ppapi_plugin',
241 'content.gyp:content_renderer',
242 'content.gyp:content_utility',
243 'content.gyp:content_worker',
244 '../cc/cc_tests.gyp:cc_test_support',
245 '../media/media.gyp:media',
246 '../ppapi/ppapi_internal.gyp:ppapi_host',
247 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
248 '../ppapi/ppapi_internal.gyp:ppapi_shared',
249 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
250 '../third_party/WebKit/public/blink.gyp:blink',
251 '../ui/surface/surface.gyp:surface',
252 '../webkit/child/webkit_child.gyp:webkit_child',
253 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
254 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
255 '../webkit/storage_browser.gyp:webkit_storage_browser',
256 '../webkit/storage_common.gyp:webkit_storage_common',
258 'export_dependent_settings': [
259 '../third_party/WebKit/public/blink.gyp:blink',
262 ['OS == "win" or toolkit_uses_gtk == 1', {
264 '../sandbox/sandbox.gyp:sandbox',
267 ['enable_webrtc==1', {
269 'renderer/media/mock_media_stream_dependency_factory.cc',
270 'renderer/media/mock_media_stream_dependency_factory.h',
271 'renderer/media/mock_media_stream_dispatcher.cc',
272 'renderer/media/mock_media_stream_dispatcher.h',
273 'renderer/media/mock_peer_connection_impl.cc',
274 'renderer/media/mock_peer_connection_impl.h',
275 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
276 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
279 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
280 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
281 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
286 '../build/linux/system.gyp:glib',
291 '../ui/aura/aura.gyp:aura_test_support',
292 '../ui/resources/ui_resources.gyp:ui_test_pak',
295 ['use_aura==1 or OS=="mac"', {
297 '../ui/compositor/compositor.gyp:compositor',
302 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
305 ['OS!="android" and OS!="ios"', {
307 '../third_party/libvpx/libvpx.gyp:libvpx',
312 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
318 'target_name': 'content_unittests',
319 'type': '<(gtest_target_type)',
321 'browser/speech/proto/speech_proto.gyp:speech_proto',
322 'content.gyp:content_browser',
323 'content.gyp:content_common',
324 'test_support_content',
325 '../base/base.gyp:test_support_base',
326 '../crypto/crypto.gyp:crypto',
327 '../net/net.gyp:net_test_support',
328 '../skia/skia.gyp:skia',
329 '../sql/sql.gyp:sql',
330 '../sql/sql.gyp:test_support_sql',
331 '../testing/gmock.gyp:gmock',
332 '../testing/gtest.gyp:gtest',
333 '../third_party/re2/re2.gyp:re2',
334 '../ui/accessibility/accessibility.gyp:accessibility',
335 '../ui/base/ui_base.gyp:ui_base',
336 '../ui/gfx/gfx.gyp:gfx',
337 '../ui/gfx/gfx.gyp:gfx_geometry',
341 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_unittest.cc.
344 'browser/accessibility/accessibility_mode_helper_unittest.cc',
345 'browser/accessibility/browser_accessibility_mac_unittest.mm',
346 'browser/accessibility/browser_accessibility_manager_unittest.cc',
347 'browser/accessibility/browser_accessibility_win_unittest.cc',
348 'browser/appcache/appcache_host_unittest.cc',
349 'browser/appcache/appcache_request_handler_unittest.cc',
350 'browser/appcache/appcache_storage_impl_unittest.cc',
351 'browser/appcache/appcache_storage_unittest.cc',
352 'browser/appcache/chrome_appcache_service_unittest.cc',
353 'browser/appcache/mock_appcache_policy.cc',
354 'browser/appcache/mock_appcache_policy.h',
355 'browser/browser_thread_unittest.cc',
356 'browser/browser_url_handler_impl_unittest.cc',
357 'browser/byte_stream_unittest.cc',
358 'browser/child_process_security_policy_unittest.cc',
359 'browser/compositor/software_browser_compositor_output_surface_unittest.cc',
360 'browser/compositor/software_output_device_ozone_unittest.cc',
361 'browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc',
362 'browser/device_orientation/sensor_manager_android_unittest.cc',
363 'browser/devtools/devtools_http_handler_unittest.cc',
364 'browser/devtools/devtools_manager_unittest.cc',
365 'browser/devtools/shared_worker_devtools_manager_unittest.cc',
366 'browser/dom_storage/dom_storage_area_unittest.cc',
367 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
368 'browser/dom_storage/dom_storage_database_unittest.cc',
369 'browser/dom_storage/session_storage_database_unittest.cc',
370 'browser/download/base_file_unittest.cc',
371 'browser/download/download_file_unittest.cc',
372 'browser/download/download_item_impl_unittest.cc',
373 'browser/download/download_manager_impl_unittest.cc',
374 'browser/download/file_metadata_unittest_linux.cc',
375 'browser/download/rate_estimator_unittest.cc',
376 'browser/download/save_package_unittest.cc',
377 'browser/fileapi/blob_storage_context_unittest.cc',
378 'browser/fileapi/blob_url_request_job_unittest.cc',
379 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
380 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
381 'browser/fileapi/dragged_file_util_unittest.cc',
382 'browser/fileapi/file_system_context_unittest.cc',
383 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
384 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
385 'browser/fileapi/file_system_operation_impl_unittest.cc',
386 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
387 'browser/fileapi/file_system_operation_runner_unittest.cc',
388 'browser/fileapi/file_system_quota_client_unittest.cc',
389 'browser/fileapi/file_system_url_request_job_unittest.cc',
390 'browser/fileapi/file_writer_delegate_unittest.cc',
391 'browser/fileapi/fileapi_message_filter_unittest.cc',
392 'browser/fileapi/local_file_util_unittest.cc',
393 'browser/fileapi/mock_file_change_observer.cc',
394 'browser/fileapi/mock_file_change_observer.h',
395 'browser/fileapi/obfuscated_file_util_unittest.cc',
396 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
397 'browser/fileapi/recursive_operation_delegate_unittest.cc',
398 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
399 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
400 'browser/fileapi/transient_file_util_unittest.cc',
401 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
402 'browser/frame_host/frame_tree_unittest.cc',
403 'browser/frame_host/navigation_controller_impl_unittest.cc',
404 'browser/frame_host/navigation_entry_impl_unittest.cc',
405 'browser/frame_host/render_frame_host_manager_unittest.cc',
406 'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
407 'browser/frame_host/render_widget_host_view_guest_unittest.cc',
408 'browser/gamepad/gamepad_provider_unittest.cc',
409 'browser/gamepad/gamepad_test_helpers.cc',
410 'browser/gamepad/gamepad_test_helpers.h',
411 'browser/geolocation/geolocation_provider_unittest.cc',
412 'browser/geolocation/location_arbitrator_impl_unittest.cc',
413 'browser/geolocation/network_location_provider_unittest.cc',
414 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
415 'browser/geolocation/wifi_data_provider_common_unittest.cc',
416 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
417 'browser/geolocation/wifi_data_provider_unittest_win.cc',
418 'browser/gpu/shader_disk_cache_unittest.cc',
419 'browser/host_zoom_map_impl_unittest.cc',
420 'browser/indexed_db/indexed_db_active_blob_registry_unittest.cc',
421 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
422 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
423 'browser/indexed_db/indexed_db_database_unittest.cc',
424 'browser/indexed_db/indexed_db_factory_unittest.cc',
425 'browser/indexed_db/indexed_db_fake_backing_store.cc',
426 'browser/indexed_db/indexed_db_fake_backing_store.h',
427 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
428 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
429 'browser/indexed_db/indexed_db_transaction_unittest.cc',
430 'browser/indexed_db/indexed_db_unittest.cc',
431 'browser/indexed_db/mock_indexed_db_callbacks.cc',
432 'browser/indexed_db/mock_indexed_db_callbacks.h',
433 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
434 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
435 'browser/indexed_db/leveldb/leveldb_unittest.cc',
436 'browser/indexed_db/list_set_unittest.cc',
437 'browser/loader/offline_policy_unittest.cc',
438 'browser/loader/resource_buffer_unittest.cc',
439 'browser/loader/resource_dispatcher_host_unittest.cc',
440 'browser/loader/resource_loader_unittest.cc',
441 'browser/loader/resource_scheduler_unittest.cc',
442 'browser/loader/temporary_file_stream_unittest.cc',
443 'browser/loader/upload_data_stream_builder_unittest.cc',
444 'browser/mach_broker_mac_unittest.cc',
445 'browser/media/capture/audio_mirroring_manager_unittest.cc',
446 'browser/media/capture/video_capture_oracle_unittest.cc',
447 'browser/media/capture/web_contents_audio_input_stream_unittest.cc',
448 'browser/media/capture/web_contents_video_capture_device_unittest.cc',
449 'browser/media/media_internals_unittest.cc',
450 'browser/media/webrtc_identity_store_unittest.cc',
451 'browser/net/sqlite_persistent_cookie_store_unittest.cc',
452 'browser/notification_service_impl_unittest.cc',
453 'browser/plugin_loader_posix_unittest.cc',
454 'browser/power_monitor_message_broadcaster_unittest.cc',
455 'browser/power_profiler/power_profiler_service_unittest.cc',
456 'browser/quota/mock_quota_manager.cc',
457 'browser/quota/mock_quota_manager.h',
458 'browser/quota/mock_quota_manager_proxy.cc',
459 'browser/quota/mock_quota_manager_proxy.h',
460 'browser/quota/mock_quota_manager_unittest.cc',
461 'browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc',
462 'browser/renderer_host/input/gesture_event_queue_unittest.cc',
463 'browser/renderer_host/input/input_router_impl_unittest.cc',
464 'browser/renderer_host/input/mock_input_ack_handler.cc',
465 'browser/renderer_host/input/mock_input_ack_handler.h',
466 'browser/renderer_host/input/mock_input_router_client.cc',
467 'browser/renderer_host/input/mock_input_router_client.h',
468 'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
469 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
470 'browser/renderer_host/input/touch_action_filter_unittest.cc',
471 'browser/renderer_host/input/touch_event_queue_unittest.cc',
472 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
473 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
474 'browser/renderer_host/media/device_request_message_filter_unittest.cc',
475 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
476 'browser/renderer_host/media/media_stream_manager_unittest.cc',
477 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
478 'browser/renderer_host/media/midi_host_unittest.cc',
479 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
480 'browser/renderer_host/media/video_capture_controller_unittest.cc',
481 'browser/renderer_host/media/video_capture_host_unittest.cc',
482 'browser/renderer_host/media/video_capture_manager_unittest.cc',
483 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
484 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
485 'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
486 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
487 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
488 'browser/renderer_host/pepper/quota_reservation_unittest.cc',
489 'browser/renderer_host/render_process_host_unittest.cc',
490 'browser/renderer_host/render_view_host_unittest.cc',
491 'browser/renderer_host/render_widget_host_unittest.cc',
492 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
493 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
494 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
495 'browser/renderer_host/software_frame_manager_unittest.cc',
496 'browser/renderer_host/text_input_client_mac_unittest.mm',
497 'browser/renderer_host/web_input_event_aura_unittest.cc',
498 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
499 'browser/resolve_proxy_msg_helper_unittest.cc',
500 'browser/screen_orientation/screen_orientation_dispatcher_host_unittest.cc',
501 'browser/service_worker/embedded_worker_instance_unittest.cc',
502 'browser/service_worker/embedded_worker_test_helper.cc',
503 'browser/service_worker/embedded_worker_test_helper.h',
504 'browser/service_worker/service_worker_context_unittest.cc',
505 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
506 'browser/service_worker/service_worker_job_unittest.cc',
507 'browser/service_worker/service_worker_registration_unittest.cc',
508 'browser/service_worker/service_worker_storage_unittest.cc',
509 'browser/service_worker/service_worker_url_request_job_unittest.cc',
510 'browser/service_worker/service_worker_version_unittest.cc',
511 'browser/shared_worker/shared_worker_instance_unittest.cc',
512 'browser/shared_worker/shared_worker_service_impl_unittest.cc',
513 'browser/site_instance_impl_unittest.cc',
514 'browser/speech/chunked_byte_buffer_unittest.cc',
515 'browser/speech/endpointer/endpointer_unittest.cc',
516 'browser/speech/google_one_shot_remote_engine_unittest.cc',
517 'browser/speech/google_streaming_remote_engine_unittest.cc',
518 'browser/speech/speech_recognizer_impl_unittest.cc',
519 'browser/ssl/ssl_host_state_unittest.cc',
520 'browser/startup_task_runner_unittest.cc',
521 'browser/storage_partition_impl_map_unittest.cc',
522 'browser/storage_partition_impl_unittest.cc',
523 'browser/streams/stream_unittest.cc',
524 'browser/streams/stream_url_request_job_unittest.cc',
525 'browser/system_message_window_win_unittest.cc',
526 'browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc',
527 'browser/web_contents/aura/window_slider_unittest.cc',
528 'browser/web_contents/web_contents_delegate_unittest.cc',
529 'browser/web_contents/web_contents_impl_unittest.cc',
530 'browser/web_contents/web_contents_user_data_unittest.cc',
531 'browser/web_contents/web_contents_view_mac_unittest.mm',
532 'browser/web_contents/web_drag_dest_mac_unittest.mm',
533 'browser/web_contents/web_drag_source_mac_unittest.mm',
534 'browser/webui/web_ui_data_source_unittest.cc',
535 'browser/webui/web_ui_message_handler_unittest.cc',
536 'child/blink_platform_unittest.cc',
537 'child/fileapi/webfilewriter_base_unittest.cc',
538 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
539 'child/indexed_db/webidbcursor_impl_unittest.cc',
540 'child/npapi/plugin_lib_unittest.cc',
541 'child/power_monitor_broadcast_source_unittest.cc',
542 'child/resource_dispatcher_unittest.cc',
543 'child/site_isolation_policy_unittest.cc',
544 'child/touch_fling_gesture_curve_unittest.cc',
545 'child/webcrypto/shared_crypto_unittest.cc',
546 'child/worker_task_runner_unittest.cc',
547 'common/android/address_parser_unittest.cc',
548 'common/cc_messages_unittest.cc',
549 'common/common_param_traits_unittest.cc',
550 'common/cursors/webcursor_unittest.cc',
551 'common/dom_storage/dom_storage_map_unittest.cc',
552 'common/gpu/gpu_memory_manager_unittest.cc',
553 'common/host_shared_bitmap_manager_unittest.cc',
554 'common/indexed_db/indexed_db_key_unittest.cc',
555 'common/input/input_param_traits_unittest.cc',
556 'common/input/web_input_event_traits_unittest.cc',
557 'common/inter_process_time_ticks_converter_unittest.cc',
558 'common/mac/attributed_string_coder_unittest.mm',
559 'common/mac/font_descriptor_unittest.mm',
560 'common/page_state_serialization_unittest.cc',
561 'common/page_zoom_unittest.cc',
562 'common/plugin_list_unittest.cc',
563 'common/sandbox_mac_diraccess_unittest.mm',
564 'common/sandbox_mac_fontloading_unittest.mm',
565 'common/sandbox_mac_system_access_unittest.mm',
566 'common/sandbox_mac_unittest_helper.h',
567 'common/sandbox_mac_unittest_helper.mm',
568 'common/webplugininfo_unittest.cc',
569 'renderer/active_notification_tracker_unittest.cc',
570 'renderer/android/email_detector_unittest.cc',
571 'renderer/android/phone_number_detector_unittest.cc',
572 'renderer/bmp_image_decoder_unittest.cc',
573 'renderer/device_orientation/device_motion_event_pump_unittest.cc',
574 'renderer/device_orientation/device_orientation_event_pump_unittest.cc',
575 'renderer/disambiguation_popup_helper_unittest.cc',
576 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
577 'renderer/ico_image_decoder_unittest.cc',
578 'renderer/input/input_event_filter_unittest.cc',
579 'renderer/input/input_handler_proxy_unittest.cc',
580 'renderer/media/android/media_info_loader_unittest.cc',
581 'renderer/media/audio_message_filter_unittest.cc',
582 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
583 'renderer/media/buffered_data_source_unittest.cc',
584 'renderer/media/buffered_data_source_host_impl_unittest.cc',
585 'renderer/media/buffered_resource_loader_unittest.cc',
586 'renderer/media/cache_util_unittest.cc',
587 'renderer/media/crypto/key_systems_unittest.cc',
588 'renderer/media/render_media_log_unittest.cc',
589 'renderer/media/test_response_generator.cc',
590 'renderer/media/test_response_generator.h',
591 'renderer/media/video_capture_impl_manager_unittest.cc',
592 'renderer/media/video_capture_impl_unittest.cc',
593 'renderer/media/video_capture_message_filter_unittest.cc',
594 'renderer/media/video_frame_compositor_unittest.cc',
595 'renderer/media/webaudiosourceprovider_impl_unittest.cc',
596 'renderer/media/webrtc/video_destination_handler_unittest.cc',
597 'renderer/npapi/webplugin_impl_unittest.cc',
598 'renderer/paint_aggregator_unittest.cc',
599 'renderer/pepper/host_var_tracker_unittest.cc',
600 'renderer/pepper/mock_resource.h',
601 'renderer/pepper/pepper_broker_unittest.cc',
602 'renderer/pepper/v8_var_converter_unittest.cc',
603 'renderer/render_frame_impl_unittest.cc',
604 'renderer/render_thread_impl_unittest.cc',
605 'renderer/render_widget_unittest.cc',
606 'renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc',
607 'renderer/skia_benchmarking_extension_unittest.cc',
608 'renderer/v8_value_converter_impl_unittest.cc',
609 'test/fileapi_test_file_set.cc',
610 'test/fileapi_test_file_set.h',
611 'test/image_decoder_test.cc',
612 'test/image_decoder_test.h',
613 'test/run_all_unittests.cc',
614 '../webkit/browser/appcache/appcache_database_unittest.cc',
615 '../webkit/browser/appcache/appcache_disk_cache_unittest.cc',
616 '../webkit/browser/appcache/appcache_group_unittest.cc',
617 '../webkit/browser/appcache/appcache_quota_client_unittest.cc',
618 '../webkit/browser/appcache/appcache_response_unittest.cc',
619 '../webkit/browser/appcache/appcache_service_unittest.cc',
620 '../webkit/browser/appcache/appcache_unittest.cc',
621 '../webkit/browser/appcache/appcache_update_job_unittest.cc',
622 '../webkit/browser/appcache/appcache_url_request_job_unittest.cc',
623 '../webkit/browser/appcache/manifest_parser_unittest.cc',
624 '../webkit/browser/appcache/mock_appcache_service.cc',
625 '../webkit/browser/appcache/mock_appcache_service.h',
626 '../webkit/browser/appcache/mock_appcache_storage.cc',
627 '../webkit/browser/appcache/mock_appcache_storage.h',
628 '../webkit/browser/appcache/mock_appcache_storage_unittest.cc',
629 '../webkit/browser/blob/local_file_stream_reader_unittest.cc',
630 '../webkit/browser/database/database_quota_client_unittest.cc',
631 '../webkit/browser/database/database_tracker_unittest.cc',
632 '../webkit/browser/database/database_util_unittest.cc',
633 '../webkit/browser/database/databases_table_unittest.cc',
634 '../webkit/browser/fileapi/external_mount_points_unittest.cc',
635 '../webkit/browser/fileapi/file_system_url_unittest.cc',
636 '../webkit/browser/fileapi/file_system_usage_cache_unittest.cc',
637 '../webkit/browser/fileapi/isolated_context_unittest.cc',
638 '../webkit/browser/fileapi/local_file_stream_writer_unittest.cc',
639 '../webkit/browser/fileapi/native_file_util_unittest.cc',
640 '../webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc',
641 '../webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc',
642 '../webkit/browser/fileapi/sandbox_database_test_helper.cc',
643 '../webkit/browser/fileapi/sandbox_database_test_helper.h',
644 '../webkit/browser/fileapi/sandbox_directory_database_unittest.cc',
645 '../webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
646 '../webkit/browser/fileapi/sandbox_origin_database_unittest.cc',
647 '../webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
648 '../webkit/browser/fileapi/timed_task_helper_unittest.cc',
649 '../webkit/child/multipart_response_delegate_unittest.cc',
650 '../webkit/common/blob/shareable_file_reference_unittest.cc',
651 '../webkit/common/database/database_connections_unittest.cc',
652 '../webkit/common/database/database_identifier_unittest.cc',
653 '../webkit/common/fileapi/file_system_util_unittest.cc',
654 '../webkit/browser/quota/mock_special_storage_policy.cc',
655 '../webkit/browser/quota/mock_special_storage_policy.h',
656 '../webkit/browser/quota/mock_storage_client.cc',
657 '../webkit/browser/quota/mock_storage_client.h',
658 '../webkit/browser/quota/quota_database_unittest.cc',
659 '../webkit/browser/quota/quota_manager_unittest.cc',
660 '../webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc',
661 '../webkit/browser/quota/storage_monitor_unittest.cc',
662 '../webkit/browser/quota/usage_tracker_unittest.cc',
667 # iOS only needs a small portion of content; exclude all the
668 # implementation, and re-include what is used.
669 ['exclude', '\\.(cc|mm)$'],
670 ['include', '_ios\\.(cc|mm)$'],
671 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
672 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
673 ['include', '^test/run_all_unittests\\.cc$'],
677 'content.gyp:content_browser',
678 'content.gyp:content_child',
679 'content.gyp:content_gpu',
680 'content.gyp:content_plugin',
681 'content.gyp:content_renderer',
682 'content_resources.gyp:content_resources',
683 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
684 '../gpu/gpu.gyp:gpu',
685 '../gpu/gpu.gyp:gpu_unittest_utils',
686 '../ipc/ipc.gyp:test_support_ipc',
687 '../jingle/jingle.gyp:jingle_glue_test_util',
688 '../media/media.gyp:media_test_support',
689 '../media/media.gyp:shared_memory_support',
690 '../third_party/WebKit/public/blink.gyp:blink',
691 '../third_party/icu/icu.gyp:icui18n',
692 '../third_party/icu/icu.gyp:icuuc',
693 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
694 '../third_party/libjingle/libjingle.gyp:libjingle',
695 '../ui/compositor/compositor.gyp:compositor_test_support',
696 '../ui/gl/gl.gyp:gl',
697 '../v8/tools/gyp/v8.gyp:v8',
698 '../webkit/common/webkit_common.gyp:webkit_common',
699 '../webkit/child/webkit_child.gyp:webkit_child',
700 '../webkit/storage_browser.gyp:webkit_storage_browser',
701 '../webkit/storage_common.gyp:webkit_storage_common',
704 ['enable_plugins==0', {
706 ['exclude', '^browser/renderer_host/pepper/'],
707 ['exclude', '^child/npapi/'],
708 ['exclude', '^renderer/npapi/'],
709 ['exclude', '^renderer/pepper/'],
712 'browser/plugin_loader_posix_unittest.cc',
713 'renderer/media/webrtc/video_destination_handler_unittest.cc',
716 ['enable_webrtc==1', {
718 'browser/media/webrtc_internals_unittest.cc',
719 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
720 'browser/renderer_host/p2p/socket_host_test_utils.cc',
721 'browser/renderer_host/p2p/socket_host_test_utils.h',
722 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
723 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
724 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
725 'browser/renderer_host/p2p/socket_host_unittest.cc',
726 'renderer/media/media_stream_audio_processor_unittest.cc',
727 'renderer/media/media_stream_dependency_factory_unittest.cc',
728 'renderer/media/media_stream_dispatcher_unittest.cc',
729 'renderer/media/media_stream_impl_unittest.cc',
730 'renderer/media/media_stream_video_capture_source_unittest.cc',
731 'renderer/media/media_stream_video_source_unittest.cc',
732 'renderer/media/media_stream_video_track_unittest.cc',
733 'renderer/media/mock_media_stream_registry.cc',
734 'renderer/media/mock_media_stream_registry.h',
735 'renderer/media/mock_media_stream_video_sink.cc',
736 'renderer/media/mock_media_stream_video_sink.h',
737 'renderer/media/mock_media_stream_video_source.cc',
738 'renderer/media/mock_media_stream_video_source.h',
739 'renderer/media/mock_media_constraint_factory.cc',
740 'renderer/media/rtc_peer_connection_handler_unittest.cc',
741 'renderer/media/rtc_video_decoder_unittest.cc',
742 'renderer/media/video_source_handler_unittest.cc',
743 'renderer/media/webrtc/media_stream_track_metrics_unittest.cc',
744 'renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc',
745 'renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc',
746 'renderer/media/webrtc_audio_capturer_unittest.cc',
747 'renderer/media/webrtc_audio_renderer_unittest.cc',
748 'renderer/media/webrtc_identity_service_unittest.cc',
749 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
750 'renderer/media/webrtc_local_audio_track_unittest.cc',
751 'renderer/media/webrtc_uma_histograms_unittest.cc',
754 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
755 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
756 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
760 'renderer/media/webrtc/video_destination_handler_unittest.cc',
763 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
765 'browser/media/capture/desktop_capture_device_unittest.cc',
768 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
771 ['enable_webrtc==1 and chromeos==1', {
773 'browser/media/capture/desktop_capture_device_aura_unittest.cc',
776 # TODO(jrg): remove the OS=="android" section?
777 # http://crbug.com/113172
778 # Understand better how media_stream_ is tied into Chromium.
779 ['enable_webrtc==0 and OS=="android"', {
781 ['exclude', '^renderer/media/media_stream_'],
784 ['input_speech==0', {
786 ['exclude', '^browser/speech/'],
789 ['notifications==0', {
791 'renderer/active_notification_tracker_unittest.cc',
796 '../build/linux/system.gyp:dbus',
797 '../dbus/dbus.gyp:dbus_test_support',
800 ['OS=="win" and win_use_allocator_shim==1', {
802 '../base/allocator/allocator.gyp:allocator',
807 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
811 # These flags are needed to run the test on Mac.
812 # Search for comments about "xcode_settings" in chrome_tests.gypi.
813 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
817 ['exclude', '^browser/geolocation/wifi_data_provider_linux_unittest.cc'],
822 '../ui/aura/aura.gyp:aura',
825 ['use_aura==1 or toolkit_views==1', {
827 '../ui/events/events.gyp:events_test_support',
830 ['use_aura!=1 and OS!="mac"', {
832 ['exclude', '^browser/compositor/'],
835 ['OS == "android"', {
837 'browser/renderer_host/java/jni_helper_unittest.cc',
840 'browser/geolocation/network_location_provider_unittest.cc',
841 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
842 'browser/geolocation/wifi_data_provider_common_unittest.cc',
843 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
846 ['OS != "android" and OS != "ios"', {
848 '../third_party/libvpx/libvpx.gyp:libvpx',
851 ['OS == "android" and gtest_target_type == "shared_library"', {
853 '../testing/android/native_test.gyp:native_test_native_code',
856 ['use_aura!=1 and OS!="android"', {
858 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
863 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
870 ['test_isolation_mode != "noop"', {
873 'target_name': 'content_unittests_run',
879 '../build/isolate.gypi',
880 'content_unittests.isolate',
883 'content_unittests.isolate',
891 'target_name': 'content_perftests',
892 'type': '<(gtest_target_type)',
893 'defines!': ['CONTENT_IMPLEMENTATION'],
895 'content.gyp:content_browser',
896 'content.gyp:content_common',
897 'test_support_content',
898 '../base/base.gyp:test_support_base',
900 '../skia/skia.gyp:skia',
901 '../testing/gtest.gyp:gtest',
902 '../testing/perf/perf_test.gyp:*',
903 '../ui/gfx/gfx.gyp:gfx',
904 '../ui/gfx/gfx.gyp:gfx_geometry',
910 'browser/renderer_host/input/input_router_impl_perftest.cc',
911 'common/cc_messages_perftest.cc',
912 'test/run_all_perftests.cc',
915 ['OS == "android" and gtest_target_type == "shared_library"', {
917 '../testing/android/native_test.gyp:native_test_native_code',
923 'target_name': 'content_browser_test_support',
924 'type': 'static_library',
927 '../skia/skia.gyp:skia',
928 '../testing/gtest.gyp:gtest',
931 'test/content_test_launcher.cc',
932 'public/test/content_browser_test.cc',
933 'public/test/content_browser_test.h',
934 'public/test/content_browser_test_utils.cc',
935 'public/test/content_browser_test_utils.h',
936 'public/test/content_browser_test_utils_mac.mm',
941 'content.gyp:content_app_both',
945 'content.gyp:content_browser',
951 'target_name': 'web_ui_test_mojo_bindings',
952 'type': 'static_library',
954 '../mojo/mojo.gyp:mojo_bindings',
955 '../mojo/mojo.gyp:mojo_system',
958 'test/data/web_ui_test_mojo_bindings.mojom',
960 # TODO(sky): this shouldn't be necessary. It's working around a bug in
963 'mojom_base_output_dir': 'content',
965 'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
966 'export_dependent_settings': [
967 '../mojo/mojo.gyp:mojo_bindings',
968 '../mojo/mojo.gyp:mojo_system',
972 'target_name': 'content_browsertests',
973 'type': '<(gtest_target_type)',
975 'content.gyp:content_common',
976 'content.gyp:content_gpu',
977 'content.gyp:content_plugin',
978 'content.gyp:content_renderer',
979 'content_browser_test_support',
980 'content_resources.gyp:content_resources',
983 'test_support_content',
984 'web_ui_test_mojo_bindings',
985 '../base/base.gyp:test_support_base',
986 '../gin/gin.gyp:gin',
987 '../gpu/gpu.gyp:gpu',
988 '../ipc/ipc.gyp:test_support_ipc',
989 '../media/media.gyp:media_test_support',
990 '../media/media.gyp:shared_memory_support',
991 '../mojo/mojo.gyp:mojo_bindings',
992 '../mojo/mojo.gyp:mojo_environment_chromium',
993 '../mojo/mojo.gyp:mojo_service_manager',
994 '../mojo/mojo.gyp:mojo_system',
995 '../mojo/mojo.gyp:mojo_system_impl',
996 '../net/net.gyp:net_test_support',
997 '../ppapi/ppapi_internal.gyp:ppapi_host',
998 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
999 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
1000 '../ppapi/ppapi_internal.gyp:ppapi_shared',
1001 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
1002 '../testing/gmock.gyp:gmock',
1003 '../testing/gtest.gyp:gtest',
1004 '../third_party/WebKit/public/blink.gyp:blink',
1005 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1006 '../third_party/mesa/mesa.gyp:osmesa',
1007 '../ui/accessibility/accessibility.gyp:accessibility',
1008 '../ui/base/ui_base.gyp:ui_base',
1009 '../ui/gfx/gfx.gyp:gfx',
1010 '../ui/gfx/gfx.gyp:gfx_geometry',
1011 '../ui/gl/gl.gyp:gl',
1012 '../ui/resources/ui_resources.gyp:ui_resources',
1013 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
1014 '../ui/snapshot/snapshot.gyp:snapshot',
1015 '../webkit/child/webkit_child.gyp:webkit_child',
1016 '../ui/accessibility/accessibility.gyp:ax_gen',
1020 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
1023 'browser/gpu/test_support_gpu.gypi',
1026 'HAS_OUT_OF_PROC_TEST_RUNNER',
1029 'app/mojo/mojo_browsertest.cc',
1030 'browser/accessibility/accessibility_mode_browsertest.cc',
1031 'browser/accessibility/accessibility_win_browsertest.cc',
1032 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
1033 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1034 'browser/compositor/image_transport_factory_browsertest.cc',
1035 'browser/bookmarklet_browsertest.cc',
1036 'browser/browser_plugin/browser_plugin_host_browsertest.cc',
1037 'browser/browser_plugin/test_browser_plugin_guest.cc',
1038 'browser/browser_plugin/test_browser_plugin_guest.h',
1039 'browser/browser_plugin/test_browser_plugin_guest_delegate.cc',
1040 'browser/browser_plugin/test_browser_plugin_guest_delegate.h',
1041 'browser/browser_plugin/test_browser_plugin_guest_manager.cc',
1042 'browser/browser_plugin/test_browser_plugin_guest_manager.h',
1043 'browser/child_process_security_policy_browsertest.cc',
1044 'browser/cross_site_transfer_browsertest.cc',
1045 'browser/database_browsertest.cc',
1046 'browser/device_orientation/device_inertial_sensor_browsertest.cc',
1047 'browser/devtools/renderer_overrides_handler_browsertest.cc',
1048 'browser/dom_storage/dom_storage_browsertest.cc',
1049 'browser/download/download_browsertest.cc',
1050 'browser/download/drag_download_file_browsertest.cc',
1051 'browser/download/mhtml_generation_browsertest.cc',
1052 'browser/download/save_package_browsertest.cc',
1053 'browser/fileapi/file_system_browsertest.cc',
1054 'browser/frame_host/frame_tree_browsertest.cc',
1055 'browser/frame_host/render_frame_host_manager_browsertest.cc',
1056 'browser/gpu/compositor_util_browsertest.cc',
1057 'browser/gpu/gpu_ipc_browsertests.cc',
1058 'browser/indexed_db/indexed_db_browsertest.cc',
1059 'browser/loader/resource_dispatcher_host_browsertest.cc',
1060 'browser/media/encrypted_media_browsertest.cc',
1061 'browser/media/media_browsertest.cc',
1062 'browser/media/media_browsertest.h',
1063 'browser/media/media_canplaytype_browsertest.cc',
1064 'browser/media/media_source_browsertest.cc',
1065 'browser/media/webrtc_internals_browsertest.cc',
1066 'browser/plugin_data_remover_impl_browsertest.cc',
1067 'browser/plugin_browsertest.cc',
1068 'browser/plugin_service_impl_browsertest.cc',
1069 'browser/renderer_host/input/touch_action_browsertest.cc',
1070 'browser/renderer_host/input/touch_input_browsertest.cc',
1071 'browser/renderer_host/render_process_host_browsertest.cc',
1072 'browser/renderer_host/render_view_host_browsertest.cc',
1073 'browser/renderer_host/render_widget_host_browsertest.cc',
1074 'browser/renderer_host/render_widget_host_view_browsertest.cc',
1075 'browser/security_exploit_browsertest.cc',
1076 'browser/service_worker/service_worker_browsertest.cc',
1077 'browser/session_history_browsertest.cc',
1078 'browser/site_per_process_browsertest.cc',
1079 'browser/speech/input_tag_speech_browsertest.cc',
1080 'browser/speech/speech_recognition_browsertest.cc',
1081 'browser/tracing/tracing_controller_browsertest.cc',
1082 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1083 'browser/web_contents/web_contents_impl_browsertest.cc',
1084 'browser/web_contents/web_contents_view_aura_browsertest.cc',
1085 'browser/webkit_browsertest.cc',
1086 'browser/webui/web_ui_mojo_browsertest.cc',
1087 'browser/worker_host/test/worker_browsertest.cc',
1088 'child/site_isolation_policy_browsertest.cc',
1089 'common/gpu/client/context_provider_command_buffer_browsertest.cc',
1090 'renderer/accessibility/renderer_accessibility_browsertest.cc',
1091 'renderer/browser_plugin/browser_plugin_browsertest.cc',
1092 'renderer/browser_plugin/browser_plugin_browsertest.h',
1093 'renderer/browser_plugin/mock_browser_plugin.cc',
1094 'renderer/browser_plugin/mock_browser_plugin.h',
1095 'renderer/browser_plugin/mock_browser_plugin_manager.cc',
1096 'renderer/browser_plugin/mock_browser_plugin_manager.h',
1097 'renderer/browser_render_view_browsertest.cc',
1098 'renderer/dom_serializer_browsertest.cc',
1099 'renderer/gin_browsertest.cc',
1100 'renderer/mouse_lock_dispatcher_browsertest.cc',
1101 'renderer/pepper/fake_pepper_plugin_instance.cc',
1102 'renderer/pepper/mock_renderer_ppapi_host.cc',
1103 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
1104 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
1105 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
1106 'renderer/pepper/pepper_url_request_unittest.cc',
1107 'renderer/render_thread_impl_browsertest.cc',
1108 'renderer/render_view_browsertest.cc',
1109 'renderer/render_view_browsertest_mac.mm',
1110 'renderer/render_widget_browsertest.cc',
1111 'renderer/resource_fetcher_browsertest.cc',
1112 'renderer/savable_resources_browsertest.cc',
1113 'test/accessibility_browser_test_utils.cc',
1114 'test/accessibility_browser_test_utils.h',
1115 'test/content_browser_test_test.cc',
1116 'test/webui_resource_browsertest.cc',
1121 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1125 'resource_include_dirs': [
1126 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1129 'shell/app/resource.h',
1130 'shell/app/shell.rc',
1131 # TODO: It would be nice to have these pulled in
1132 # automatically from direct_dependent_settings in
1133 # their various targets (net.gyp:net_resources, etc.),
1134 # but that causes errors in other targets when
1135 # resulting .res files get referenced multiple times.
1136 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1137 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc',
1138 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
1141 '<(DEPTH)/net/net.gyp:net_resources',
1142 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1143 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1144 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
1145 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
1151 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1156 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1157 'msvs_disabled_warnings': [ 4267, ],
1160 'browser/accessibility/accessibility_win_browsertest.cc',
1163 ['OS=="win" and win_use_allocator_shim==1', {
1165 '../base/allocator/allocator.gyp:allocator',
1170 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1175 'shell/android/browsertests_apk/content_browser_tests_android.cc',
1178 'content_shell_jni_headers',
1179 'content_shell_lib',
1180 '../testing/android/native_test.gyp:native_test_util',
1185 'content_shell', # Needed for Content Shell.app's Helper.
1188 'renderer/external_popup_menu_browsertest.cc',
1193 'browser/accessibility/accessibility_win_browsertest.cc',
1196 ['use_aura==1 and OS!="win"', {
1198 'browser/plugin_browsertest.cc',
1201 ['use_aura==1 or toolkit_views==1', {
1203 '../ui/events/events.gyp:events_test_support',
1206 ['use_aura!=1 and OS!="mac"', {
1208 ['exclude', '^browser/compositor/'],
1211 ['OS!="android" and OS!="ios"', {
1212 # npapi test plugin doesn't build on android or ios
1214 # Runtime dependencies
1215 'copy_npapi_test_plugin',
1218 ['enable_webrtc==1', {
1220 'browser/media/webrtc_browsertest.cc',
1221 'browser/media/webrtc_getusermedia_browsertest.cc',
1222 'test/webrtc_content_browsertest_base.cc',
1223 'test/webrtc_content_browsertest_base.h',
1226 '../testing/perf/perf_test.gyp:perf_test',
1229 ['enable_plugins==0', {
1231 ['exclude', '^renderer/pepper/'],
1234 'browser/plugin_service_impl_browsertest.cc',
1235 'browser/plugin_data_remover_impl_browsertest.cc',
1238 ['input_speech==0', {
1240 ['exclude', '^browser/speech/'],
1243 ['branding=="Chrome"', {
1245 # These tests depend on single process mode, which is disabled
1246 # in official builds.
1247 'renderer/browser_render_view_browsertest.cc',
1248 'renderer/dom_serializer_browsertest.cc',
1249 'renderer/resource_fetcher_browsertest.cc',
1250 'renderer/savable_resources_browsertest.cc',
1256 'target_name': 'content_gl_tests',
1257 'type': '<(gtest_target_type)',
1259 'content.gyp:content_common',
1260 'test_support_content',
1261 '../base/base.gyp:test_support_base',
1262 '../gpu/gpu.gyp:command_buffer_common',
1263 '../testing/gtest.gyp:gtest',
1264 '../third_party/WebKit/public/blink.gyp:blink',
1265 '../ui/base/ui_base.gyp:ui_base',
1266 '../ui/gfx/gfx.gyp:gfx',
1267 '../ui/gfx/gfx.gyp:gfx_geometry',
1268 '../ui/gl/gl.gyp:gl',
1269 # The following two dependencies provide the missing
1270 # symbol HeapProfilerStart in Linux component builds.
1271 '../webkit/child/webkit_child.gyp:webkit_child',
1277 'common/gpu/client/gl_helper_unittest.cc',
1278 'common/gpu/client/gpu_in_process_context_tests.cc',
1283 '../testing/android/native_test.gyp:native_test_native_code',
1289 'target_name': 'content_gl_benchmark',
1290 'type': '<(gtest_target_type)',
1292 'content.gyp:content_common',
1293 'test_support_content',
1294 '../base/base.gyp:test_support_base',
1295 '../testing/gtest.gyp:gtest',
1296 '../third_party/WebKit/public/blink.gyp:blink',
1297 '../ui/base/ui_base.gyp:ui_base',
1298 '../ui/gfx/gfx.gyp:gfx',
1299 '../ui/gfx/gfx.gyp:gfx_geometry',
1300 '../ui/gl/gl.gyp:gl',
1301 # The following two dependencies provide the missing
1302 # symbol HeapProfilerStart in Linux component builds.
1303 '../webkit/child/webkit_child.gyp:webkit_child',
1309 'common/gpu/client/gl_helper_benchmark.cc',
1313 'target_name': 'content_webkit_unit_test_support',
1314 'type': 'static_library',
1316 'test_support_content',
1322 'test/mock_webclipboard_impl.cc',
1323 'test/mock_webclipboard_impl.h',
1324 'test/test_webkit_platform_support.cc',
1325 'test/test_webkit_platform_support.h',
1326 'test/web_layer_tree_view_impl_for_testing.cc',
1327 'test/web_layer_tree_view_impl_for_testing.h',
1328 'test/webkit_support.cc',
1329 'test/webkit_support.h',
1330 'test/webkit_unit_test_support.cc',
1331 'test/webkit_unit_test_support.h',
1336 ['chromeos==1 or OS=="win" or OS=="android"', {
1339 'target_name': 'video_decode_accelerator_unittest',
1340 'type': '<(gtest_target_type)',
1342 '../base/base.gyp:base',
1343 '../media/media.gyp:media',
1344 '../testing/gtest.gyp:gtest',
1345 '../ui/base/ui_base.gyp:ui_base',
1346 '../ui/gfx/gfx.gyp:gfx',
1347 '../ui/gfx/gfx.gyp:gfx_geometry',
1348 '../ui/gl/gl.gyp:gl',
1349 'content.gyp:content',
1352 '<(DEPTH)/third_party/khronos',
1355 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1356 'common/gpu/media/rendering_helper.h',
1357 'common/gpu/media/rendering_helper.cc',
1358 'common/gpu/media/video_accelerator_unittest_helpers.h',
1359 'common/gpu/media/video_decode_accelerator_unittest.cc',
1364 ['exclude', '^common/gpu/media/rendering_helper.h'],
1365 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1366 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1369 '../media/media.gyp:player_android',
1370 '../testing/gmock.gyp:gmock',
1371 '../testing/android/native_test.gyp:native_test_native_code',
1372 '../gpu/gpu.gyp:gpu_unittest_utils',
1374 }, { # OS!="android"
1376 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1381 '<(angle_path)/src/build_angle.gyp:libEGL',
1382 '<(angle_path)/src/build_angle.gyp:libGLESv2',
1385 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
1386 ['(OS=="win" and win_use_allocator_shim==1) or '
1387 '(os_posix == 1 and OS != "android" and '
1388 ' ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)))', {
1390 '../base/allocator/allocator.gyp:allocator',
1393 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1395 '<(DEPTH)/third_party/libva',
1400 '../build/linux/system.gyp:x11', # Used by rendering_helper.cc
1404 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1405 'msvs_disabled_warnings': [ 4267, ],
1409 ['chromeos==1 and use_x11 == 1 and target_arch != "arm"', {
1412 'target_name': 'vaapi_h264_decoder_unittest',
1413 'type': '<(gtest_target_type)',
1415 'content.gyp:content_common',
1416 '../base/base.gyp:base',
1417 '../build/linux/system.gyp:x11',
1418 '../media/media.gyp:media',
1419 '../testing/gtest.gyp:gtest',
1420 '../third_party/libyuv/libyuv.gyp:libyuv',
1421 '../ui/gfx/gfx.gyp:gfx_geometry',
1424 'common/gpu/media/vaapi_h264_decoder_unittest.cc',
1427 '<(DEPTH)/third_party/libva',
1432 ['chromeos==1 and target_arch == "arm"', {
1435 'target_name': 'video_encode_accelerator_unittest',
1436 'type': 'executable',
1438 '../base/base.gyp:base',
1439 '../media/media.gyp:media',
1440 '../media/media.gyp:media_test_support',
1441 '../testing/gtest.gyp:gtest',
1442 '../ui/base/ui_base.gyp:ui_base',
1443 '../ui/gfx/gfx.gyp:gfx',
1444 '../ui/gfx/gfx.gyp:gfx_geometry',
1445 '../ui/gl/gl.gyp:gl',
1446 'content.gyp:content',
1449 'common/gpu/media/video_accelerator_unittest_helpers.h',
1450 'common/gpu/media/video_encode_accelerator_unittest.cc',
1455 # Special target to wrap a gtest_target_type==shared_library
1456 # content_unittests into an android apk for execution.
1457 # See base.gyp for TODO(jrg)s about this strategy.
1458 ['OS == "android" and gtest_target_type == "shared_library"', {
1461 'target_name': 'content_gl_tests_apk',
1465 'content_java_test_support',
1468 'test_suite_name': 'content_gl_tests',
1469 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_gl_tests<(SHARED_LIB_SUFFIX)',
1472 '../build/apk_test.gypi',
1476 'target_name': 'content_unittests_apk',
1479 'content.gyp:content_java',
1480 'content_unittests',
1483 'test_suite_name': 'content_unittests',
1484 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1486 'includes': [ '../build/apk_test.gypi' ],
1489 'target_name': 'content_browsertests_apk',
1492 'content.gyp:content_icudata',
1493 'content.gyp:content_java',
1494 'content_browsertests',
1495 'content_java_test_support',
1496 'content_shell_java',
1499 'apk_name': 'content_browsertests',
1500 'java_in_dir': 'shell/android/browsertests_apk',
1501 'resource_dir': 'shell/android/browsertests_apk/res',
1502 'native_lib_target': 'libcontent_browsertests',
1503 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1504 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1506 ['icu_use_data_file_flag==1', {
1507 'additional_input_paths': [
1508 '<(PRODUCT_DIR)/icudtl.dat',
1513 'includes': [ '../build/java_apk.gypi' ],
1516 'target_name': 'content_perftests_apk',
1519 'content.gyp:content_java',
1520 'content_perftests',
1523 'test_suite_name': 'content_perftests',
1524 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_perftests<(SHARED_LIB_SUFFIX)',
1526 'includes': [ '../build/apk_test.gypi' ],
1529 'target_name': 'chromium_linker_test_apk',
1532 'chromium_android_linker_test',
1533 'content.gyp:content_icudata',
1534 'content.gyp:content_java',
1535 'content_shell_java',
1538 'apk_name': 'ChromiumLinkerTest',
1539 'java_in_dir': 'shell/android/linker_test_apk',
1540 'resource_dir': 'shell/android/linker_test_apk/res',
1541 'native_lib_target': 'libchromium_android_linker_test',
1542 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1543 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1544 'use_chromium_linker': '1',
1545 'enable_chromium_linker_tests': '1',
1547 ['icu_use_data_file_flag==1', {
1548 'additional_input_paths': [
1549 '<(PRODUCT_DIR)/icudtl.dat',
1554 'includes': [ '../build/java_apk.gypi' ],
1557 'target_name': 'chromium_android_linker_test',
1558 'type': 'shared_library',
1559 'defines!': ['CONTENT_IMPLEMENTATION'],
1561 'chromium_android_linker_test_jni_headers',
1562 'content_shell_lib',
1563 # Required to include "content/public/browser/android/compositor.h"
1564 # in chromium_linker_test_android.cc :-(
1565 '../skia/skia.gyp:skia',
1568 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1569 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc',
1573 'target_name': 'chromium_android_linker_test_jni_headers',
1576 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java',
1579 'jni_gen_package': 'content/shell',
1580 'jni_generator_ptr_type': 'long',
1582 'includes': [ '../build/jni_generator.gypi' ],
1585 'target_name': 'video_decode_accelerator_unittest_apk',
1588 'video_decode_accelerator_unittest',
1591 'test_suite_name': 'video_decode_accelerator_unittest',
1592 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1594 'includes': [ '../build/apk_test.gypi' ],
1598 ['OS == "android"', {
1601 'target_name': 'test_support_content_jni_headers',
1604 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1607 'jni_gen_package': 'content/public/test',
1608 'jni_generator_ptr_type': 'long',
1610 'includes': [ '../build/jni_generator.gypi' ],
1613 'target_name': 'content_java_test_support',
1616 '../base/base.gyp:base',
1617 '../base/base.gyp:base_java_test_support',
1618 'content.gyp:content_common',
1619 'content.gyp:content_java',
1622 'java_in_dir': '../content/public/test/android/javatests',
1624 'includes': [ '../build/java.gypi' ],
1627 'target_name': 'content_shell_test_apk',
1630 'content_java_test_support',
1631 'content_shell_apk_java',
1632 'content.gyp:content_java',
1633 '../base/base.gyp:base_java',
1634 '../base/base.gyp:base_javatests',
1635 '../base/base.gyp:base_java_test_support',
1636 '../media/media.gyp:media_java',
1637 '../media/media.gyp:media_test_support',
1638 '../net/net.gyp:net_java',
1639 '../net/net.gyp:net_javatests',
1642 'apk_name': 'ContentShellTest',
1643 'java_in_dir': 'shell/android/javatests',
1644 'resource_dir': 'shell/android/shell_apk/res',
1645 'additional_src_dirs': ['public/android/javatests/',],
1648 'includes': [ '../build/java_apk.gypi' ],
1652 ['OS!="android" and OS!="ios"', {
1653 # npapi test plugin doesn't build on android or ios
1656 'target_name': 'npapi_test_plugin',
1657 'type': 'loadable_module',
1663 '<(DEPTH)/base/base.gyp:base',
1664 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
1665 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
1668 'test/plugin/npapi_constants.cc',
1669 'test/plugin/npapi_constants.h',
1670 'test/plugin/npapi_test.cc',
1671 'test/plugin/npapi_test.def',
1672 'test/plugin/npapi_test.rc',
1673 'test/plugin/plugin_arguments_test.cc',
1674 'test/plugin/plugin_arguments_test.h',
1675 'test/plugin/plugin_client.cc',
1676 'test/plugin/plugin_client.h',
1677 'test/plugin/plugin_create_instance_in_paint.cc',
1678 'test/plugin/plugin_create_instance_in_paint.h',
1679 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
1680 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
1681 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
1682 'test/plugin/plugin_delete_plugin_in_stream_test.h',
1683 'test/plugin/plugin_execute_stream_javascript.cc',
1684 'test/plugin/plugin_execute_stream_javascript.h',
1685 'test/plugin/plugin_get_javascript_url_test.cc',
1686 'test/plugin/plugin_get_javascript_url_test.h',
1687 'test/plugin/plugin_get_javascript_url2_test.cc',
1688 'test/plugin/plugin_get_javascript_url2_test.h',
1689 'test/plugin/plugin_geturl_test.cc',
1690 'test/plugin/plugin_geturl_test.h',
1691 'test/plugin/plugin_javascript_open_popup.cc',
1692 'test/plugin/plugin_javascript_open_popup.h',
1693 'test/plugin/plugin_new_fails_test.cc',
1694 'test/plugin/plugin_new_fails_test.h',
1695 'test/plugin/plugin_npobject_identity_test.cc',
1696 'test/plugin/plugin_npobject_identity_test.h',
1697 'test/plugin/plugin_npobject_lifetime_test.cc',
1698 'test/plugin/plugin_npobject_lifetime_test.h',
1699 'test/plugin/plugin_npobject_proxy_test.cc',
1700 'test/plugin/plugin_npobject_proxy_test.h',
1701 'test/plugin/plugin_request_read_test.h',
1702 'test/plugin/plugin_request_read_test.cc',
1703 'test/plugin/plugin_schedule_timer_test.cc',
1704 'test/plugin/plugin_schedule_timer_test.h',
1705 'test/plugin/plugin_setup_test.cc',
1706 'test/plugin/plugin_setup_test.h',
1707 'test/plugin/plugin_test.cc',
1708 'test/plugin/plugin_test.h',
1709 'test/plugin/plugin_test_factory.h',
1710 'test/plugin/plugin_thread_async_call_test.cc',
1711 'test/plugin/plugin_thread_async_call_test.h',
1712 'test/plugin/plugin_windowed_test.cc',
1713 'test/plugin/plugin_windowed_test.h',
1714 'test/plugin/plugin_private_test.cc',
1715 'test/plugin/plugin_private_test.h',
1716 'test/plugin/plugin_test_factory.cc',
1717 'test/plugin/plugin_window_size_test.cc',
1718 'test/plugin/plugin_window_size_test.h',
1719 'test/plugin/plugin_windowless_test.cc',
1720 'test/plugin/plugin_windowless_test.h',
1721 'test/plugin/resource.h',
1727 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
1732 # TODO(port): Port these.
1733 # plugin_npobject_lifetime_test.cc has win32-isms
1735 'test/plugin/plugin_npobject_lifetime_test.cc',
1736 # The window APIs are necessarily platform-specific.
1737 'test/plugin/plugin_window_size_test.cc',
1738 'test/plugin/plugin_windowed_test.cc',
1739 # Seems windows specific.
1740 'test/plugin/plugin_create_instance_in_paint.cc',
1741 'test/plugin/plugin_create_instance_in_paint.h',
1742 # windows-specific resources
1743 'test/plugin/npapi_test.def',
1744 'test/plugin/npapi_test.rc',
1748 'product_extension': 'plugin',
1751 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1755 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
1756 # Shared libraries need -fPIC on x86-64
1762 'target_name': 'copy_npapi_test_plugin',
1765 'npapi_test_plugin',
1771 'destination': '<(PRODUCT_DIR)/plugins',
1772 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
1779 'destination': '<(PRODUCT_DIR)/plugins/',
1780 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
1784 ['os_posix == 1 and OS != "mac"', {
1787 'destination': '<(PRODUCT_DIR)/plugins',
1788 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],