1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 'target_name': 'test_support_content',
9 'type': 'static_library',
11 '../net/net.gyp:net_test_support',
12 '../skia/skia.gyp:skia',
13 '../testing/gmock.gyp:gmock',
14 '../testing/gtest.gyp:gtest',
15 '../ui/events/events.gyp:events_base',
16 '../ui/gfx/gfx.gyp:gfx',
17 '../ui/ui.gyp:keycode_converter',
19 '../ui/ui.gyp:ui_resources',
20 '../ui/ui_unittests.gyp:ui_test_support',
21 '../url/url.gyp:url_lib',
22 'browser/speech/proto/speech_proto.gyp:speech_proto',
23 'content.gyp:content_app_both',
24 'content.gyp:content_browser',
25 'content.gyp:content_common',
31 'public/test/browser_test_base.cc',
32 'public/test/browser_test_base.h',
33 'public/test/browser_test.h',
34 'public/test/browser_test_utils.cc',
35 'public/test/browser_test_utils.h',
36 'public/test/content_test_suite_base.cc',
37 'public/test/content_test_suite_base.h',
38 'public/test/download_test_observer.cc',
39 'public/test/download_test_observer.h',
40 'public/test/fake_speech_recognition_manager.cc',
41 'public/test/fake_speech_recognition_manager.h',
42 'public/test/layouttest_support.h',
43 'public/test/mock_download_item.cc',
44 'public/test/mock_download_item.h',
45 'public/test/mock_download_manager.cc',
46 'public/test/mock_download_manager.h',
47 'public/test/mock_notification_observer.cc',
48 'public/test/mock_notification_observer.h',
49 'public/test/mock_render_process_host.cc',
50 'public/test/mock_render_process_host.h',
51 'public/test/mock_render_thread.cc',
52 'public/test/mock_render_thread.h',
53 'public/test/mock_resource_context.cc',
54 'public/test/mock_resource_context.h',
55 'public/test/nested_message_pump_android.cc',
56 'public/test/nested_message_pump_android.h',
57 'public/test/render_view_fake_resources_test.cc',
58 'public/test/render_view_fake_resources_test.h',
59 'public/test/render_view_test.cc',
60 'public/test/render_view_test.h',
61 'public/test/render_widget_test.cc',
62 'public/test/render_widget_test.h',
63 'public/test/sandbox_file_system_test_helper.cc',
64 'public/test/sandbox_file_system_test_helper.h',
65 'public/test/test_browser_context.cc',
66 'public/test/test_browser_context.h',
67 'public/test/test_browser_thread.cc',
68 'public/test/test_browser_thread.h',
69 'public/test/test_browser_thread_bundle.cc',
70 'public/test/test_browser_thread_bundle.h',
71 'public/test/test_content_client_initializer.cc',
72 'public/test/test_content_client_initializer.h',
73 'public/test/test_file_error_injector.cc',
74 'public/test/test_file_error_injector.h',
75 'public/test/test_file_system_backend.cc',
76 'public/test/test_file_system_backend.h',
77 'public/test/test_file_system_context.cc',
78 'public/test/test_file_system_context.h',
79 'public/test/test_file_system_options.cc',
80 'public/test/test_file_system_options.h',
81 'public/test/test_launcher.cc',
82 'public/test/test_launcher.h',
83 'public/test/test_navigation_observer.cc',
84 'public/test/test_navigation_observer.h',
85 'public/test/test_notification_tracker.cc',
86 'public/test/test_notification_tracker.h',
87 'public/test/test_renderer_host.cc',
88 'public/test/test_renderer_host.h',
89 'public/test/test_utils.cc',
90 'public/test/test_utils.h',
91 'public/test/unittest_test_suite.cc',
92 'public/test/unittest_test_suite.h',
93 'public/test/web_contents_tester.cc',
94 'public/test/web_contents_tester.h',
95 'app/startup_helper_win.cc',
96 # TODO(phajdan.jr): All of those files should live in content/test (if
97 # they're only used by content) or content/public/test (if they're used
98 # by other embedders).
99 'browser/download/mock_download_file.cc',
100 'browser/download/mock_download_file.h',
101 'browser/geolocation/fake_access_token_store.cc',
102 'browser/geolocation/fake_access_token_store.h',
103 'browser/geolocation/mock_location_arbitrator.cc',
104 'browser/geolocation/mock_location_arbitrator.h',
105 'browser/geolocation/mock_location_provider.cc',
106 'browser/geolocation/mock_location_provider.h',
107 'browser/renderer_host/compositing_iosurface_shader_programs_mac.cc',
108 'browser/renderer_host/compositing_iosurface_shader_programs_mac.h',
109 'browser/renderer_host/compositing_iosurface_transformer_mac.cc',
110 'browser/renderer_host/compositing_iosurface_transformer_mac.h',
111 'browser/renderer_host/media/mock_media_observer.cc',
112 'browser/renderer_host/media/mock_media_observer.h',
113 'browser/renderer_host/test_backing_store.cc',
114 'browser/renderer_host/test_backing_store.h',
115 'browser/renderer_host/test_render_view_host.cc',
116 'browser/renderer_host/test_render_view_host.h',
117 'gpu/gpu_idirect3d9_mock_win.cc',
118 'gpu/gpu_idirect3d9_mock_win.h',
119 'test/content_test_suite.cc',
120 'test/content_test_suite.h',
121 'test/layouttest_support.cc',
122 'test/mock_google_streaming_server.cc',
123 'test/mock_google_streaming_server.h',
124 'test/mock_keyboard.cc',
125 'test/mock_keyboard.h',
126 'test/mock_keyboard_driver_win.cc',
127 'test/mock_keyboard_driver_win.h',
128 'test/mock_render_process.cc',
129 'test/mock_render_process.h',
130 'test/mock_webclipboard_impl.cc',
131 'test/mock_webclipboard_impl.h',
132 'test/mock_webframeclient.h',
133 'test/mock_weburlloader.cc',
134 'test/mock_weburlloader.h',
135 'test/net/url_request_abort_on_end_job.cc',
136 'test/net/url_request_abort_on_end_job.h',
137 'test/net/url_request_failed_job.cc',
138 'test/net/url_request_failed_job.h',
139 'test/net/url_request_mock_http_job.cc',
140 'test/net/url_request_mock_http_job.h',
141 'test/net/url_request_prepackaged_interceptor.cc',
142 'test/net/url_request_prepackaged_interceptor.h',
143 'test/net/url_request_slow_download_job.cc',
144 'test/net/url_request_slow_download_job.h',
145 'test/ppapi_unittest.cc',
146 'test/ppapi_unittest.h',
147 'test/test_content_browser_client.cc',
148 'test/test_content_browser_client.h',
149 'test/test_content_client.cc',
150 'test/test_content_client.h',
151 'test/test_media_stream_client.cc',
152 'test/test_media_stream_client.h',
153 'test/test_render_view_host_factory.cc',
154 'test/test_render_view_host_factory.h',
155 'test/test_video_frame_provider.cc',
156 'test/test_video_frame_provider.h',
157 'test/test_web_contents.cc',
158 'test/test_web_contents.h',
159 'test/test_web_contents_view.cc',
160 'test/test_web_contents_view.h',
161 'test/test_webkit_platform_support.cc',
162 'test/test_webkit_platform_support.h',
163 'test/web_gesture_curve_mock.cc',
164 'test/web_gesture_curve_mock.h',
165 'test/web_layer_tree_view_impl_for_testing.cc',
166 'test/web_layer_tree_view_impl_for_testing.h',
167 'test/webkit_support.cc',
168 'test/webkit_support.h',
169 'test/webkit_support_glue.cc',
170 'test/weburl_loader_mock.cc',
171 'test/weburl_loader_mock.h',
172 'test/weburl_loader_mock_factory.cc',
173 'test/weburl_loader_mock_factory.h',
175 # TODO(kinuko): Those files should be moved to content/public/test.
176 '../webkit/browser/appcache/appcache_test_helper.cc',
177 '../webkit/browser/appcache/appcache_test_helper.h',
178 '../webkit/browser/fileapi/async_file_test_helper.cc',
179 '../webkit/browser/fileapi/async_file_test_helper.h',
184 # iOS only needs a small portion of content; exclude all the
185 # implementation, and re-include what is used.
186 ['exclude', '\\.(cc|mm)$'],
187 ['include', '_ios\\.(cc|mm)$'],
188 ['include', '^public/test/content_test_suite_base\\.cc$'],
189 ['include', '^public/test/mock_notification_observer\\.cc$'],
190 ['include', '^public/test/mock_resource_context\\.cc$'],
191 ['include', '^public/test/test_browser_thread\\.cc$'],
192 ['include', '^public/test/test_content_client_initializer\\.cc$'],
193 ['include', '^public/test/test_notification_tracker\\.cc$'],
194 ['include', '^public/test/test_utils\\.cc$'],
195 ['include', '^public/test/unittest_test_suite\\.cc$'],
196 ['include', '^test/content_test_suite\\.cc$'],
197 ['include', '^test/test_content_browser_client\\.cc$'],
198 ['include', '^test/test_content_client\\.cc$'],
204 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
206 'shell/resources/missingImage.png',
207 'shell/resources/textAreaResizeCorner.png',
213 'content.gyp:content_child',
214 'content.gyp:content_gpu',
215 'content.gyp:content_ppapi_plugin',
216 'content.gyp:content_renderer',
217 'content.gyp:content_utility',
218 'content.gyp:content_worker',
219 '../cc/cc_tests.gyp:cc_test_support',
220 '../media/media.gyp:media',
221 '../ppapi/ppapi_internal.gyp:ppapi_host',
222 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
223 '../ppapi/ppapi_internal.gyp:ppapi_shared',
224 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
225 '../third_party/WebKit/public/blink.gyp:blink',
226 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runner',
227 '../ui/surface/surface.gyp:surface',
228 '../webkit/child/webkit_child.gyp:webkit_child',
229 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
230 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
231 '../webkit/glue/webkit_glue.gyp:glue',
232 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
233 '../webkit/renderer/webkit_renderer.gyp:webkit_renderer',
234 '../webkit/storage_browser.gyp:webkit_storage_browser',
235 '../webkit/storage_common.gyp:webkit_storage_common',
238 ['OS == "win" or toolkit_uses_gtk == 1', {
240 '../sandbox/sandbox.gyp:sandbox',
243 ['enable_webrtc==1', {
245 'renderer/media/mock_media_stream_dependency_factory.cc',
246 'renderer/media/mock_media_stream_dependency_factory.h',
247 'renderer/media/mock_media_stream_dispatcher.cc',
248 'renderer/media/mock_media_stream_dispatcher.h',
249 'renderer/media/mock_media_stream_registry.cc',
250 'renderer/media/mock_media_stream_registry.h',
251 'renderer/media/mock_peer_connection_impl.cc',
252 'renderer/media/mock_peer_connection_impl.h',
253 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
254 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
255 'test/webrtc_audio_device_test.cc',
256 'test/webrtc_audio_device_test.h',
259 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
260 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
261 '../third_party/webrtc/modules/modules.gyp:audio_device',
262 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
265 ['toolkit_uses_gtk == 1', {
267 '../build/linux/system.gyp:gtk',
272 '../build/linux/system.gyp:glib',
277 '../ui/aura/aura.gyp:aura_test_support',
278 '../ui/compositor/compositor.gyp:compositor',
283 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
286 ['OS!="android" and OS!="ios"', {
288 '../third_party/libvpx/libvpx.gyp:libvpx',
293 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
294 'test_support_content_jni_headers',
300 'target_name': 'content_unittests',
301 'type': '<(gtest_target_type)',
303 'content.gyp:content_browser',
304 'content.gyp:content_common',
305 'test_support_content',
306 'browser/speech/proto/speech_proto.gyp:speech_proto',
307 '../base/base.gyp:test_support_base',
308 '../crypto/crypto.gyp:crypto',
309 '../net/net.gyp:net_test_support',
310 '../skia/skia.gyp:skia',
311 '../sql/sql.gyp:sql',
312 '../sql/sql.gyp:test_support_sql',
313 '../testing/gmock.gyp:gmock',
314 '../testing/gtest.gyp:gtest',
315 '../ui/gfx/gfx.gyp:gfx',
317 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
321 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems_unittest.cc.
324 'browser/accessibility/browser_accessibility_mac_unittest.mm',
325 'browser/accessibility/browser_accessibility_manager_unittest.cc',
326 'browser/accessibility/browser_accessibility_win_unittest.cc',
327 'browser/appcache/chrome_appcache_service_unittest.cc',
328 'browser/aura/software_output_device_ozone_unittest.cc',
329 'browser/browser_thread_unittest.cc',
330 'browser/browser_url_handler_impl_unittest.cc',
331 'browser/byte_stream_unittest.cc',
332 'browser/child_process_security_policy_unittest.cc',
333 'browser/device_orientation/data_fetcher_impl_android_unittest.cc',
334 'browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc',
335 'browser/devtools/devtools_http_handler_unittest.cc',
336 'browser/devtools/devtools_manager_unittest.cc',
337 'browser/dom_storage/dom_storage_area_unittest.cc',
338 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
339 'browser/dom_storage/dom_storage_database_unittest.cc',
340 'browser/dom_storage/session_storage_database_unittest.cc',
341 'browser/download/base_file_unittest.cc',
342 'browser/download/download_file_unittest.cc',
343 'browser/download/download_item_impl_unittest.cc',
344 'browser/download/download_manager_impl_unittest.cc',
345 'browser/download/file_metadata_unittest_linux.cc',
346 'browser/download/rate_estimator_unittest.cc',
347 'browser/download/save_package_unittest.cc',
348 'browser/fileapi/blob_url_request_job_unittest.cc',
349 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
350 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
351 'browser/fileapi/dragged_file_util_unittest.cc',
352 'browser/fileapi/file_system_context_unittest.cc',
353 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
354 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
355 'browser/fileapi/file_system_operation_impl_unittest.cc',
356 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
357 'browser/fileapi/file_system_operation_runner_unittest.cc',
358 'browser/fileapi/file_system_quota_client_unittest.cc',
359 'browser/fileapi/file_system_url_request_job_unittest.cc',
360 'browser/fileapi/file_writer_delegate_unittest.cc',
361 'browser/fileapi/fileapi_message_filter_unittest.cc',
362 'browser/fileapi/local_file_util_unittest.cc',
363 'browser/fileapi/obfuscated_file_util_unittest.cc',
364 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
365 'browser/fileapi/recursive_operation_delegate_unittest.cc',
366 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
367 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
368 'browser/fileapi/transient_file_util_unittest.cc',
369 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
370 'browser/frame_host/frame_tree_unittest.cc',
371 'browser/frame_host/navigation_controller_impl_unittest.cc',
372 'browser/frame_host/navigation_entry_impl_unittest.cc',
373 'browser/frame_host/render_view_host_manager_unittest.cc',
374 'browser/gamepad/gamepad_provider_unittest.cc',
375 'browser/gamepad/gamepad_test_helpers.cc',
376 'browser/gamepad/gamepad_test_helpers.h',
377 'browser/geolocation/geolocation_provider_unittest.cc',
378 'browser/geolocation/location_arbitrator_impl_unittest.cc',
379 'browser/geolocation/network_location_provider_unittest.cc',
380 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
381 'browser/geolocation/wifi_data_provider_common_unittest.cc',
382 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
383 'browser/geolocation/wifi_data_provider_unittest_win.cc',
384 'browser/gpu/shader_disk_cache_unittest.cc',
385 'browser/host_zoom_map_impl_unittest.cc',
386 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
387 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
388 'browser/indexed_db/indexed_db_database_unittest.cc',
389 'browser/indexed_db/indexed_db_factory_unittest.cc',
390 'browser/indexed_db/indexed_db_fake_backing_store.cc',
391 'browser/indexed_db/indexed_db_fake_backing_store.h',
392 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
393 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
394 'browser/indexed_db/indexed_db_unittest.cc',
395 'browser/indexed_db/mock_indexed_db_callbacks.cc',
396 'browser/indexed_db/mock_indexed_db_callbacks.h',
397 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
398 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
399 'browser/indexed_db/leveldb/leveldb_unittest.cc',
400 'browser/indexed_db/list_set_unittest.cc',
401 'browser/loader/offline_policy_unittest.cc',
402 'browser/loader/resource_buffer_unittest.cc',
403 'browser/loader/resource_dispatcher_host_unittest.cc',
404 'browser/loader/resource_loader_unittest.cc',
405 'browser/loader/resource_scheduler_unittest.cc',
406 'browser/loader/upload_data_stream_builder_unittest.cc',
407 'browser/mach_broker_mac_unittest.cc',
408 'browser/media/media_internals_unittest.cc',
409 'browser/media/webrtc_identity_store_unittest.cc',
410 'browser/net/sqlite_persistent_cookie_store_unittest.cc',
411 'browser/notification_service_impl_unittest.cc',
412 'browser/plugin_loader_posix_unittest.cc',
413 'browser/power_monitor_message_broadcaster_unittest.cc',
414 'browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc',
415 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',
416 'browser/renderer_host/input/gesture_event_filter_unittest.cc',
417 'browser/renderer_host/input/immediate_input_router_unittest.cc',
418 'browser/renderer_host/input/input_router_unittest.h',
419 'browser/renderer_host/input/input_router_unittest.cc',
420 'browser/renderer_host/input/mock_input_ack_handler.cc',
421 'browser/renderer_host/input/mock_input_ack_handler.h',
422 'browser/renderer_host/input/mock_input_router_client.cc',
423 'browser/renderer_host/input/mock_input_router_client.h',
424 'browser/renderer_host/input/synthetic_gesture_controller_new_unittest.cc',
425 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
426 'browser/renderer_host/input/touch_event_queue_unittest.cc',
427 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
428 'browser/renderer_host/media/audio_mirroring_manager_unittest.cc',
429 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
430 'browser/renderer_host/media/device_request_message_filter_unittest.cc',
431 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
432 'browser/renderer_host/media/media_stream_manager_unittest.cc',
433 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
434 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
435 'browser/renderer_host/media/video_capture_controller_unittest.cc',
436 'browser/renderer_host/media/video_capture_host_unittest.cc',
437 'browser/renderer_host/media/video_capture_manager_unittest.cc',
438 'browser/renderer_host/media/video_capture_oracle_unittest.cc',
439 'browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc',
440 'browser/renderer_host/media/web_contents_video_capture_device_unittest.cc',
441 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
442 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
443 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
444 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
445 'browser/renderer_host/render_view_host_unittest.cc',
446 'browser/renderer_host/render_widget_host_unittest.cc',
447 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
448 'browser/renderer_host/render_widget_host_view_guest_unittest.cc',
449 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
450 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
451 'browser/renderer_host/software_frame_manager_unittest.cc',
452 'browser/renderer_host/synthetic_gesture_controller_unittest.cc',
453 'browser/renderer_host/text_input_client_mac_unittest.mm',
454 'browser/renderer_host/web_input_event_aura_unittest.cc',
455 'browser/renderer_host/input/web_input_event_builders_gtk_unittest.cc',
456 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
457 'browser/resolve_proxy_msg_helper_unittest.cc',
458 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
459 'browser/site_instance_impl_unittest.cc',
460 'browser/speech/chunked_byte_buffer_unittest.cc',
461 'browser/speech/endpointer/endpointer_unittest.cc',
462 'browser/speech/google_one_shot_remote_engine_unittest.cc',
463 'browser/speech/google_streaming_remote_engine_unittest.cc',
464 'browser/speech/speech_recognizer_impl_unittest.cc',
465 'browser/ssl/ssl_host_state_unittest.cc',
466 'browser/startup_task_runner_unittest.cc',
467 'browser/storage_partition_impl_map_unittest.cc',
468 'browser/storage_partition_impl_unittest.cc',
469 'browser/streams/stream_unittest.cc',
470 'browser/streams/stream_url_request_job_unittest.cc',
471 'browser/system_message_window_win_unittest.cc',
472 'browser/tracing/trace_subscriber_stdio_unittest.cc',
473 'browser/web_contents/aura/window_slider_unittest.cc',
474 'browser/web_contents/web_contents_delegate_unittest.cc',
475 'browser/web_contents/web_contents_impl_unittest.cc',
476 'browser/web_contents/web_contents_user_data_unittest.cc',
477 'browser/web_contents/web_contents_view_mac_unittest.mm',
478 'browser/web_contents/web_drag_dest_mac_unittest.mm',
479 'browser/web_contents/web_drag_source_mac_unittest.mm',
480 'browser/webui/web_ui_data_source_unittest.cc',
481 'browser/webui/web_ui_message_handler_unittest.cc',
482 'child/fileapi/webfilewriter_base_unittest.cc',
483 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
484 'child/indexed_db/proxy_webidbcursor_impl_unittest.cc',
485 'child/npapi/plugin_lib_unittest.cc',
486 'child/power_monitor_broadcast_source_unittest.cc',
487 'child/resource_dispatcher_unittest.cc',
488 'child/site_isolation_policy_unittest.cc',
489 'common/android/address_parser_unittest.cc',
490 'common/cc_messages_unittest.cc',
491 'common/common_param_traits_unittest.cc',
492 'common/dom_storage/dom_storage_map_unittest.cc',
493 'common/gpu/gpu_memory_manager_unittest.cc',
494 'common/indexed_db/indexed_db_key_unittest.cc',
495 'common/input/input_param_traits_unittest.cc',
496 'common/inter_process_time_ticks_converter_unittest.cc',
497 'common/mac/attributed_string_coder_unittest.mm',
498 'common/mac/font_descriptor_unittest.mm',
499 'common/page_state_serialization_unittest.cc',
500 'common/page_zoom_unittest.cc',
501 'common/plugin_list_unittest.cc',
502 'common/sandbox_mac_diraccess_unittest.mm',
503 'common/sandbox_mac_fontloading_unittest.mm',
504 'common/sandbox_mac_system_access_unittest.mm',
505 'common/sandbox_mac_unittest_helper.h',
506 'common/sandbox_mac_unittest_helper.mm',
507 'common/webplugininfo_unittest.cc',
508 'renderer/active_notification_tracker_unittest.cc',
509 'renderer/android/email_detector_unittest.cc',
510 'renderer/android/phone_number_detector_unittest.cc',
511 'renderer/bmp_image_decoder_unittest.cc',
512 'renderer/date_time_formatter_unittest.cc',
513 'renderer/device_orientation/device_motion_event_pump_unittest.cc',
514 'renderer/device_orientation/device_orientation_event_pump_unittest.cc',
515 'renderer/disambiguation_popup_helper_unittest.cc',
516 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
517 'renderer/gpu/input_event_filter_unittest.cc',
518 'renderer/gpu/input_handler_proxy_unittest.cc',
519 'renderer/ico_image_decoder_unittest.cc',
520 'renderer/media/android/media_info_loader_unittest.cc',
521 'renderer/media/audio_message_filter_unittest.cc',
522 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
523 'renderer/media/buffered_data_source_unittest.cc',
524 'renderer/media/buffered_resource_loader_unittest.cc',
525 'renderer/media/cache_util_unittest.cc',
526 'renderer/media/crypto/key_systems_unittest.cc',
527 'renderer/media/test_response_generator.cc',
528 'renderer/media/test_response_generator.h',
529 'renderer/media/video_capture_impl_unittest.cc',
530 'renderer/media/video_capture_message_filter_unittest.cc',
531 'renderer/media/video_destination_handler_unittest.cc',
532 'renderer/media/webaudiosourceprovider_impl_unittest.cc',
533 'renderer/npapi/webplugin_impl_unittest.cc',
534 'renderer/paint_aggregator_unittest.cc',
535 'renderer/pepper/host_var_tracker_unittest.cc',
536 'renderer/pepper/mock_resource.h',
537 'renderer/pepper/pepper_broker_unittest.cc',
538 'renderer/pepper/quota_file_io_unittest.cc',
539 'renderer/pepper/v8_var_converter_unittest.cc',
540 'renderer/render_thread_impl_unittest.cc',
541 'renderer/render_view_impl_unittest.cc',
542 'renderer/skia_benchmarking_extension_unittest.cc',
543 'renderer/v8_value_converter_impl_unittest.cc',
544 'renderer/webcrypto/webcrypto_impl_unittest.cc',
545 'test/image_decoder_test.cc',
546 'test/image_decoder_test.h',
547 'test/run_all_unittests.cc',
548 '../webkit/browser/appcache/appcache_database_unittest.cc',
549 '../webkit/browser/appcache/appcache_group_unittest.cc',
550 '../webkit/browser/appcache/appcache_host_unittest.cc',
551 '../webkit/browser/appcache/appcache_quota_client_unittest.cc',
552 '../webkit/browser/appcache/appcache_request_handler_unittest.cc',
553 '../webkit/browser/appcache/appcache_response_unittest.cc',
554 '../webkit/browser/appcache/appcache_service_unittest.cc',
555 '../webkit/browser/appcache/appcache_storage_impl_unittest.cc',
556 '../webkit/browser/appcache/appcache_storage_unittest.cc',
557 '../webkit/browser/appcache/appcache_unittest.cc',
558 '../webkit/browser/appcache/appcache_update_job_unittest.cc',
559 '../webkit/browser/appcache/appcache_url_request_job_unittest.cc',
560 '../webkit/browser/appcache/manifest_parser_unittest.cc',
561 '../webkit/browser/appcache/mock_appcache_policy.cc',
562 '../webkit/browser/appcache/mock_appcache_policy.h',
563 '../webkit/browser/appcache/mock_appcache_service.cc',
564 '../webkit/browser/appcache/mock_appcache_service.h',
565 '../webkit/browser/appcache/mock_appcache_storage.cc',
566 '../webkit/browser/appcache/mock_appcache_storage.h',
567 '../webkit/browser/appcache/mock_appcache_storage_unittest.cc',
568 '../webkit/browser/blob/blob_storage_context_unittest.cc',
569 '../webkit/browser/blob/local_file_stream_reader_unittest.cc',
570 '../webkit/browser/blob/mock_blob_url_request_context.cc',
571 '../webkit/browser/blob/mock_blob_url_request_context.h',
572 '../webkit/browser/database/database_quota_client_unittest.cc',
573 '../webkit/browser/database/database_tracker_unittest.cc',
574 '../webkit/browser/database/database_util_unittest.cc',
575 '../webkit/browser/database/databases_table_unittest.cc',
576 '../webkit/browser/fileapi/external_mount_points_unittest.cc',
577 '../webkit/browser/fileapi/file_system_url_unittest.cc',
578 '../webkit/browser/fileapi/file_system_usage_cache_unittest.cc',
579 '../webkit/browser/fileapi/isolated_context_unittest.cc',
580 '../webkit/browser/fileapi/local_file_stream_writer_unittest.cc',
581 '../webkit/browser/fileapi/mock_file_change_observer.cc',
582 '../webkit/browser/fileapi/mock_file_change_observer.h',
583 '../webkit/browser/fileapi/native_file_util_unittest.cc',
584 '../webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc',
585 '../webkit/browser/fileapi/sandbox_database_test_helper.cc',
586 '../webkit/browser/fileapi/sandbox_database_test_helper.h',
587 '../webkit/browser/fileapi/sandbox_directory_database_unittest.cc',
588 '../webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
589 '../webkit/browser/fileapi/sandbox_origin_database_unittest.cc',
590 '../webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
591 '../webkit/browser/fileapi/test_file_set.cc',
592 '../webkit/browser/fileapi/test_file_set.h',
593 '../webkit/browser/fileapi/timed_task_helper_unittest.cc',
594 '../webkit/child/multipart_response_delegate_unittest.cc',
595 '../webkit/child/touch_fling_gesture_curve_unittest.cc',
596 '../webkit/child/worker_task_runner_unittest.cc',
597 '../webkit/common/blob/shareable_file_reference_unittest.cc',
598 '../webkit/common/cursors/webcursor_unittest.cc',
599 '../webkit/common/database/database_connections_unittest.cc',
600 '../webkit/common/database/database_identifier_unittest.cc',
601 '../webkit/common/fileapi/file_system_util_unittest.cc',
602 '../webkit/glue/webkit_glue_unittest.cc',
603 '../webkit/common/user_agent/user_agent_unittest.cc',
604 '../webkit/browser/quota/mock_quota_manager.cc',
605 '../webkit/browser/quota/mock_quota_manager.h',
606 '../webkit/browser/quota/mock_quota_manager_unittest.cc',
607 '../webkit/browser/quota/mock_special_storage_policy.cc',
608 '../webkit/browser/quota/mock_special_storage_policy.h',
609 '../webkit/browser/quota/mock_storage_client.cc',
610 '../webkit/browser/quota/mock_storage_client.h',
611 '../webkit/browser/quota/quota_database_unittest.cc',
612 '../webkit/browser/quota/quota_manager_unittest.cc',
613 '../webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc',
614 '../webkit/browser/quota/usage_tracker_unittest.cc',
615 '../webkit/renderer/cpp_variant_unittest.cc',
620 # iOS only needs a small portion of content; exclude all the
621 # implementation, and re-include what is used.
622 ['exclude', '\\.(cc|mm)$'],
623 ['include', '_ios\\.(cc|mm)$'],
624 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
625 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
626 ['include', '^test/run_all_unittests\\.cc$'],
630 'content.gyp:content_browser',
631 'content.gyp:content_child',
632 'content.gyp:content_gpu',
633 'content.gyp:content_plugin',
634 'content.gyp:content_renderer',
635 'content_resources.gyp:content_resources',
636 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
637 '../gpu/gpu.gyp:gpu',
638 '../gpu/gpu.gyp:gpu_unittest_utils',
639 '../ipc/ipc.gyp:test_support_ipc',
640 '../jingle/jingle.gyp:jingle_glue_test_util',
641 '../media/media.gyp:media_test_support',
642 '../media/media.gyp:shared_memory_support',
643 '../third_party/WebKit/public/blink.gyp:blink',
644 '../third_party/icu/icu.gyp:icui18n',
645 '../third_party/icu/icu.gyp:icuuc',
646 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
647 '../third_party/libjingle/libjingle.gyp:libjingle',
648 '../ui/compositor/compositor.gyp:compositor_test_support',
649 '../ui/gl/gl.gyp:gl',
650 '../v8/tools/gyp/v8.gyp:v8',
651 '../webkit/common/webkit_common.gyp:webkit_common',
652 '../webkit/glue/webkit_glue.gyp:glue',
653 '../webkit/child/webkit_child.gyp:webkit_child',
654 '../webkit/renderer/webkit_renderer.gyp:webkit_renderer',
655 '../webkit/storage_browser.gyp:webkit_storage_browser',
656 '../webkit/storage_common.gyp:webkit_storage_common',
659 ['enable_plugins==0', {
661 ['exclude', '^browser/renderer_host/pepper/'],
662 ['exclude', '^child/npapi/'],
663 ['exclude', '^renderer/npapi/'],
664 ['exclude', '^renderer/pepper/'],
667 'browser/plugin_loader_posix_unittest.cc',
668 'renderer/media/video_destination_handler_unittest.cc',
671 ['enable_webrtc==1', {
673 'browser/media/webrtc_internals_unittest.cc',
674 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
675 'browser/renderer_host/p2p/socket_host_test_utils.h',
676 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
677 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
678 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
679 'renderer/media/media_stream_dependency_factory_unittest.cc',
680 'renderer/media/media_stream_dispatcher_unittest.cc',
681 'renderer/media/media_stream_impl_unittest.cc',
682 'renderer/media/rtc_peer_connection_handler_unittest.cc',
683 'renderer/media/rtc_video_decoder_unittest.cc',
684 'renderer/media/video_source_handler_unittest.cc',
685 'renderer/media/webrtc_audio_device_unittest.cc',
686 'renderer/media/webrtc_identity_service_unittest.cc',
687 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
688 'renderer/media/webrtc_local_audio_track_unittest.cc',
691 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
692 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
693 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
694 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine',
698 'renderer/media/video_destination_handler_unittest.cc',
701 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
703 'browser/renderer_host/media/desktop_capture_device_unittest.cc',
706 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
709 # TODO(jrg): remove the OS=="android" section?
710 # http://crbug.com/113172
711 # Understand better how media_stream_ is tied into Chromium.
712 ['enable_webrtc==0 and OS=="android"', {
714 ['exclude', '^renderer/media/media_stream_'],
717 ['input_speech==0', {
719 ['exclude', '^browser/speech/'],
722 ['notifications==0', {
724 'renderer/active_notification_tracker_unittest.cc',
729 '../build/linux/system.gyp:dbus',
730 '../dbus/dbus.gyp:dbus_test_support',
733 ['OS=="win" and win_use_allocator_shim==1', {
735 '../base/allocator/allocator.gyp:allocator',
740 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
744 # These flags are needed to run the test on Mac.
745 # Search for comments about "xcode_settings" in chrome_tests.gypi.
746 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
750 ['exclude', '^browser/renderer_host/gtk_key_bindings_handler_unittest.cc'],
751 ['exclude', '^browser/geolocation/wifi_data_provider_linux_unittest.cc'],
756 '../ui/aura/aura.gyp:aura',
759 'browser/accessibility/browser_accessibility_win_unittest.cc',
762 ['OS == "android"', {
764 'browser/renderer_host/java/jni_helper_unittest.cc',
767 'browser/geolocation/network_location_provider_unittest.cc',
768 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
769 'browser/geolocation/wifi_data_provider_common_unittest.cc',
770 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
771 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
774 ['OS != "android" and OS != "ios"', {
776 '../third_party/libvpx/libvpx.gyp:libvpx',
779 ['OS == "android" and gtest_target_type == "shared_library"', {
781 '../testing/android/native_test.gyp:native_test_native_code',
784 ['use_aura!=1 and OS!="win"', {
786 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
789 ['enable_webrtc==1 and google_tv==1', {
791 'renderer/media/rtc_video_decoder_factory_tv_unittest.cc',
798 ['test_isolation_mode != "noop"', {
801 'target_name': 'content_unittests_run',
807 '../build/isolate.gypi',
808 'content_unittests.isolate',
811 'content_unittests.isolate',
819 'target_name': 'content_perftests',
820 'type': '<(gtest_target_type)',
821 'defines!': ['CONTENT_IMPLEMENTATION'],
823 'content.gyp:content_common',
824 'test_support_content',
825 '../base/base.gyp:test_support_base',
827 '../skia/skia.gyp:skia',
828 '../testing/gtest.gyp:gtest',
829 '../testing/perf/perf_test.gyp:*',
830 '../ui/gfx/gfx.gyp:gfx',
836 'common/cc_messages_perftest.cc',
837 'test/run_all_perftests.cc',
841 'target_name': 'content_browsertests',
842 'type': '<(gtest_target_type)',
844 'content.gyp:content_common',
845 'content.gyp:content_gpu',
846 'content.gyp:content_plugin',
847 'content.gyp:content_renderer',
848 'content_resources.gyp:content_resources',
851 'test_support_content',
852 '../base/base.gyp:test_support_base',
853 '../gpu/gpu.gyp:gpu',
854 '../ipc/ipc.gyp:test_support_ipc',
855 '../media/media.gyp:media_test_support',
856 '../media/media.gyp:shared_memory_support',
857 '../net/net.gyp:net_test_support',
858 '../ppapi/ppapi_internal.gyp:ppapi_host',
859 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
860 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
861 '../ppapi/ppapi_internal.gyp:ppapi_shared',
862 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
863 '../skia/skia.gyp:skia',
864 '../testing/gmock.gyp:gmock',
865 '../testing/gtest.gyp:gtest',
866 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
867 '../third_party/mesa/mesa.gyp:osmesa',
868 '../ui/gfx/gfx.gyp:gfx',
869 '../ui/gl/gl.gyp:gl',
870 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
871 '../ui/snapshot/snapshot.gyp:snapshot',
873 '../ui/ui.gyp:ui_resources',
874 '../webkit/child/webkit_child.gyp:webkit_child',
875 '../webkit/glue/webkit_glue.gyp:glue',
876 '../webkit/renderer/webkit_renderer.gyp:webkit_renderer',
880 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
883 'browser/gpu/test_support_gpu.gypi',
886 'HAS_OUT_OF_PROC_TEST_RUNNER',
889 'browser/accessibility/accessibility_win_browsertest.cc',
890 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
891 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
892 'browser/aura/image_transport_factory_browsertest.cc',
893 'browser/bookmarklet_browsertest.cc',
894 'browser/browser_plugin/browser_plugin_host_browsertest.cc',
895 'browser/browser_plugin/test_browser_plugin_embedder.cc',
896 'browser/browser_plugin/test_browser_plugin_embedder.h',
897 'browser/browser_plugin/test_browser_plugin_guest.cc',
898 'browser/browser_plugin/test_browser_plugin_guest.h',
899 'browser/browser_plugin/test_browser_plugin_guest_delegate.cc',
900 'browser/browser_plugin/test_browser_plugin_guest_delegate.h',
901 'browser/browser_plugin/test_browser_plugin_guest_manager.cc',
902 'browser/browser_plugin/test_browser_plugin_guest_manager.h',
903 'browser/child_process_security_policy_browsertest.cc',
904 'browser/database_browsertest.cc',
905 'browser/device_orientation/device_inertial_sensor_browsertest.cc',
906 'browser/devtools/renderer_overrides_handler_browsertest.cc',
907 'browser/dom_storage/dom_storage_browsertest.cc',
908 'browser/download/download_browsertest.cc',
909 'browser/download/drag_download_file_browsertest.cc',
910 'browser/download/mhtml_generation_browsertest.cc',
911 'browser/download/save_package_browsertest.cc',
912 'browser/fileapi/file_system_browsertest.cc',
913 'browser/gpu/compositor_util_browsertest.cc',
914 'browser/gpu/gpu_ipc_browsertests.cc',
915 'browser/indexed_db/indexed_db_browsertest.cc',
916 'browser/loader/resource_dispatcher_host_browsertest.cc',
917 'browser/media/encrypted_media_browsertest.cc',
918 'browser/media/media_browsertest.cc',
919 'browser/media/media_browsertest.h',
920 'browser/media/media_source_browsertest.cc',
921 'browser/media/webrtc_internals_browsertest.cc',
922 'browser/plugin_data_remover_impl_browsertest.cc',
923 'browser/plugin_browsertest.cc',
924 'browser/plugin_service_impl_browsertest.cc',
925 'browser/renderer_host/render_process_host_browsertest.cc',
926 'browser/renderer_host/render_view_host_browsertest.cc',
927 'browser/renderer_host/render_view_host_manager_browsertest.cc',
928 'browser/renderer_host/render_widget_host_browsertest.cc',
929 'browser/renderer_host/render_widget_host_view_browsertest.cc',
930 'browser/security_exploit_browsertest.cc',
931 'browser/session_history_browsertest.cc',
932 'browser/site_per_process_browsertest.cc',
933 'browser/speech/input_tag_speech_browsertest.cc',
934 'browser/speech/speech_recognition_browsertest.cc',
935 'browser/tracing/tracing_controller_browsertest.cc',
936 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
937 'browser/web_contents/web_contents_impl_browsertest.cc',
938 'browser/web_contents/web_contents_view_aura_browsertest.cc',
939 'browser/webkit_browsertest.cc',
940 'browser/worker_host/test/worker_browsertest.cc',
941 'child/site_isolation_policy_browsertest.cc',
942 'common/gpu/client/context_provider_command_buffer_browsertest.cc',
943 'renderer/accessibility/renderer_accessibility_browsertest.cc',
944 'renderer/browser_plugin/browser_plugin_browsertest.cc',
945 'renderer/browser_plugin/browser_plugin_browsertest.h',
946 'renderer/browser_plugin/mock_browser_plugin.cc',
947 'renderer/browser_plugin/mock_browser_plugin.h',
948 'renderer/browser_plugin/mock_browser_plugin_manager.cc',
949 'renderer/browser_plugin/mock_browser_plugin_manager.h',
950 'renderer/cpp_bound_class_unittest.cc',
951 'renderer/dom_serializer_browsertest.cc',
952 'renderer/mouse_lock_dispatcher_browsertest.cc',
953 'renderer/pepper/mock_renderer_ppapi_host.cc',
954 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
955 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
956 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
957 'renderer/pepper/pepper_url_request_unittest.cc',
958 'renderer/render_thread_impl_browsertest.cc',
959 'renderer/render_view_browsertest.cc',
960 'renderer/render_view_browsertest_mac.mm',
961 'renderer/render_widget_browsertest.cc',
962 'renderer/resource_fetcher_browsertest.cc',
963 'renderer/savable_resources_browsertest.cc',
964 'test/accessibility_browser_test_utils.cc',
965 'test/accessibility_browser_test_utils.h',
966 'test/content_browser_test.h',
967 'test/content_browser_test.cc',
968 'test/content_browser_test_utils.cc',
969 'test/content_browser_test_utils.h',
970 'test/content_browser_test_utils_mac.mm',
971 'test/content_browser_test_test.cc',
972 'test/content_test_launcher.cc',
973 'test/cpp_binding_example.cc',
974 'test/cpp_binding_example.h',
975 'test/webui_resource_browsertest.cc',
980 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
984 'resource_include_dirs': [
985 '<(SHARED_INTERMEDIATE_DIR)/webkit',
988 'shell/app/resource.h',
989 'shell/app/shell.rc',
990 # TODO: It would be nice to have these pulled in
991 # automatically from direct_dependent_settings in
992 # their various targets (net.gyp:net_resources, etc.),
993 # but that causes errors in other targets when
994 # resulting .res files get referenced multiple times.
995 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
996 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc',
997 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
1000 '<(DEPTH)/net/net.gyp:net_resources',
1001 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1002 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1003 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
1004 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
1010 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1015 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1016 'msvs_disabled_warnings': [ 4267, ],
1019 'browser/accessibility/accessibility_win_browsertest.cc',
1022 ['OS=="win" and win_use_allocator_shim==1', {
1024 '../base/allocator/allocator.gyp:allocator',
1029 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1034 'shell/android/browsertests_apk/content_browser_tests_android.cc',
1037 'content_shell_jni_headers',
1038 'content_shell_lib',
1039 '../testing/android/native_test.gyp:native_test_util',
1044 'content_shell', # Needed for Content Shell.app's Helper.
1047 'renderer/external_popup_menu_browsertest.cc',
1052 'browser/accessibility/accessibility_win_browsertest.cc',
1053 'browser/plugin_browsertest.cc',
1057 ['exclude', '^browser/aura/'],
1060 ['use_aura==1 and OS!="win"', {
1062 'browser/plugin_browsertest.cc',
1065 ['OS!="android" and OS!="ios"', {
1066 # npapi test plugin doesn't build on android or ios
1068 # Runtime dependencies
1069 'copy_npapi_test_plugin',
1072 ['enable_webrtc==1', {
1074 'browser/media/webrtc_browsertest.cc',
1077 ['enable_plugins==0', {
1079 ['exclude', '^renderer/pepper/'],
1082 'browser/plugin_service_impl_browsertest.cc',
1083 'browser/plugin_data_remover_impl_browsertest.cc',
1086 ['input_speech==0', {
1088 ['exclude', '^browser/speech/'],
1091 ['branding=="Chrome"', {
1093 # These tests depend on single process mode, which is disabled
1094 # in official builds.
1095 'renderer/dom_serializer_browsertest.cc',
1096 'renderer/resource_fetcher_browsertest.cc',
1097 'renderer/savable_resources_browsertest.cc',
1103 'target_name': 'content_gl_tests',
1104 'type': '<(gtest_target_type)',
1106 'content.gyp:content_common',
1107 'test_support_content',
1108 '../base/base.gyp:test_support_base',
1109 '../gpu/gpu.gyp:command_buffer_common',
1110 '../testing/gtest.gyp:gtest',
1111 '../ui/gfx/gfx.gyp:gfx',
1112 '../ui/gl/gl.gyp:gl',
1114 '../third_party/WebKit/public/blink.gyp:blink',
1115 # The following two dependencies provide the missing
1116 # symbol HeapProfilerStart in Linux component builds.
1117 '../webkit/child/webkit_child.gyp:webkit_child',
1118 '../webkit/glue/webkit_glue.gyp:glue',
1124 'common/gpu/client/gl_helper_unittests.cc',
1125 'common/gpu/client/gpu_in_process_context_tests.cc',
1130 '../testing/android/native_test.gyp:native_test_native_code',
1136 'target_name': 'content_gl_benchmark',
1137 'type': '<(gtest_target_type)',
1139 'content.gyp:content_common',
1140 'test_support_content',
1141 '../base/base.gyp:test_support_base',
1142 '../testing/gtest.gyp:gtest',
1143 '../ui/gfx/gfx.gyp:gfx',
1144 '../ui/gl/gl.gyp:gl',
1146 '../third_party/WebKit/public/blink.gyp:blink',
1147 # The following two dependencies provide the missing
1148 # symbol HeapProfilerStart in Linux component builds.
1149 '../webkit/glue/webkit_glue.gyp:glue',
1150 '../webkit/child/webkit_child.gyp:webkit_child',
1156 'common/gpu/client/gl_helper_benchmark.cc',
1160 'target_name': 'content_webkit_unit_test_support',
1161 'type': 'static_library',
1163 'test_support_content',
1169 'test/webkit_unit_test_support.cc',
1170 'test/webkit_unit_test_support.h',
1175 ['chromeos==1 or OS=="win" or OS=="android"', {
1178 'target_name': 'video_decode_accelerator_unittest',
1179 'type': '<(gtest_target_type)',
1181 'content.gyp:content',
1182 '../base/base.gyp:base',
1183 '../testing/gtest.gyp:gtest',
1184 '../media/media.gyp:media',
1185 '../ui/gl/gl.gyp:gl',
1186 '../ui/gfx/gfx.gyp:gfx',
1190 '<(DEPTH)/third_party/khronos',
1193 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1194 'common/gpu/media/rendering_helper.h',
1195 'common/gpu/media/rendering_helper.cc',
1196 'common/gpu/media/video_accelerator_unittest_helpers.h',
1197 'common/gpu/media/video_decode_accelerator_unittest.cc',
1202 ['exclude', '^common/gpu/media/rendering_helper.h'],
1203 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1204 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1207 '../media/media.gyp:player_android',
1208 '../testing/gmock.gyp:gmock',
1209 '../testing/android/native_test.gyp:native_test_native_code',
1210 '../gpu/gpu.gyp:gpu_unittest_utils',
1212 }, { # OS!="android"
1214 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1219 '../third_party/angle_dx11/src/build_angle.gyp:libEGL',
1220 '../third_party/angle_dx11/src/build_angle.gyp:libGLESv2',
1223 ['(OS=="win" and win_use_allocator_shim==1) or '
1224 '(os_posix == 1 and OS != "android" and '
1225 ' linux_use_tcmalloc==1)', {
1227 '../base/allocator/allocator.gyp:allocator',
1230 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1232 '<(DEPTH)/third_party/libva',
1236 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1237 'msvs_disabled_warnings': [ 4267, ],
1241 ['chromeos==1 and target_arch == "arm"', {
1244 'target_name': 'video_encode_accelerator_unittest',
1245 'type': 'executable',
1247 'content.gyp:content',
1248 '../base/base.gyp:base',
1249 '../testing/gtest.gyp:gtest',
1250 '../media/media.gyp:media',
1251 '../ui/gl/gl.gyp:gl',
1252 '../ui/gfx/gfx.gyp:gfx',
1256 'common/gpu/media/video_accelerator_unittest_helpers.h',
1257 'common/gpu/media/video_encode_accelerator_unittest.cc',
1262 ['chromeos == 1 or OS == "linux"', {
1265 'target_name': 'h264_parser_unittest',
1266 'type': 'executable',
1268 'content.gyp:content_common',
1269 '../base/base.gyp:base',
1270 '../testing/gtest.gyp:gtest',
1273 'common/gpu/media/h264_bit_reader_unittest.cc',
1274 'common/gpu/media/h264_parser_unittest.cc',
1277 ['linux_use_tcmalloc==1', {
1279 '../base/allocator/allocator.gyp:allocator',
1286 # Special target to wrap a gtest_target_type==shared_library
1287 # content_unittests into an android apk for execution.
1288 # See base.gyp for TODO(jrg)s about this strategy.
1289 ['OS == "android" and gtest_target_type == "shared_library"', {
1292 'target_name': 'content_gl_tests_apk',
1296 'content_java_test_support',
1299 'test_suite_name': 'content_gl_tests',
1300 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_gl_tests<(SHARED_LIB_SUFFIX)',
1303 '../build/apk_test.gypi',
1307 'target_name': 'content_unittests_apk',
1310 'content.gyp:content_java',
1311 'content_unittests',
1314 'test_suite_name': 'content_unittests',
1315 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1317 'includes': [ '../build/apk_test.gypi' ],
1320 'target_name': 'content_browsertests_apk',
1323 'content.gyp:content_java',
1324 'content_browsertests',
1325 'content_java_test_support',
1326 'content_shell_java',
1329 'apk_name': 'content_browsertests',
1330 'java_in_dir': 'shell/android/browsertests_apk',
1331 'resource_dir': 'shell/android/browsertests_apk/res',
1332 'native_lib_target': 'libcontent_browsertests',
1333 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1334 'asset_location': '<(ant_build_out)/content_shell/assets',
1336 'includes': [ '../build/java_apk.gypi' ],
1339 'target_name': 'content_linker_test_apk',
1342 'content_android_linker_test',
1343 'content.gyp:content_java',
1344 'content_shell_java',
1347 'apk_name': 'ContentLinkerTest',
1348 'java_in_dir': 'shell/android/linker_test_apk',
1349 'resource_dir': 'shell/android/linker_test_apk/res',
1350 'native_lib_target': 'libcontent_android_linker_test',
1351 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1352 'asset_location': '<(ant_build_out)/content_shell/assets',
1353 'use_content_linker': '1',
1354 'enable_content_linker_tests': '1',
1356 'includes': [ '../build/java_apk.gypi' ],
1359 'target_name': 'content_android_linker_test',
1360 'type': 'shared_library',
1361 'defines!': ['CONTENT_IMPLEMENTATION'],
1363 'content_android_linker_test_jni_headers',
1364 'content_shell_lib',
1365 # Required to include "content/public/browser/android/compositor.h"
1366 # in content_linker_test_android.cc :-(
1367 '../skia/skia.gyp:skia',
1370 'shell/android/linker_test_apk/content_linker_test_android.cc',
1371 'shell/android/linker_test_apk/content_linker_test_linker_tests.cc',
1375 'target_name': 'content_android_linker_test_jni_headers',
1378 'shell/android/linker_test_apk/src/org/chromium/content_linker_test_apk/LinkerTests.java',
1380 'direct_dependent_settings': {
1382 '<(SHARED_INTERMEDIATE_DIR)/content/shell',
1386 'jni_gen_package': 'content/shell',
1388 'includes': [ '../build/jni_generator.gypi' ],
1391 'target_name': 'video_decode_accelerator_unittest_apk',
1394 'video_decode_accelerator_unittest',
1397 'test_suite_name': 'video_decode_accelerator_unittest',
1398 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_unittests<(SHARED_LIB_SUFFIX)',
1400 'includes': [ '../build/apk_test.gypi' ],
1404 ['OS == "android"', {
1407 'target_name': 'test_support_content_jni_headers',
1410 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1412 'direct_dependent_settings': {
1414 '<(SHARED_INTERMEDIATE_DIR)/content/public/test',
1418 'jni_gen_package': 'content/public/test',
1420 'includes': [ '../build/jni_generator.gypi' ],
1423 'target_name': 'content_java_test_support',
1426 '../base/base.gyp:base',
1427 '../base/base.gyp:base_java_test_support',
1428 'content.gyp:content_common',
1429 'content.gyp:content_java',
1432 'java_in_dir': '../content/public/test/android/javatests',
1434 'includes': [ '../build/java.gypi' ],
1437 'target_name': 'content_shell_test_apk',
1440 'content_java_test_support',
1441 'content_shell_apk_java',
1442 'content.gyp:content_java',
1443 '../base/base.gyp:base_java',
1444 '../base/base.gyp:base_javatests',
1445 '../base/base.gyp:base_java_test_support',
1446 '../media/media.gyp:media_java',
1447 '../media/media.gyp:media_test_support',
1448 '../net/net.gyp:net_java',
1449 '../net/net.gyp:net_javatests',
1452 'apk_name': 'ContentShellTest',
1453 'java_in_dir': 'shell/android/javatests',
1454 'resource_dir': 'shell/android/shell_apk/res',
1455 'additional_src_dirs': ['public/android/javatests/',],
1458 'includes': [ '../build/java_apk.gypi' ],
1462 ['OS!="android" and OS!="ios"', {
1463 # npapi test plugin doesn't build on android or ios
1466 'target_name': 'npapi_test_plugin',
1467 'type': 'loadable_module',
1473 '<(DEPTH)/base/base.gyp:base',
1474 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
1475 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
1478 'test/plugin/npapi_constants.cc',
1479 'test/plugin/npapi_constants.h',
1480 'test/plugin/npapi_test.cc',
1481 'test/plugin/npapi_test.def',
1482 'test/plugin/npapi_test.rc',
1483 'test/plugin/plugin_arguments_test.cc',
1484 'test/plugin/plugin_arguments_test.h',
1485 'test/plugin/plugin_client.cc',
1486 'test/plugin/plugin_client.h',
1487 'test/plugin/plugin_create_instance_in_paint.cc',
1488 'test/plugin/plugin_create_instance_in_paint.h',
1489 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
1490 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
1491 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
1492 'test/plugin/plugin_delete_plugin_in_stream_test.h',
1493 'test/plugin/plugin_execute_stream_javascript.cc',
1494 'test/plugin/plugin_execute_stream_javascript.h',
1495 'test/plugin/plugin_get_javascript_url_test.cc',
1496 'test/plugin/plugin_get_javascript_url_test.h',
1497 'test/plugin/plugin_get_javascript_url2_test.cc',
1498 'test/plugin/plugin_get_javascript_url2_test.h',
1499 'test/plugin/plugin_geturl_test.cc',
1500 'test/plugin/plugin_geturl_test.h',
1501 'test/plugin/plugin_javascript_open_popup.cc',
1502 'test/plugin/plugin_javascript_open_popup.h',
1503 'test/plugin/plugin_new_fails_test.cc',
1504 'test/plugin/plugin_new_fails_test.h',
1505 'test/plugin/plugin_npobject_identity_test.cc',
1506 'test/plugin/plugin_npobject_identity_test.h',
1507 'test/plugin/plugin_npobject_lifetime_test.cc',
1508 'test/plugin/plugin_npobject_lifetime_test.h',
1509 'test/plugin/plugin_npobject_proxy_test.cc',
1510 'test/plugin/plugin_npobject_proxy_test.h',
1511 'test/plugin/plugin_request_read_test.h',
1512 'test/plugin/plugin_request_read_test.cc',
1513 'test/plugin/plugin_schedule_timer_test.cc',
1514 'test/plugin/plugin_schedule_timer_test.h',
1515 'test/plugin/plugin_setup_test.cc',
1516 'test/plugin/plugin_setup_test.h',
1517 'test/plugin/plugin_test.cc',
1518 'test/plugin/plugin_test.h',
1519 'test/plugin/plugin_test_factory.h',
1520 'test/plugin/plugin_thread_async_call_test.cc',
1521 'test/plugin/plugin_thread_async_call_test.h',
1522 'test/plugin/plugin_windowed_test.cc',
1523 'test/plugin/plugin_windowed_test.h',
1524 'test/plugin/plugin_private_test.cc',
1525 'test/plugin/plugin_private_test.h',
1526 'test/plugin/plugin_test_factory.cc',
1527 'test/plugin/plugin_window_size_test.cc',
1528 'test/plugin/plugin_window_size_test.h',
1529 'test/plugin/plugin_windowless_test.cc',
1530 'test/plugin/plugin_windowless_test.h',
1531 'test/plugin/resource.h',
1537 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
1542 # TODO(port): Port these.
1543 # plugin_npobject_lifetime_test.cc has win32-isms
1545 'test/plugin/plugin_npobject_lifetime_test.cc',
1546 # The window APIs are necessarily platform-specific.
1547 'test/plugin/plugin_window_size_test.cc',
1548 'test/plugin/plugin_windowed_test.cc',
1549 # Seems windows specific.
1550 'test/plugin/plugin_create_instance_in_paint.cc',
1551 'test/plugin/plugin_create_instance_in_paint.h',
1552 # windows-specific resources
1553 'test/plugin/npapi_test.def',
1554 'test/plugin/npapi_test.rc',
1558 'product_extension': 'plugin',
1561 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1565 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
1566 # Shared libraries need -fPIC on x86-64
1572 'target_name': 'copy_npapi_test_plugin',
1575 'npapi_test_plugin',
1581 'destination': '<(PRODUCT_DIR)/plugins',
1582 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
1589 'destination': '<(PRODUCT_DIR)/plugins/',
1590 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
1594 ['os_posix == 1 and OS != "mac"', {
1597 'destination': '<(PRODUCT_DIR)/plugins',
1598 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],