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_content_browser_client.cc',
179 'test/test_content_browser_client.h',
180 'test/test_content_client.cc',
181 'test/test_content_client.h',
182 'test/test_context_provider_factory.cc',
183 'test/test_context_provider_factory.h',
184 'test/test_render_frame_host.cc',
185 'test/test_render_frame_host.h',
186 'test/test_render_frame_host_factory.cc',
187 'test/test_render_frame_host_factory.h',
188 'test/test_render_view_host.cc',
189 'test/test_render_view_host.h',
190 'test/test_render_view_host_factory.cc',
191 'test/test_render_view_host_factory.h',
192 'test/test_web_contents.cc',
193 'test/test_web_contents.h',
194 'test/test_web_contents_view.cc',
195 'test/test_web_contents_view.h',
196 'test/web_gesture_curve_mock.cc',
197 'test/web_gesture_curve_mock.h',
198 'test/weburl_loader_mock.cc',
199 'test/weburl_loader_mock.h',
200 'test/weburl_loader_mock_factory.cc',
201 'test/weburl_loader_mock_factory.h',
206 # iOS only needs a small portion of content; exclude all the
207 # implementation, and re-include what is used.
208 ['exclude', '\\.(cc|mm)$'],
209 ['include', '_ios\\.(cc|mm)$'],
210 ['include', '^public/test/content_test_suite_base\\.cc$'],
211 ['include', '^public/test/mock_notification_observer\\.cc$'],
212 ['include', '^public/test/mock_resource_context\\.cc$'],
213 ['include', '^public/test/test_browser_thread\\.cc$'],
214 ['include', '^public/test/test_content_client_initializer\\.cc$'],
215 ['include', '^public/test/test_notification_tracker\\.cc$'],
216 ['include', '^public/test/test_utils\\.cc$'],
217 ['include', '^public/test/unittest_test_suite\\.cc$'],
218 ['include', '^test/content_test_suite\\.cc$'],
219 ['include', '^test/test_content_browser_client\\.cc$'],
220 ['include', '^test/test_content_client\\.cc$'],
226 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
228 'shell/resources/missingImage.png',
229 'shell/resources/textAreaResizeCorner.png',
235 'content.gyp:content_child',
236 'content.gyp:content_common',
237 'content.gyp:content_gpu',
238 'content.gyp:content_ppapi_plugin',
239 'content.gyp:content_renderer',
240 'content.gyp:content_utility',
241 'content.gyp:content_worker',
242 '../cc/cc_tests.gyp:cc_test_support',
243 '../media/media.gyp:media',
244 '../ppapi/ppapi_internal.gyp:ppapi_host',
245 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
246 '../ppapi/ppapi_internal.gyp:ppapi_shared',
247 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
248 '../third_party/WebKit/public/blink.gyp:blink',
249 '../ui/surface/surface.gyp:surface',
250 '../webkit/child/webkit_child.gyp:webkit_child',
251 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
252 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
253 '../webkit/storage_browser.gyp:webkit_storage_browser',
254 '../webkit/storage_common.gyp:webkit_storage_common',
256 'export_dependent_settings': [
257 '../third_party/WebKit/public/blink.gyp:blink',
262 '../sandbox/sandbox.gyp:sandbox',
265 ['enable_webrtc==1', {
267 'renderer/media/mock_media_stream_dependency_factory.cc',
268 'renderer/media/mock_media_stream_dependency_factory.h',
269 'renderer/media/mock_media_stream_dispatcher.cc',
270 'renderer/media/mock_media_stream_dispatcher.h',
271 'renderer/media/mock_peer_connection_impl.cc',
272 'renderer/media/mock_peer_connection_impl.h',
273 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
274 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
277 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
278 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
279 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
284 '../build/linux/system.gyp:glib',
289 '../ui/aura/aura.gyp:aura_test_support',
290 '../ui/resources/ui_resources.gyp:ui_test_pak',
293 ['use_aura==1 or OS=="mac"', {
295 '../ui/compositor/compositor.gyp:compositor',
300 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
303 ['OS!="android" and OS!="ios"', {
305 '../third_party/libvpx/libvpx.gyp:libvpx',
310 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
316 'target_name': 'content_unittests',
317 'type': '<(gtest_target_type)',
319 'browser/speech/proto/speech_proto.gyp:speech_proto',
320 'content.gyp:content_browser',
321 'content.gyp:content_common',
322 'test_support_content',
323 '../base/base.gyp:test_support_base',
324 '../crypto/crypto.gyp:crypto',
325 '../net/net.gyp:net_test_support',
326 '../skia/skia.gyp:skia',
327 '../sql/sql.gyp:sql',
328 '../sql/sql.gyp:test_support_sql',
329 '../testing/gmock.gyp:gmock',
330 '../testing/gtest.gyp:gtest',
331 '../third_party/re2/re2.gyp:re2',
332 '../ui/accessibility/accessibility.gyp:accessibility',
333 '../ui/base/ui_base.gyp:ui_base',
334 '../ui/gfx/gfx.gyp:gfx',
335 '../ui/gfx/gfx.gyp:gfx_geometry',
339 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_unittest.cc.
342 'browser/accessibility/accessibility_mode_helper_unittest.cc',
343 'browser/accessibility/browser_accessibility_mac_unittest.mm',
344 'browser/accessibility/browser_accessibility_manager_unittest.cc',
345 'browser/accessibility/browser_accessibility_win_unittest.cc',
346 'browser/appcache/appcache_database_unittest.cc',
347 'browser/appcache/appcache_disk_cache_unittest.cc',
348 'browser/appcache/appcache_group_unittest.cc',
349 'browser/appcache/appcache_host_unittest.cc',
350 'browser/appcache/appcache_quota_client_unittest.cc',
351 'browser/appcache/appcache_request_handler_unittest.cc',
352 'browser/appcache/appcache_response_unittest.cc',
353 'browser/appcache/appcache_service_unittest.cc',
354 'browser/appcache/appcache_storage_unittest.cc',
355 'browser/appcache/appcache_storage_impl_unittest.cc',
356 'browser/appcache/appcache_unittest.cc',
357 'browser/appcache/appcache_update_job_unittest.cc',
358 'browser/appcache/appcache_url_request_job_unittest.cc',
359 'browser/appcache/chrome_appcache_service_unittest.cc',
360 'browser/appcache/manifest_parser_unittest.cc',
361 'browser/appcache/mock_appcache_policy.cc',
362 'browser/appcache/mock_appcache_policy.h',
363 'browser/appcache/mock_appcache_storage_unittest.cc',
364 'browser/browser_thread_unittest.cc',
365 'browser/browser_url_handler_impl_unittest.cc',
366 'browser/byte_stream_unittest.cc',
367 'browser/child_process_security_policy_unittest.cc',
368 'browser/compositor/software_browser_compositor_output_surface_unittest.cc',
369 'browser/compositor/software_output_device_ozone_unittest.cc',
370 'browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc',
371 'browser/device_orientation/sensor_manager_android_unittest.cc',
372 'browser/devtools/devtools_http_handler_unittest.cc',
373 'browser/devtools/devtools_manager_unittest.cc',
374 'browser/devtools/shared_worker_devtools_manager_unittest.cc',
375 'browser/dom_storage/dom_storage_area_unittest.cc',
376 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
377 'browser/dom_storage/dom_storage_database_unittest.cc',
378 'browser/dom_storage/session_storage_database_unittest.cc',
379 'browser/download/base_file_unittest.cc',
380 'browser/download/download_file_unittest.cc',
381 'browser/download/download_item_impl_unittest.cc',
382 'browser/download/download_manager_impl_unittest.cc',
383 'browser/download/file_metadata_unittest_linux.cc',
384 'browser/download/rate_estimator_unittest.cc',
385 'browser/download/save_package_unittest.cc',
386 'browser/fileapi/blob_storage_context_unittest.cc',
387 'browser/fileapi/blob_url_request_job_unittest.cc',
388 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
389 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
390 'browser/fileapi/dragged_file_util_unittest.cc',
391 'browser/fileapi/file_system_context_unittest.cc',
392 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
393 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
394 'browser/fileapi/file_system_operation_impl_unittest.cc',
395 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
396 'browser/fileapi/file_system_operation_runner_unittest.cc',
397 'browser/fileapi/file_system_quota_client_unittest.cc',
398 'browser/fileapi/file_system_url_request_job_unittest.cc',
399 'browser/fileapi/file_writer_delegate_unittest.cc',
400 'browser/fileapi/fileapi_message_filter_unittest.cc',
401 'browser/fileapi/local_file_util_unittest.cc',
402 'browser/fileapi/mock_file_change_observer.cc',
403 'browser/fileapi/mock_file_change_observer.h',
404 'browser/fileapi/obfuscated_file_util_unittest.cc',
405 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
406 'browser/fileapi/recursive_operation_delegate_unittest.cc',
407 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
408 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
409 'browser/fileapi/transient_file_util_unittest.cc',
410 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
411 'browser/frame_host/frame_tree_unittest.cc',
412 'browser/frame_host/navigation_controller_impl_unittest.cc',
413 'browser/frame_host/navigation_entry_impl_unittest.cc',
414 'browser/frame_host/render_frame_host_manager_unittest.cc',
415 'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
416 'browser/frame_host/render_widget_host_view_guest_unittest.cc',
417 'browser/gamepad/gamepad_provider_unittest.cc',
418 'browser/gamepad/gamepad_test_helpers.cc',
419 'browser/gamepad/gamepad_test_helpers.h',
420 'browser/geolocation/geolocation_provider_unittest.cc',
421 'browser/geolocation/location_arbitrator_impl_unittest.cc',
422 'browser/geolocation/network_location_provider_unittest.cc',
423 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
424 'browser/geolocation/wifi_data_provider_common_unittest.cc',
425 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
426 'browser/geolocation/wifi_data_provider_unittest_win.cc',
427 'browser/gpu/gpu_data_manager_impl_private_unittest.cc',
428 'browser/gpu/shader_disk_cache_unittest.cc',
429 'browser/host_zoom_map_impl_unittest.cc',
430 'browser/indexed_db/indexed_db_active_blob_registry_unittest.cc',
431 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
432 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
433 'browser/indexed_db/indexed_db_database_unittest.cc',
434 'browser/indexed_db/indexed_db_factory_unittest.cc',
435 'browser/indexed_db/indexed_db_fake_backing_store.cc',
436 'browser/indexed_db/indexed_db_fake_backing_store.h',
437 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
438 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
439 'browser/indexed_db/indexed_db_transaction_unittest.cc',
440 'browser/indexed_db/indexed_db_unittest.cc',
441 'browser/indexed_db/mock_indexed_db_callbacks.cc',
442 'browser/indexed_db/mock_indexed_db_callbacks.h',
443 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
444 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
445 'browser/indexed_db/leveldb/leveldb_unittest.cc',
446 'browser/indexed_db/list_set_unittest.cc',
447 'browser/loader/offline_policy_unittest.cc',
448 'browser/loader/resource_buffer_unittest.cc',
449 'browser/loader/resource_dispatcher_host_unittest.cc',
450 'browser/loader/resource_loader_unittest.cc',
451 'browser/loader/resource_scheduler_unittest.cc',
452 'browser/loader/temporary_file_stream_unittest.cc',
453 'browser/loader/upload_data_stream_builder_unittest.cc',
454 'browser/mach_broker_mac_unittest.cc',
455 'browser/media/capture/audio_mirroring_manager_unittest.cc',
456 'browser/media/capture/video_capture_oracle_unittest.cc',
457 'browser/media/capture/web_contents_audio_input_stream_unittest.cc',
458 'browser/media/capture/web_contents_video_capture_device_unittest.cc',
459 'browser/media/media_internals_unittest.cc',
460 'browser/media/webrtc_identity_store_unittest.cc',
461 'browser/net/sqlite_persistent_cookie_store_unittest.cc',
462 'browser/notification_service_impl_unittest.cc',
463 'browser/plugin_loader_posix_unittest.cc',
464 'browser/power_monitor_message_broadcaster_unittest.cc',
465 'browser/power_profiler/power_profiler_service_unittest.cc',
466 'browser/quota/mock_quota_manager.cc',
467 'browser/quota/mock_quota_manager.h',
468 'browser/quota/mock_quota_manager_proxy.cc',
469 'browser/quota/mock_quota_manager_proxy.h',
470 'browser/quota/mock_quota_manager_unittest.cc',
471 'browser/quota/quota_database_unittest.cc',
472 'browser/quota/quota_manager_unittest.cc',
473 'browser/quota/quota_temporary_storage_evictor_unittest.cc',
474 'browser/quota/storage_monitor_unittest.cc',
475 'browser/quota/usage_tracker_unittest.cc',
476 'browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc',
477 'browser/renderer_host/input/gesture_event_queue_unittest.cc',
478 'browser/renderer_host/input/input_router_impl_unittest.cc',
479 'browser/renderer_host/input/mock_input_ack_handler.cc',
480 'browser/renderer_host/input/mock_input_ack_handler.h',
481 'browser/renderer_host/input/mock_input_router_client.cc',
482 'browser/renderer_host/input/mock_input_router_client.h',
483 'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
484 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
485 'browser/renderer_host/input/touch_action_filter_unittest.cc',
486 'browser/renderer_host/input/touch_emulator_unittest.cc',
487 'browser/renderer_host/input/touch_event_queue_unittest.cc',
488 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
489 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
490 'browser/renderer_host/media/device_request_message_filter_unittest.cc',
491 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
492 'browser/renderer_host/media/media_stream_manager_unittest.cc',
493 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
494 'browser/renderer_host/media/midi_host_unittest.cc',
495 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
496 'browser/renderer_host/media/video_capture_controller_unittest.cc',
497 'browser/renderer_host/media/video_capture_host_unittest.cc',
498 'browser/renderer_host/media/video_capture_manager_unittest.cc',
499 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
500 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
501 'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
502 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
503 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
504 'browser/renderer_host/pepper/quota_reservation_unittest.cc',
505 'browser/renderer_host/render_process_host_unittest.cc',
506 'browser/renderer_host/render_view_host_unittest.cc',
507 'browser/renderer_host/render_widget_host_unittest.cc',
508 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
509 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
510 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
511 'browser/renderer_host/software_frame_manager_unittest.cc',
512 'browser/renderer_host/text_input_client_mac_unittest.mm',
513 'browser/renderer_host/web_input_event_aura_unittest.cc',
514 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
515 'browser/resolve_proxy_msg_helper_unittest.cc',
516 'browser/screen_orientation/screen_orientation_dispatcher_host_unittest.cc',
517 'browser/service_worker/embedded_worker_instance_unittest.cc',
518 'browser/service_worker/embedded_worker_test_helper.cc',
519 'browser/service_worker/embedded_worker_test_helper.h',
520 'browser/service_worker/service_worker_context_unittest.cc',
521 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
522 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
523 'browser/service_worker/service_worker_handle_unittest.cc',
524 'browser/service_worker/service_worker_job_unittest.cc',
525 'browser/service_worker/service_worker_provider_host_unittest.cc',
526 'browser/service_worker/service_worker_registration_unittest.cc',
527 'browser/service_worker/service_worker_url_request_job_unittest.cc',
528 'browser/service_worker/service_worker_utils_unittest.cc',
529 'browser/service_worker/service_worker_version_unittest.cc',
530 'browser/shared_worker/shared_worker_instance_unittest.cc',
531 'browser/shared_worker/shared_worker_service_impl_unittest.cc',
532 'browser/site_instance_impl_unittest.cc',
533 'browser/speech/chunked_byte_buffer_unittest.cc',
534 'browser/speech/endpointer/endpointer_unittest.cc',
535 'browser/speech/google_one_shot_remote_engine_unittest.cc',
536 'browser/speech/google_streaming_remote_engine_unittest.cc',
537 'browser/speech/speech_recognizer_impl_unittest.cc',
538 'browser/ssl/ssl_host_state_unittest.cc',
539 'browser/startup_task_runner_unittest.cc',
540 'browser/storage_partition_impl_map_unittest.cc',
541 'browser/storage_partition_impl_unittest.cc',
542 'browser/streams/stream_unittest.cc',
543 'browser/streams/stream_url_request_job_unittest.cc',
544 'browser/system_message_window_win_unittest.cc',
545 'browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc',
546 'browser/web_contents/aura/window_slider_unittest.cc',
547 'browser/web_contents/web_contents_delegate_unittest.cc',
548 'browser/web_contents/web_contents_impl_unittest.cc',
549 'browser/web_contents/web_contents_user_data_unittest.cc',
550 'browser/web_contents/web_contents_view_mac_unittest.mm',
551 'browser/web_contents/web_drag_dest_mac_unittest.mm',
552 'browser/web_contents/web_drag_source_mac_unittest.mm',
553 'browser/webui/web_ui_data_source_unittest.cc',
554 'browser/webui/web_ui_message_handler_unittest.cc',
555 'child/blink_platform_unittest.cc',
556 'child/fileapi/webfilewriter_base_unittest.cc',
557 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
558 'child/indexed_db/webidbcursor_impl_unittest.cc',
559 'child/npapi/plugin_lib_unittest.cc',
560 'child/power_monitor_broadcast_source_unittest.cc',
561 'child/resource_dispatcher_unittest.cc',
562 'child/site_isolation_policy_unittest.cc',
563 'child/touch_fling_gesture_curve_unittest.cc',
564 'child/webcrypto/shared_crypto_unittest.cc',
565 'child/worker_task_runner_unittest.cc',
566 'common/android/address_parser_unittest.cc',
567 'common/cc_messages_unittest.cc',
568 'common/common_param_traits_unittest.cc',
569 'common/cursors/webcursor_unittest.cc',
570 'common/dom_storage/dom_storage_map_unittest.cc',
571 'common/gpu/gpu_memory_manager_unittest.cc',
572 'common/host_shared_bitmap_manager_unittest.cc',
573 'common/indexed_db/indexed_db_key_unittest.cc',
574 'common/input/input_param_traits_unittest.cc',
575 'common/input/web_input_event_traits_unittest.cc',
576 'common/inter_process_time_ticks_converter_unittest.cc',
577 'common/mac/attributed_string_coder_unittest.mm',
578 'common/mac/font_descriptor_unittest.mm',
579 'common/page_state_serialization_unittest.cc',
580 'common/page_zoom_unittest.cc',
581 'common/plugin_list_unittest.cc',
582 'common/sandbox_mac_diraccess_unittest.mm',
583 'common/sandbox_mac_fontloading_unittest.mm',
584 'common/sandbox_mac_system_access_unittest.mm',
585 'common/sandbox_mac_unittest_helper.h',
586 'common/sandbox_mac_unittest_helper.mm',
587 'common/webplugininfo_unittest.cc',
588 'renderer/active_notification_tracker_unittest.cc',
589 'renderer/android/email_detector_unittest.cc',
590 'renderer/android/phone_number_detector_unittest.cc',
591 'renderer/bmp_image_decoder_unittest.cc',
592 'renderer/device_orientation/device_motion_event_pump_unittest.cc',
593 'renderer/device_orientation/device_orientation_event_pump_unittest.cc',
594 'renderer/disambiguation_popup_helper_unittest.cc',
595 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
596 'renderer/ico_image_decoder_unittest.cc',
597 'renderer/input/input_event_filter_unittest.cc',
598 'renderer/input/input_handler_proxy_unittest.cc',
599 'renderer/media/android/media_info_loader_unittest.cc',
600 'renderer/media/audio_message_filter_unittest.cc',
601 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
602 'renderer/media/buffered_data_source_unittest.cc',
603 'renderer/media/buffered_data_source_host_impl_unittest.cc',
604 'renderer/media/buffered_resource_loader_unittest.cc',
605 'renderer/media/cache_util_unittest.cc',
606 'renderer/media/crypto/key_systems_unittest.cc',
607 'renderer/media/render_media_log_unittest.cc',
608 'renderer/media/test_response_generator.cc',
609 'renderer/media/test_response_generator.h',
610 'renderer/media/video_capture_impl_manager_unittest.cc',
611 'renderer/media/video_capture_impl_unittest.cc',
612 'renderer/media/video_capture_message_filter_unittest.cc',
613 'renderer/media/video_frame_compositor_unittest.cc',
614 'renderer/media/webaudiosourceprovider_impl_unittest.cc',
615 'renderer/media/webrtc/video_destination_handler_unittest.cc',
616 'renderer/npapi/webplugin_impl_unittest.cc',
617 'renderer/paint_aggregator_unittest.cc',
618 'renderer/pepper/host_var_tracker_unittest.cc',
619 'renderer/pepper/mock_resource.h',
620 'renderer/pepper/pepper_broker_unittest.cc',
621 'renderer/pepper/v8_var_converter_unittest.cc',
622 'renderer/render_frame_impl_unittest.cc',
623 'renderer/render_thread_impl_unittest.cc',
624 'renderer/render_widget_unittest.cc',
625 'renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc',
626 'renderer/skia_benchmarking_extension_unittest.cc',
627 'renderer/v8_value_converter_impl_unittest.cc',
628 'test/fileapi_test_file_set.cc',
629 'test/fileapi_test_file_set.h',
630 'test/image_decoder_test.cc',
631 'test/image_decoder_test.h',
632 'test/run_all_unittests.cc',
633 '../webkit/browser/appcache/mock_appcache_service.cc',
634 '../webkit/browser/appcache/mock_appcache_service.h',
635 '../webkit/browser/appcache/mock_appcache_storage.cc',
636 '../webkit/browser/appcache/mock_appcache_storage.h',
637 '../webkit/browser/blob/local_file_stream_reader_unittest.cc',
638 '../webkit/browser/database/database_quota_client_unittest.cc',
639 '../webkit/browser/database/database_tracker_unittest.cc',
640 '../webkit/browser/database/database_util_unittest.cc',
641 '../webkit/browser/database/databases_table_unittest.cc',
642 '../webkit/browser/fileapi/external_mount_points_unittest.cc',
643 '../webkit/browser/fileapi/file_system_url_unittest.cc',
644 '../webkit/browser/fileapi/file_system_usage_cache_unittest.cc',
645 '../webkit/browser/fileapi/isolated_context_unittest.cc',
646 '../webkit/browser/fileapi/local_file_stream_writer_unittest.cc',
647 '../webkit/browser/fileapi/native_file_util_unittest.cc',
648 '../webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc',
649 '../webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc',
650 '../webkit/browser/fileapi/sandbox_database_test_helper.cc',
651 '../webkit/browser/fileapi/sandbox_database_test_helper.h',
652 '../webkit/browser/fileapi/sandbox_directory_database_unittest.cc',
653 '../webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
654 '../webkit/browser/fileapi/sandbox_origin_database_unittest.cc',
655 '../webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
656 '../webkit/browser/fileapi/timed_task_helper_unittest.cc',
657 '../webkit/child/multipart_response_delegate_unittest.cc',
658 '../webkit/common/blob/shareable_file_reference_unittest.cc',
659 '../webkit/common/database/database_connections_unittest.cc',
660 '../webkit/common/database/database_identifier_unittest.cc',
661 '../webkit/common/fileapi/file_system_util_unittest.cc',
662 '../webkit/browser/quota/mock_special_storage_policy.cc',
663 '../webkit/browser/quota/mock_special_storage_policy.h',
664 '../webkit/browser/quota/mock_storage_client.cc',
665 '../webkit/browser/quota/mock_storage_client.h',
670 # iOS only needs a small portion of content; exclude all the
671 # implementation, and re-include what is used.
672 ['exclude', '\\.(cc|mm)$'],
673 ['include', '_ios\\.(cc|mm)$'],
674 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
675 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
676 ['include', '^test/run_all_unittests\\.cc$'],
680 'content.gyp:content_browser',
681 'content.gyp:content_child',
682 'content.gyp:content_gpu',
683 'content.gyp:content_plugin',
684 'content.gyp:content_renderer',
685 'content_resources.gyp:content_resources',
686 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
687 '../gpu/gpu.gyp:gpu',
688 '../gpu/gpu.gyp:gpu_unittest_utils',
689 '../ipc/ipc.gyp:test_support_ipc',
690 '../jingle/jingle.gyp:jingle_glue_test_util',
691 '../media/media.gyp:media_test_support',
692 '../media/media.gyp:shared_memory_support',
693 '../third_party/WebKit/public/blink.gyp:blink',
694 '../third_party/icu/icu.gyp:icui18n',
695 '../third_party/icu/icu.gyp:icuuc',
696 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
697 '../third_party/libjingle/libjingle.gyp:libjingle',
698 '../ui/compositor/compositor.gyp:compositor_test_support',
699 '../ui/gl/gl.gyp:gl',
700 '../v8/tools/gyp/v8.gyp:v8',
701 '../webkit/common/webkit_common.gyp:webkit_common',
702 '../webkit/child/webkit_child.gyp:webkit_child',
703 '../webkit/storage_browser.gyp:webkit_storage_browser',
704 '../webkit/storage_common.gyp:webkit_storage_common',
707 ['enable_plugins==0', {
709 ['exclude', '^browser/renderer_host/pepper/'],
710 ['exclude', '^child/npapi/'],
711 ['exclude', '^renderer/npapi/'],
712 ['exclude', '^renderer/pepper/'],
715 'browser/plugin_loader_posix_unittest.cc',
716 'renderer/media/webrtc/video_destination_handler_unittest.cc',
719 ['enable_webrtc==1', {
721 'browser/media/webrtc_internals_unittest.cc',
722 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
723 'browser/renderer_host/p2p/socket_host_test_utils.cc',
724 'browser/renderer_host/p2p/socket_host_test_utils.h',
725 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
726 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
727 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
728 'browser/renderer_host/p2p/socket_host_unittest.cc',
729 'renderer/media/media_stream_audio_processor_unittest.cc',
730 'renderer/media/media_stream_dependency_factory_unittest.cc',
731 'renderer/media/media_stream_dispatcher_unittest.cc',
732 'renderer/media/media_stream_impl_unittest.cc',
733 'renderer/media/media_stream_video_capture_source_unittest.cc',
734 'renderer/media/media_stream_video_source_unittest.cc',
735 'renderer/media/media_stream_video_track_unittest.cc',
736 'renderer/media/mock_media_stream_registry.cc',
737 'renderer/media/mock_media_stream_registry.h',
738 'renderer/media/mock_media_stream_video_sink.cc',
739 'renderer/media/mock_media_stream_video_sink.h',
740 'renderer/media/mock_media_stream_video_source.cc',
741 'renderer/media/mock_media_stream_video_source.h',
742 'renderer/media/mock_media_constraint_factory.cc',
743 'renderer/media/rtc_peer_connection_handler_unittest.cc',
744 'renderer/media/rtc_video_decoder_unittest.cc',
745 'renderer/media/video_source_handler_unittest.cc',
746 'renderer/media/webrtc/media_stream_remote_video_source_unittest.cc',
747 'renderer/media/webrtc/media_stream_track_metrics_unittest.cc',
748 'renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc',
749 'renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc',
750 'renderer/media/webrtc_audio_capturer_unittest.cc',
751 'renderer/media/webrtc_audio_renderer_unittest.cc',
752 'renderer/media/webrtc_identity_service_unittest.cc',
753 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
754 'renderer/media/webrtc_local_audio_track_unittest.cc',
755 'renderer/media/webrtc_uma_histograms_unittest.cc',
758 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
759 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
760 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
764 'renderer/media/webrtc/video_destination_handler_unittest.cc',
767 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
769 'browser/media/capture/desktop_capture_device_unittest.cc',
772 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
775 ['enable_webrtc==1 and chromeos==1', {
777 'browser/media/capture/desktop_capture_device_aura_unittest.cc',
780 # TODO(jrg): remove the OS=="android" section?
781 # http://crbug.com/113172
782 # Understand better how media_stream_ is tied into Chromium.
783 ['enable_webrtc==0 and OS=="android"', {
785 ['exclude', '^renderer/media/media_stream_'],
788 ['input_speech==0', {
790 ['exclude', '^browser/speech/'],
793 ['notifications==0', {
795 'renderer/active_notification_tracker_unittest.cc',
800 '../build/linux/system.gyp:dbus',
801 '../dbus/dbus.gyp:dbus_test_support',
804 ['OS=="win" and win_use_allocator_shim==1', {
806 '../base/allocator/allocator.gyp:allocator',
811 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
815 # These flags are needed to run the test on Mac.
816 # Search for comments about "xcode_settings" in chrome_tests.gypi.
817 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
821 ['exclude', '^browser/geolocation/wifi_data_provider_linux_unittest.cc'],
826 '../ui/aura/aura.gyp:aura',
829 ['use_aura==1 or toolkit_views==1', {
831 '../ui/events/events.gyp:events_test_support',
834 ['use_aura!=1 and OS!="mac"', {
836 ['exclude', '^browser/compositor/'],
839 ['OS == "android"', {
841 'browser/renderer_host/java/jni_helper_unittest.cc',
844 'browser/geolocation/network_location_provider_unittest.cc',
845 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
846 'browser/geolocation/wifi_data_provider_common_unittest.cc',
847 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
850 ['OS != "android" and OS != "ios"', {
852 '../third_party/libvpx/libvpx.gyp:libvpx',
855 ['OS == "android" and gtest_target_type == "shared_library"', {
857 '../testing/android/native_test.gyp:native_test_native_code',
860 ['use_aura!=1 and OS!="android"', {
862 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
867 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
874 ['test_isolation_mode != "noop"', {
877 'target_name': 'content_unittests_run',
883 '../build/isolate.gypi',
884 'content_unittests.isolate',
887 'content_unittests.isolate',
895 'target_name': 'content_perftests',
896 'type': '<(gtest_target_type)',
897 'defines!': ['CONTENT_IMPLEMENTATION'],
899 'content.gyp:content_browser',
900 'content.gyp:content_common',
901 'test_support_content',
902 '../base/base.gyp:test_support_base',
904 '../skia/skia.gyp:skia',
905 '../testing/gtest.gyp:gtest',
906 '../testing/perf/perf_test.gyp:*',
907 '../ui/gfx/gfx.gyp:gfx',
908 '../ui/gfx/gfx.gyp:gfx_geometry',
914 'browser/renderer_host/input/input_router_impl_perftest.cc',
915 'common/cc_messages_perftest.cc',
916 'test/run_all_perftests.cc',
919 ['OS == "android" and gtest_target_type == "shared_library"', {
921 '../testing/android/native_test.gyp:native_test_native_code',
927 'target_name': 'content_browser_test_support',
928 'type': 'static_library',
931 '../skia/skia.gyp:skia',
932 '../testing/gtest.gyp:gtest',
935 'test/content_test_launcher.cc',
936 'public/test/content_browser_test.cc',
937 'public/test/content_browser_test.h',
938 'public/test/content_browser_test_utils.cc',
939 'public/test/content_browser_test_utils.h',
940 'public/test/content_browser_test_utils_mac.mm',
945 'content.gyp:content_app_both',
949 'content.gyp:content_browser',
955 'target_name': 'web_ui_test_mojo_bindings',
956 'type': 'static_library',
958 '../mojo/mojo.gyp:mojo_bindings',
961 'test/data/web_ui_test_mojo_bindings.mojom',
963 # TODO(sky): this shouldn't be necessary. It's working around a bug in
966 'mojom_base_output_dir': 'content',
968 'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
969 'export_dependent_settings': [
970 '../mojo/mojo.gyp:mojo_bindings',
974 'target_name': 'content_browsertests',
975 'type': '<(gtest_target_type)',
977 'content.gyp:content_common',
978 'content.gyp:content_gpu',
979 'content.gyp:content_plugin',
980 'content.gyp:content_renderer',
981 'content_browser_test_support',
982 'content_resources.gyp:content_resources',
985 'test_support_content',
986 'web_ui_test_mojo_bindings',
987 '../base/base.gyp:test_support_base',
988 '../gin/gin.gyp:gin',
989 '../gpu/gpu.gyp:gpu',
990 '../ipc/ipc.gyp:test_support_ipc',
991 '../media/media.gyp:media_test_support',
992 '../media/media.gyp:shared_memory_support',
993 '../mojo/mojo.gyp:mojo_bindings',
994 '../mojo/mojo.gyp:mojo_environment_chromium',
995 '../mojo/mojo.gyp:mojo_service_manager',
996 '../mojo/mojo.gyp:mojo_system_impl',
997 '../net/net.gyp:net_test_support',
998 '../ppapi/ppapi_internal.gyp:ppapi_host',
999 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
1000 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
1001 '../ppapi/ppapi_internal.gyp:ppapi_shared',
1002 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
1003 '../testing/gmock.gyp:gmock',
1004 '../testing/gtest.gyp:gtest',
1005 '../third_party/WebKit/public/blink.gyp:blink',
1006 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1007 '../third_party/mesa/mesa.gyp:osmesa',
1008 '../ui/accessibility/accessibility.gyp:accessibility',
1009 '../ui/base/ui_base.gyp:ui_base',
1010 '../ui/gfx/gfx.gyp:gfx',
1011 '../ui/gfx/gfx.gyp:gfx_geometry',
1012 '../ui/gl/gl.gyp:gl',
1013 '../ui/resources/ui_resources.gyp:ui_resources',
1014 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
1015 '../ui/snapshot/snapshot.gyp:snapshot',
1016 '../webkit/child/webkit_child.gyp:webkit_child',
1017 '../ui/accessibility/accessibility.gyp:ax_gen',
1021 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
1024 'browser/gpu/test_support_gpu.gypi',
1027 'HAS_OUT_OF_PROC_TEST_RUNNER',
1030 'app/mojo/mojo_browsertest.cc',
1031 'browser/accessibility/accessibility_mode_browsertest.cc',
1032 'browser/accessibility/accessibility_win_browsertest.cc',
1033 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
1034 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1035 'browser/compositor/image_transport_factory_browsertest.cc',
1036 'browser/bookmarklet_browsertest.cc',
1037 'browser/browser_plugin/browser_plugin_host_browsertest.cc',
1038 'browser/browser_plugin/test_browser_plugin_guest.cc',
1039 'browser/browser_plugin/test_browser_plugin_guest.h',
1040 'browser/browser_plugin/test_browser_plugin_guest_delegate.cc',
1041 'browser/browser_plugin/test_browser_plugin_guest_delegate.h',
1042 'browser/browser_plugin/test_browser_plugin_guest_manager.cc',
1043 'browser/browser_plugin/test_browser_plugin_guest_manager.h',
1044 'browser/child_process_security_policy_browsertest.cc',
1045 'browser/cross_site_transfer_browsertest.cc',
1046 'browser/database_browsertest.cc',
1047 'browser/device_orientation/device_inertial_sensor_browsertest.cc',
1048 'browser/devtools/renderer_overrides_handler_browsertest.cc',
1049 'browser/dom_storage/dom_storage_browsertest.cc',
1050 'browser/download/download_browsertest.cc',
1051 'browser/download/drag_download_file_browsertest.cc',
1052 'browser/download/mhtml_generation_browsertest.cc',
1053 'browser/download/save_package_browsertest.cc',
1054 'browser/fileapi/file_system_browsertest.cc',
1055 'browser/frame_host/frame_tree_browsertest.cc',
1056 'browser/frame_host/render_frame_host_manager_browsertest.cc',
1057 'browser/frame_host/navigation_controller_impl_browsertest.cc',
1058 'browser/gpu/compositor_util_browsertest.cc',
1059 'browser/gpu/gpu_ipc_browsertests.cc',
1060 'browser/indexed_db/indexed_db_browsertest.cc',
1061 'browser/loader/resource_dispatcher_host_browsertest.cc',
1062 'browser/media/encrypted_media_browsertest.cc',
1063 'browser/media/media_browsertest.cc',
1064 'browser/media/media_browsertest.h',
1065 'browser/media/media_canplaytype_browsertest.cc',
1066 'browser/media/media_source_browsertest.cc',
1067 'browser/media/webrtc_internals_browsertest.cc',
1068 'browser/plugin_data_remover_impl_browsertest.cc',
1069 'browser/plugin_browsertest.cc',
1070 'browser/plugin_service_impl_browsertest.cc',
1071 'browser/renderer_host/input/touch_action_browsertest.cc',
1072 'browser/renderer_host/input/touch_input_browsertest.cc',
1073 'browser/renderer_host/render_process_host_browsertest.cc',
1074 'browser/renderer_host/render_view_host_browsertest.cc',
1075 'browser/renderer_host/render_widget_host_browsertest.cc',
1076 'browser/renderer_host/render_widget_host_view_browsertest.cc',
1077 'browser/security_exploit_browsertest.cc',
1078 'browser/service_worker/service_worker_browsertest.cc',
1079 'browser/session_history_browsertest.cc',
1080 'browser/site_per_process_browsertest.cc',
1081 'browser/speech/input_tag_speech_browsertest.cc',
1082 'browser/speech/speech_recognition_browsertest.cc',
1083 'browser/tracing/tracing_controller_browsertest.cc',
1084 'browser/web_contents/opened_by_dom_browsertest.cc',
1085 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1086 'browser/web_contents/web_contents_impl_browsertest.cc',
1087 'browser/web_contents/web_contents_view_aura_browsertest.cc',
1088 'browser/webkit_browsertest.cc',
1089 'browser/webui/web_ui_mojo_browsertest.cc',
1090 'browser/worker_host/test/worker_browsertest.cc',
1091 'child/site_isolation_policy_browsertest.cc',
1092 'common/gpu/client/context_provider_command_buffer_browsertest.cc',
1093 'renderer/accessibility/renderer_accessibility_browsertest.cc',
1094 'renderer/browser_plugin/browser_plugin_browsertest.cc',
1095 'renderer/browser_plugin/browser_plugin_browsertest.h',
1096 'renderer/browser_plugin/mock_browser_plugin.cc',
1097 'renderer/browser_plugin/mock_browser_plugin.h',
1098 'renderer/browser_plugin/mock_browser_plugin_manager.cc',
1099 'renderer/browser_plugin/mock_browser_plugin_manager.h',
1100 'renderer/browser_render_view_browsertest.cc',
1101 'renderer/dom_serializer_browsertest.cc',
1102 'renderer/gin_browsertest.cc',
1103 'renderer/mouse_lock_dispatcher_browsertest.cc',
1104 'renderer/pepper/fake_pepper_plugin_instance.cc',
1105 'renderer/pepper/mock_renderer_ppapi_host.cc',
1106 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
1107 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
1108 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
1109 'renderer/pepper/pepper_url_request_unittest.cc',
1110 'renderer/render_thread_impl_browsertest.cc',
1111 'renderer/render_view_browsertest.cc',
1112 'renderer/render_view_browsertest_mac.mm',
1113 'renderer/render_widget_browsertest.cc',
1114 'renderer/resource_fetcher_browsertest.cc',
1115 'renderer/savable_resources_browsertest.cc',
1116 'test/accessibility_browser_test_utils.cc',
1117 'test/accessibility_browser_test_utils.h',
1118 'test/content_browser_test_test.cc',
1119 'test/webui_resource_browsertest.cc',
1124 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1128 'resource_include_dirs': [
1129 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1132 'shell/app/resource.h',
1133 'shell/app/shell.rc',
1134 # TODO: It would be nice to have these pulled in
1135 # automatically from direct_dependent_settings in
1136 # their various targets (net.gyp:net_resources, etc.),
1137 # but that causes errors in other targets when
1138 # resulting .res files get referenced multiple times.
1139 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1140 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc',
1141 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
1144 '<(DEPTH)/net/net.gyp:net_resources',
1145 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1146 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1147 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
1148 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
1154 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1159 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1160 'msvs_disabled_warnings': [ 4267, ],
1163 'browser/accessibility/accessibility_win_browsertest.cc',
1166 ['OS=="win" and win_use_allocator_shim==1', {
1168 '../base/allocator/allocator.gyp:allocator',
1173 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1178 'shell/android/browsertests_apk/content_browser_tests_android.cc',
1181 'content_shell_jni_headers',
1182 'content_shell_lib',
1183 '../testing/android/native_test.gyp:native_test_util',
1188 'content_shell', # Needed for Content Shell.app's Helper.
1191 'renderer/external_popup_menu_browsertest.cc',
1196 'browser/accessibility/accessibility_win_browsertest.cc',
1199 ['use_aura==1 and OS!="win"', {
1201 'browser/plugin_browsertest.cc',
1204 ['use_aura==1 or toolkit_views==1', {
1206 '../ui/events/events.gyp:events_test_support',
1209 ['use_aura!=1 and OS!="mac"', {
1211 ['exclude', '^browser/compositor/'],
1214 ['OS!="android" and OS!="ios" and OS!="linux"', {
1215 # npapi test plugin doesn't build on android or ios
1217 # Runtime dependencies
1218 'copy_npapi_test_plugin',
1221 ['enable_webrtc==1', {
1223 'browser/media/webrtc_browsertest.cc',
1224 'browser/media/webrtc_getusermedia_browsertest.cc',
1225 'test/webrtc_content_browsertest_base.cc',
1226 'test/webrtc_content_browsertest_base.h',
1229 '../testing/perf/perf_test.gyp:perf_test',
1232 ['enable_plugins==0', {
1234 ['exclude', '^renderer/pepper/'],
1237 'browser/plugin_service_impl_browsertest.cc',
1238 'browser/plugin_data_remover_impl_browsertest.cc',
1241 ['input_speech==0', {
1243 ['exclude', '^browser/speech/'],
1246 ['branding=="Chrome"', {
1248 # These tests depend on single process mode, which is disabled
1249 # in official builds.
1250 'renderer/browser_render_view_browsertest.cc',
1251 'renderer/dom_serializer_browsertest.cc',
1252 'renderer/resource_fetcher_browsertest.cc',
1253 'renderer/savable_resources_browsertest.cc',
1259 'target_name': 'content_gl_tests',
1260 'type': '<(gtest_target_type)',
1262 'content.gyp:content_common',
1263 'test_support_content',
1264 '../base/base.gyp:test_support_base',
1265 '../gpu/gpu.gyp:command_buffer_common',
1266 '../testing/gtest.gyp:gtest',
1267 '../third_party/WebKit/public/blink.gyp:blink',
1268 '../ui/base/ui_base.gyp:ui_base',
1269 '../ui/gfx/gfx.gyp:gfx',
1270 '../ui/gfx/gfx.gyp:gfx_geometry',
1271 '../ui/gl/gl.gyp:gl',
1272 # The following two dependencies provide the missing
1273 # symbol HeapProfilerStart in Linux component builds.
1274 '../webkit/child/webkit_child.gyp:webkit_child',
1280 'common/gpu/client/gl_helper_unittest.cc',
1281 'common/gpu/client/gpu_in_process_context_tests.cc',
1286 '../testing/android/native_test.gyp:native_test_native_code',
1292 'target_name': 'content_gl_benchmark',
1293 'type': '<(gtest_target_type)',
1295 'content.gyp:content_common',
1296 'test_support_content',
1297 '../base/base.gyp:test_support_base',
1298 '../testing/gtest.gyp:gtest',
1299 '../third_party/WebKit/public/blink.gyp:blink',
1300 '../ui/base/ui_base.gyp:ui_base',
1301 '../ui/gfx/gfx.gyp:gfx',
1302 '../ui/gfx/gfx.gyp:gfx_geometry',
1303 '../ui/gl/gl.gyp:gl',
1304 # The following two dependencies provide the missing
1305 # symbol HeapProfilerStart in Linux component builds.
1306 '../webkit/child/webkit_child.gyp:webkit_child',
1312 'common/gpu/client/gl_helper_benchmark.cc',
1316 'target_name': 'content_webkit_unit_test_support',
1317 'type': 'static_library',
1319 'test_support_content',
1325 'test/mock_webclipboard_impl.cc',
1326 'test/mock_webclipboard_impl.h',
1327 'test/test_webkit_platform_support.cc',
1328 'test/test_webkit_platform_support.h',
1329 'test/web_layer_tree_view_impl_for_testing.cc',
1330 'test/web_layer_tree_view_impl_for_testing.h',
1331 'test/webkit_support.cc',
1332 'test/webkit_support.h',
1333 'test/webkit_unit_test_support.cc',
1334 'test/webkit_unit_test_support.h',
1339 ['chromeos==1 or OS=="win" or OS=="android"', {
1342 'target_name': 'video_decode_accelerator_unittest',
1343 'type': '<(gtest_target_type)',
1345 '../base/base.gyp:base',
1346 '../media/media.gyp:media',
1347 '../testing/gtest.gyp:gtest',
1348 '../ui/base/ui_base.gyp:ui_base',
1349 '../ui/gfx/gfx.gyp:gfx',
1350 '../ui/gfx/gfx.gyp:gfx_geometry',
1351 '../ui/gl/gl.gyp:gl',
1352 'content.gyp:content',
1355 '<(DEPTH)/third_party/khronos',
1358 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1359 'common/gpu/media/rendering_helper.h',
1360 'common/gpu/media/rendering_helper.cc',
1361 'common/gpu/media/video_accelerator_unittest_helpers.h',
1362 'common/gpu/media/video_decode_accelerator_unittest.cc',
1367 ['exclude', '^common/gpu/media/rendering_helper.h'],
1368 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1369 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1372 '../media/media.gyp:player_android',
1373 '../testing/gmock.gyp:gmock',
1374 '../testing/android/native_test.gyp:native_test_native_code',
1375 '../gpu/gpu.gyp:gpu_unittest_utils',
1377 }, { # OS!="android"
1379 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1384 '<(angle_path)/src/build_angle.gyp:libEGL',
1385 '<(angle_path)/src/build_angle.gyp:libGLESv2',
1388 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
1389 ['(OS=="win" and win_use_allocator_shim==1) or '
1390 '(os_posix == 1 and OS != "android" and '
1391 ' ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)))', {
1393 '../base/allocator/allocator.gyp:allocator',
1396 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1398 '<(DEPTH)/third_party/libva',
1403 '../build/linux/system.gyp:x11', # Used by rendering_helper.cc
1404 '../ui/gfx/gfx.gyp:gfx_x11',
1408 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1409 'msvs_disabled_warnings': [ 4267, ],
1413 ['chromeos==1 and use_x11 == 1 and target_arch != "arm"', {
1416 'target_name': 'vaapi_h264_decoder_unittest',
1417 'type': '<(gtest_target_type)',
1419 'content.gyp:content_common',
1420 '../base/base.gyp:base',
1421 '../build/linux/system.gyp:x11',
1422 '../media/media.gyp:media',
1423 '../testing/gtest.gyp:gtest',
1424 '../third_party/libyuv/libyuv.gyp:libyuv',
1425 '../ui/gfx/gfx.gyp:gfx_geometry',
1428 'common/gpu/media/vaapi_h264_decoder_unittest.cc',
1431 '<(DEPTH)/third_party/libva',
1436 ['chromeos==1 and target_arch == "arm"', {
1439 'target_name': 'video_encode_accelerator_unittest',
1440 'type': 'executable',
1442 '../base/base.gyp:base',
1443 '../media/media.gyp:media',
1444 '../media/media.gyp:media_test_support',
1445 '../testing/gtest.gyp:gtest',
1446 '../ui/base/ui_base.gyp:ui_base',
1447 '../ui/gfx/gfx.gyp:gfx',
1448 '../ui/gfx/gfx.gyp:gfx_geometry',
1449 '../ui/gl/gl.gyp:gl',
1450 'content.gyp:content',
1453 'common/gpu/media/video_accelerator_unittest_helpers.h',
1454 'common/gpu/media/video_encode_accelerator_unittest.cc',
1459 # Special target to wrap a gtest_target_type==shared_library
1460 # content_unittests into an android apk for execution.
1461 # See base.gyp for TODO(jrg)s about this strategy.
1462 ['OS == "android" and gtest_target_type == "shared_library"', {
1465 'target_name': 'content_gl_tests_apk',
1469 'content_java_test_support',
1472 'test_suite_name': 'content_gl_tests',
1473 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_gl_tests<(SHARED_LIB_SUFFIX)',
1476 '../build/apk_test.gypi',
1480 'target_name': 'content_unittests_apk',
1483 'content.gyp:content_java',
1484 'content_unittests',
1487 'test_suite_name': 'content_unittests',
1488 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1490 'includes': [ '../build/apk_test.gypi' ],
1493 'target_name': 'content_browsertests_apk',
1496 'content.gyp:content_icudata',
1497 'content.gyp:content_java',
1498 'content_browsertests',
1499 'content_java_test_support',
1500 'content_shell_java',
1503 'apk_name': 'content_browsertests',
1504 'java_in_dir': 'shell/android/browsertests_apk',
1505 'resource_dir': 'shell/android/browsertests_apk/res',
1506 'native_lib_target': 'libcontent_browsertests',
1507 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1508 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1510 ['icu_use_data_file_flag==1', {
1511 'additional_input_paths': [
1512 '<(PRODUCT_DIR)/icudtl.dat',
1517 'includes': [ '../build/java_apk.gypi' ],
1520 'target_name': 'content_perftests_apk',
1523 'content.gyp:content_java',
1524 'content_perftests',
1527 'test_suite_name': 'content_perftests',
1528 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_perftests<(SHARED_LIB_SUFFIX)',
1530 'includes': [ '../build/apk_test.gypi' ],
1533 'target_name': 'chromium_linker_test_apk',
1536 'chromium_android_linker_test',
1537 'content.gyp:content_icudata',
1538 'content.gyp:content_java',
1539 'content_shell_java',
1542 'apk_name': 'ChromiumLinkerTest',
1543 'java_in_dir': 'shell/android/linker_test_apk',
1544 'resource_dir': 'shell/android/linker_test_apk/res',
1545 'native_lib_target': 'libchromium_android_linker_test',
1546 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1547 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1548 'use_chromium_linker': '1',
1549 'enable_chromium_linker_tests': '1',
1551 ['icu_use_data_file_flag==1', {
1552 'additional_input_paths': [
1553 '<(PRODUCT_DIR)/icudtl.dat',
1558 'includes': [ '../build/java_apk.gypi' ],
1561 'target_name': 'chromium_android_linker_test',
1562 'type': 'shared_library',
1563 'defines!': ['CONTENT_IMPLEMENTATION'],
1565 'chromium_android_linker_test_jni_headers',
1566 'content_shell_lib',
1567 # Required to include "content/public/browser/android/compositor.h"
1568 # in chromium_linker_test_android.cc :-(
1569 '../skia/skia.gyp:skia',
1572 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1573 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc',
1577 'target_name': 'chromium_android_linker_test_jni_headers',
1580 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java',
1583 'jni_gen_package': 'content/shell',
1584 'jni_generator_ptr_type': 'long',
1586 'includes': [ '../build/jni_generator.gypi' ],
1589 'target_name': 'video_decode_accelerator_unittest_apk',
1592 'video_decode_accelerator_unittest',
1595 'test_suite_name': 'video_decode_accelerator_unittest',
1596 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1598 'includes': [ '../build/apk_test.gypi' ],
1602 ['OS == "android"', {
1605 'target_name': 'test_support_content_jni_headers',
1608 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1611 'jni_gen_package': 'content/public/test',
1612 'jni_generator_ptr_type': 'long',
1614 'includes': [ '../build/jni_generator.gypi' ],
1617 'target_name': 'content_java_test_support',
1620 '../base/base.gyp:base',
1621 '../base/base.gyp:base_java_test_support',
1622 'content.gyp:content_common',
1623 'content.gyp:content_java',
1626 'java_in_dir': '../content/public/test/android/javatests',
1628 'includes': [ '../build/java.gypi' ],
1631 'target_name': 'content_shell_test_apk',
1634 'content_java_test_support',
1635 'content_shell_apk_java',
1636 'content.gyp:content_java',
1637 '../base/base.gyp:base_java',
1638 '../base/base.gyp:base_javatests',
1639 '../base/base.gyp:base_java_test_support',
1640 '../media/media.gyp:media_java',
1641 '../media/media.gyp:media_test_support',
1642 '../net/net.gyp:net_java',
1643 '../net/net.gyp:net_javatests',
1646 'apk_name': 'ContentShellTest',
1647 'java_in_dir': 'shell/android/javatests',
1648 'resource_dir': 'shell/android/shell_apk/res',
1649 'additional_src_dirs': ['public/android/javatests/',],
1652 'includes': [ '../build/java_apk.gypi' ],
1656 ['OS!="android" and OS!="ios" and OS!="linux"', {
1657 # npapi test plugin doesn't build on android or ios
1660 'target_name': 'npapi_test_plugin',
1661 'type': 'loadable_module',
1667 '<(DEPTH)/base/base.gyp:base',
1668 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
1669 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
1672 'test/plugin/npapi_constants.cc',
1673 'test/plugin/npapi_constants.h',
1674 'test/plugin/npapi_test.cc',
1675 'test/plugin/npapi_test.def',
1676 'test/plugin/npapi_test.rc',
1677 'test/plugin/plugin_arguments_test.cc',
1678 'test/plugin/plugin_arguments_test.h',
1679 'test/plugin/plugin_client.cc',
1680 'test/plugin/plugin_client.h',
1681 'test/plugin/plugin_create_instance_in_paint.cc',
1682 'test/plugin/plugin_create_instance_in_paint.h',
1683 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
1684 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
1685 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
1686 'test/plugin/plugin_delete_plugin_in_stream_test.h',
1687 'test/plugin/plugin_execute_stream_javascript.cc',
1688 'test/plugin/plugin_execute_stream_javascript.h',
1689 'test/plugin/plugin_get_javascript_url_test.cc',
1690 'test/plugin/plugin_get_javascript_url_test.h',
1691 'test/plugin/plugin_get_javascript_url2_test.cc',
1692 'test/plugin/plugin_get_javascript_url2_test.h',
1693 'test/plugin/plugin_geturl_test.cc',
1694 'test/plugin/plugin_geturl_test.h',
1695 'test/plugin/plugin_javascript_open_popup.cc',
1696 'test/plugin/plugin_javascript_open_popup.h',
1697 'test/plugin/plugin_new_fails_test.cc',
1698 'test/plugin/plugin_new_fails_test.h',
1699 'test/plugin/plugin_npobject_identity_test.cc',
1700 'test/plugin/plugin_npobject_identity_test.h',
1701 'test/plugin/plugin_npobject_lifetime_test.cc',
1702 'test/plugin/plugin_npobject_lifetime_test.h',
1703 'test/plugin/plugin_npobject_proxy_test.cc',
1704 'test/plugin/plugin_npobject_proxy_test.h',
1705 'test/plugin/plugin_request_read_test.h',
1706 'test/plugin/plugin_request_read_test.cc',
1707 'test/plugin/plugin_schedule_timer_test.cc',
1708 'test/plugin/plugin_schedule_timer_test.h',
1709 'test/plugin/plugin_setup_test.cc',
1710 'test/plugin/plugin_setup_test.h',
1711 'test/plugin/plugin_test.cc',
1712 'test/plugin/plugin_test.h',
1713 'test/plugin/plugin_test_factory.h',
1714 'test/plugin/plugin_thread_async_call_test.cc',
1715 'test/plugin/plugin_thread_async_call_test.h',
1716 'test/plugin/plugin_windowed_test.cc',
1717 'test/plugin/plugin_windowed_test.h',
1718 'test/plugin/plugin_private_test.cc',
1719 'test/plugin/plugin_private_test.h',
1720 'test/plugin/plugin_test_factory.cc',
1721 'test/plugin/plugin_window_size_test.cc',
1722 'test/plugin/plugin_window_size_test.h',
1723 'test/plugin/plugin_windowless_test.cc',
1724 'test/plugin/plugin_windowless_test.h',
1725 'test/plugin/resource.h',
1731 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
1736 # TODO(port): Port these.
1737 # plugin_npobject_lifetime_test.cc has win32-isms
1739 'test/plugin/plugin_npobject_lifetime_test.cc',
1740 # The window APIs are necessarily platform-specific.
1741 'test/plugin/plugin_window_size_test.cc',
1742 'test/plugin/plugin_windowed_test.cc',
1743 # Seems windows specific.
1744 'test/plugin/plugin_create_instance_in_paint.cc',
1745 'test/plugin/plugin_create_instance_in_paint.h',
1746 # windows-specific resources
1747 'test/plugin/npapi_test.def',
1748 'test/plugin/npapi_test.rc',
1752 'product_extension': 'plugin',
1755 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1759 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
1760 # Shared libraries need -fPIC on x86-64
1766 'target_name': 'copy_npapi_test_plugin',
1769 'npapi_test_plugin',
1775 'destination': '<(PRODUCT_DIR)/plugins',
1776 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
1783 'destination': '<(PRODUCT_DIR)/plugins/',
1784 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
1788 ['os_posix == 1 and OS != "mac"', {
1791 'destination': '<(PRODUCT_DIR)/plugins',
1792 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],