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.
7 'layouttest_support_content_sources': [
8 'public/test/layouttest_support.h',
9 'public/test/nested_message_pump_android.cc',
10 'public/test/nested_message_pump_android.h',
11 'test/layouttest_support.cc',
12 'test/test_media_stream_renderer_factory.cc',
13 'test/test_media_stream_renderer_factory.h',
14 'test/test_video_frame_provider.cc',
15 'test/test_video_frame_provider.h',
17 'test_support_content_sources': [
18 'public/test/async_file_test_helper.cc',
19 'public/test/async_file_test_helper.h',
20 'public/test/browser_test_base.cc',
21 'public/test/browser_test_base.h',
22 'public/test/browser_test.h',
23 'public/test/browser_test_utils.cc',
24 'public/test/browser_test_utils.h',
25 'public/test/content_test_suite_base.cc',
26 'public/test/content_test_suite_base.h',
27 'public/test/download_test_observer.cc',
28 'public/test/download_test_observer.h',
29 'public/test/fake_speech_recognition_manager.cc',
30 'public/test/fake_speech_recognition_manager.h',
31 'public/test/frame_load_waiter.cc',
32 'public/test/frame_load_waiter.h',
33 'public/test/javascript_test_observer.cc',
34 'public/test/javascript_test_observer.h',
35 'public/test/mock_blob_url_request_context.cc',
36 'public/test/mock_blob_url_request_context.h',
37 'public/test/mock_download_item.cc',
38 'public/test/mock_download_item.h',
39 'public/test/mock_download_manager.cc',
40 'public/test/mock_download_manager.h',
41 'public/test/mock_notification_observer.cc',
42 'public/test/mock_notification_observer.h',
43 'public/test/mock_render_process_host.cc',
44 'public/test/mock_render_process_host.h',
45 'public/test/mock_render_thread.cc',
46 'public/test/mock_render_thread.h',
47 'public/test/mock_resource_context.cc',
48 'public/test/mock_resource_context.h',
49 'public/test/mock_special_storage_policy.cc',
50 'public/test/mock_special_storage_policy.h',
51 'public/test/mock_storage_client.cc',
52 'public/test/mock_storage_client.h',
53 'public/test/render_view_test.cc',
54 'public/test/render_view_test.h',
55 'public/test/render_widget_test.cc',
56 'public/test/render_widget_test.h',
57 'public/test/sandbox_file_system_test_helper.cc',
58 'public/test/sandbox_file_system_test_helper.h',
59 'public/test/test_browser_context.cc',
60 'public/test/test_browser_context.h',
61 'public/test/test_browser_thread.cc',
62 'public/test/test_browser_thread.h',
63 'public/test/test_browser_thread_bundle.cc',
64 'public/test/test_browser_thread_bundle.h',
65 'public/test/test_content_client_initializer.cc',
66 'public/test/test_content_client_initializer.h',
67 'public/test/test_file_error_injector.cc',
68 'public/test/test_file_error_injector.h',
69 'public/test/test_file_system_backend.cc',
70 'public/test/test_file_system_backend.h',
71 'public/test/test_file_system_context.cc',
72 'public/test/test_file_system_context.h',
73 'public/test/test_file_system_options.cc',
74 'public/test/test_file_system_options.h',
75 'public/test/test_launcher.cc',
76 'public/test/test_launcher.h',
77 'public/test/test_navigation_observer.cc',
78 'public/test/test_navigation_observer.h',
79 'public/test/test_notification_tracker.cc',
80 'public/test/test_notification_tracker.h',
81 'public/test/test_renderer_host.cc',
82 'public/test/test_renderer_host.h',
83 'public/test/test_synchronous_compositor_android.cc',
84 'public/test/test_synchronous_compositor_android.h',
85 'public/test/test_utils.cc',
86 'public/test/test_utils.h',
87 'public/test/unittest_test_suite.cc',
88 'public/test/unittest_test_suite.h',
89 'public/test/web_contents_tester.cc',
90 'public/test/web_contents_tester.h',
91 # TODO(phajdan.jr): All of those files should live in content/test (if
92 # they're only used by content) or content/public/test (if they're used
93 # by other embedders).
94 'browser/download/mock_download_file.cc',
95 'browser/download/mock_download_file.h',
96 'browser/geolocation/fake_access_token_store.cc',
97 'browser/geolocation/fake_access_token_store.h',
98 'browser/geolocation/mock_location_arbitrator.cc',
99 'browser/geolocation/mock_location_arbitrator.h',
100 'browser/geolocation/mock_location_provider.cc',
101 'browser/geolocation/mock_location_provider.h',
102 'browser/renderer_host/media/mock_media_observer.cc',
103 'browser/renderer_host/media/mock_media_observer.h',
104 'test/appcache_test_helper.cc',
105 'test/appcache_test_helper.h',
106 'test/blink_test_environment.cc',
107 'test/blink_test_environment.h',
108 'test/browser_side_navigation_test_utils.cc',
109 'test/browser_side_navigation_test_utils.h',
110 'test/content_browser_test_utils_internal.cc',
111 'test/content_browser_test_utils_internal.h',
112 'test/content_test_suite.cc',
113 'test/content_test_suite.h',
114 'test/fake_plugin_service.cc',
115 'test/fake_plugin_service.h',
116 'test/mock_google_streaming_server.cc',
117 'test/mock_google_streaming_server.h',
118 'test/mock_keyboard.cc',
119 'test/mock_keyboard.h',
120 'test/mock_keyboard_driver_win.cc',
121 'test/mock_keyboard_driver_win.h',
122 'test/mock_render_process.cc',
123 'test/mock_render_process.h',
124 'test/mock_webblob_registry_impl.cc',
125 'test/mock_webblob_registry_impl.h',
126 'test/mock_webclipboard_impl.cc',
127 'test/mock_webclipboard_impl.h',
128 'test/mock_webframeclient.h',
129 'test/mock_weburlloader.cc',
130 'test/mock_weburlloader.h',
131 'test/net/url_request_abort_on_end_job.cc',
132 'test/net/url_request_abort_on_end_job.h',
133 'test/net/url_request_slow_download_job.cc',
134 'test/net/url_request_slow_download_job.h',
135 'test/ppapi_unittest.cc',
136 'test/ppapi_unittest.h',
137 'test/test_blink_web_unit_test_support.cc',
138 'test/test_blink_web_unit_test_support.h',
139 'test/test_content_browser_client.cc',
140 'test/test_content_browser_client.h',
141 'test/test_content_client.cc',
142 'test/test_content_client.h',
143 'test/test_frame_navigation_observer.cc',
144 'test/test_frame_navigation_observer.h',
145 'test/test_navigation_url_loader.cc',
146 'test/test_navigation_url_loader.h',
147 'test/test_navigation_url_loader_factory.cc',
148 'test/test_navigation_url_loader_factory.h',
149 'test/test_render_frame_host.cc',
150 'test/test_render_frame_host.h',
151 'test/test_render_frame_host_factory.cc',
152 'test/test_render_frame_host_factory.h',
153 'test/test_render_view_host.cc',
154 'test/test_render_view_host.h',
155 'test/test_render_view_host_factory.cc',
156 'test/test_render_view_host_factory.h',
157 'test/test_web_contents.cc',
158 'test/test_web_contents.h',
159 'test/web_gesture_curve_mock.cc',
160 'test/web_gesture_curve_mock.h',
161 'test/web_layer_tree_view_impl_for_testing.cc',
162 'test/web_layer_tree_view_impl_for_testing.h',
163 'test/weburl_loader_mock.cc',
164 'test/weburl_loader_mock.h',
165 'test/weburl_loader_mock_factory.cc',
166 'test/weburl_loader_mock_factory.h',
171 # GN version: //content/test:layouttest_support
172 'target_name': 'layouttest_support_content',
173 'type': 'static_library',
177 'test_support_content_jni_headers',
181 # layouttest_support_content is not supported nor required on iOS.
183 'content.gyp:content_renderer',
184 'test_support_content',
185 '../skia/skia.gyp:skia',
186 '../ui/accessibility/accessibility.gyp:ax_gen',
187 '../v8/tools/gyp/v8.gyp:v8',
191 '<(SHARED_INTERMEDIATE_DIR)',
193 'sources': [ '<@(layouttest_support_content_sources)' ]
198 # GN version: //content/test:test_support
199 'target_name': 'test_support_content',
200 'type': 'static_library',
202 '../net/net.gyp:net_test_support',
203 '../skia/skia.gyp:skia',
204 '../storage/storage_common.gyp:storage_common',
205 '../testing/gmock.gyp:gmock',
206 '../testing/gtest.gyp:gtest',
207 '../ui/accessibility/accessibility.gyp:ax_gen',
208 '../ui/base/ui_base.gyp:ui_base',
209 '../ui/base/ui_base.gyp:ui_base_test_support',
210 '../ui/events/events.gyp:dom4_keycode_converter',
211 '../ui/events/events.gyp:events_base',
212 '../ui/events/events.gyp:events_test_support',
213 '../ui/events/events.gyp:gesture_detection',
214 '../ui/gfx/gfx.gyp:gfx_test_support',
215 '../ui/resources/ui_resources.gyp:ui_resources',
216 '../url/url.gyp:url_lib',
217 'browser/speech/proto/speech_proto.gyp:speech_proto',
218 'content.gyp:content_app_both',
219 'content.gyp:content_browser',
220 'content.gyp:content_common',
222 'export_dependent_settings': [
223 'content.gyp:content_browser',
228 'sources': [ '<@(test_support_content_sources)' ],
230 ['enable_plugins==0', {
232 'test/ppapi_unittest.cc',
235 ['enable_web_speech==0', {
237 'test/mock_google_streaming_server.cc',
242 # iOS only needs a small portion of content; exclude all the
243 # implementation, and re-include what is used.
244 ['exclude', '\\.(cc|mm)$'],
245 ['include', '_ios\\.(cc|mm)$'],
246 ['include', '^public/test/content_test_suite_base\\.cc$'],
247 ['include', '^public/test/mock_notification_observer\\.cc$'],
248 ['include', '^public/test/mock_resource_context\\.cc$'],
249 ['include', '^public/test/test_browser_thread\\.cc$'],
250 ['include', '^public/test/test_content_client_initializer\\.cc$'],
251 ['include', '^public/test/test_notification_tracker\\.cc$'],
252 ['include', '^public/test/test_utils\\.cc$'],
253 ['include', '^public/test/unittest_test_suite\\.cc$'],
254 ['include', '^test/content_test_suite\\.cc$'],
255 ['include', '^test/test_content_browser_client\\.cc$'],
256 ['include', '^test/test_content_client\\.cc$'],
262 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
264 'shell/resources/missingImage.png',
265 'shell/resources/textAreaResizeCorner.png',
271 'content.gyp:content_child',
272 'content.gyp:content_common',
273 'content.gyp:content_gpu',
274 'content.gyp:content_plugin',
275 'content.gyp:content_ppapi_plugin',
276 'content.gyp:content_renderer',
277 'content.gyp:content_utility',
278 'content_shell_and_tests.gyp:content_shell_pak',
279 '../cc/blink/cc_blink.gyp:cc_blink',
281 '../cc/cc_tests.gyp:cc_test_support',
282 '../media/blink/media_blink.gyp:media_blink',
283 '../media/media.gyp:media',
284 '../ppapi/ppapi_internal.gyp:ppapi_host',
285 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
286 '../ppapi/ppapi_internal.gyp:ppapi_shared',
287 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
288 '../storage/storage_browser.gyp:storage',
289 '../storage/storage_common.gyp:storage_common',
290 '../third_party/WebKit/public/blink.gyp:blink',
291 '../ui/compositor/compositor.gyp:compositor_test_support',
292 '../ui/surface/surface.gyp:surface',
293 '../v8/tools/gyp/v8.gyp:v8',
294 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
296 'export_dependent_settings': [
297 '../third_party/WebKit/public/blink.gyp:blink',
302 '../sandbox/sandbox.gyp:sandbox',
303 'content.gyp:content_startup_helper_win',
306 ['enable_webrtc==1', {
308 'renderer/media/mock_media_stream_dispatcher.cc',
309 'renderer/media/mock_media_stream_dispatcher.h',
310 'renderer/media/mock_peer_connection_impl.cc',
311 'renderer/media/mock_peer_connection_impl.h',
312 'renderer/media/mock_web_rtc_peer_connection_handler_client.cc',
313 'renderer/media/mock_web_rtc_peer_connection_handler_client.h',
314 'renderer/media/webrtc/mock_peer_connection_dependency_factory.cc',
315 'renderer/media/webrtc/mock_peer_connection_dependency_factory.h',
318 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
319 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
320 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
325 '../build/linux/system.gyp:glib',
330 '../ui/aura/aura.gyp:aura_test_support',
331 '../ui/resources/ui_resources.gyp:ui_test_pak',
332 '../ui/wm/wm.gyp:wm',
337 '../ui/ozone/ozone.gyp:ozone',
338 '../ui/platform_window/platform_window.gyp:platform_window',
343 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
346 ['OS!="android" and OS!="ios"', {
348 'browser/compositor/test/no_transport_image_transport_factory.cc',
349 'browser/compositor/test/no_transport_image_transport_factory.h',
352 '../ui/compositor/compositor.gyp:compositor',
353 '../third_party/libvpx/libvpx.gyp:libvpx',
358 '../ui/android/ui_android.gyp:ui_android',
359 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
360 'content.gyp:content_v8_external_data',
363 ['v8_use_external_startup_data==1', {
365 '../gin/gin.gyp:gin',
371 'target_name': 'content_unittests',
372 'type': '<(gtest_target_type)',
374 'browser/service_worker/service_worker_proto.gyp:proto',
375 'browser/speech/proto/speech_proto.gyp:speech_proto',
376 'content.gyp:content_browser',
377 'content.gyp:content_common',
378 'test_support_content',
379 '../base/base.gyp:test_support_base',
380 '../crypto/crypto.gyp:crypto',
381 '../device/battery/battery.gyp:device_battery',
382 '../device/battery/battery.gyp:device_battery_mojo_bindings',
383 '../mojo/edk/mojo_edk.gyp:mojo_common_test_support',
384 '../mojo/mojo_base.gyp:mojo_environment_chromium',
385 '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
386 '../net/net.gyp:net_test_support',
387 '../skia/skia.gyp:skia',
388 '../sql/sql.gyp:sql',
389 '../sql/sql.gyp:test_support_sql',
390 '../testing/gmock.gyp:gmock',
391 '../testing/gtest.gyp:gtest',
392 '../third_party/re2/re2.gyp:re2',
393 '../ui/accessibility/accessibility.gyp:accessibility',
394 '../ui/base/ui_base.gyp:ui_base',
395 '../ui/gfx/gfx.gyp:gfx',
396 '../ui/gfx/gfx.gyp:gfx_geometry',
397 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
401 '<(SHARED_INTERMEDIATE_DIR)', # Needed by render_media_client_unittest.cc.
404 'browser/accessibility/accessibility_mode_helper_unittest.cc',
405 'browser/accessibility/browser_accessibility_mac_unittest.mm',
406 'browser/accessibility/browser_accessibility_manager_unittest.cc',
407 'browser/accessibility/browser_accessibility_win_unittest.cc',
408 'browser/appcache/appcache_database_unittest.cc',
409 'browser/appcache/appcache_disk_cache_unittest.cc',
410 'browser/appcache/appcache_group_unittest.cc',
411 'browser/appcache/appcache_host_unittest.cc',
412 'browser/appcache/appcache_manifest_parser_unittest.cc',
413 'browser/appcache/appcache_quota_client_unittest.cc',
414 'browser/appcache/appcache_request_handler_unittest.cc',
415 'browser/appcache/appcache_response_unittest.cc',
416 'browser/appcache/appcache_service_unittest.cc',
417 'browser/appcache/appcache_storage_unittest.cc',
418 'browser/appcache/appcache_storage_impl_unittest.cc',
419 'browser/appcache/appcache_unittest.cc',
420 'browser/appcache/appcache_update_job_unittest.cc',
421 'browser/appcache/appcache_url_request_job_unittest.cc',
422 'browser/appcache/chrome_appcache_service_unittest.cc',
423 'browser/appcache/mock_appcache_policy.cc',
424 'browser/appcache/mock_appcache_policy.h',
425 'browser/appcache/mock_appcache_service.cc',
426 'browser/appcache/mock_appcache_service.h',
427 'browser/appcache/mock_appcache_storage.cc',
428 'browser/appcache/mock_appcache_storage.h',
429 'browser/appcache/mock_appcache_storage_unittest.cc',
430 'browser/browser_thread_unittest.cc',
431 'browser/browser_url_handler_impl_unittest.cc',
432 'browser/byte_stream_unittest.cc',
433 'browser/child_process_security_policy_unittest.cc',
434 'browser/cocoa/system_hotkey_map_unittest.mm',
435 'browser/compositor/buffer_queue_unittest.cc',
436 'browser/compositor/software_browser_compositor_output_surface_unittest.cc',
437 'browser/compositor/software_output_device_ozone_unittest.cc',
438 'browser/databases_table_unittest.cc',
439 'browser/database_quota_client_unittest.cc',
440 'browser/database_tracker_unittest.cc',
441 'browser/database_util_unittest.cc',
442 'browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc',
443 'browser/device_sensors/sensor_manager_android_unittest.cc',
444 'browser/devtools/embedded_worker_devtools_manager_unittest.cc',
445 'browser/devtools/devtools_http_handler_unittest.cc',
446 'browser/devtools/devtools_manager_unittest.cc',
447 'browser/dom_storage/dom_storage_area_unittest.cc',
448 'browser/dom_storage/dom_storage_context_impl_unittest.cc',
449 'browser/dom_storage/dom_storage_database_unittest.cc',
450 'browser/dom_storage/session_storage_database_unittest.cc',
451 'browser/download/base_file_unittest.cc',
452 'browser/download/download_file_unittest.cc',
453 'browser/download/download_item_impl_unittest.cc',
454 'browser/download/download_manager_impl_unittest.cc',
455 'browser/download/file_metadata_unittest_linux.cc',
456 'browser/download/rate_estimator_unittest.cc',
457 'browser/download/save_package_unittest.cc',
458 'browser/fileapi/blob_storage_context_unittest.cc',
459 'browser/fileapi/blob_url_request_job_unittest.cc',
460 'browser/fileapi/copy_or_move_file_validator_unittest.cc',
461 'browser/fileapi/copy_or_move_operation_delegate_unittest.cc',
462 'browser/fileapi/dragged_file_util_unittest.cc',
463 'browser/fileapi/external_mount_points_unittest.cc',
464 'browser/fileapi/file_system_context_unittest.cc',
465 'browser/fileapi/file_system_dir_url_request_job_unittest.cc',
466 'browser/fileapi/file_system_file_stream_reader_unittest.cc',
467 'browser/fileapi/file_system_operation_impl_unittest.cc',
468 'browser/fileapi/file_system_operation_impl_write_unittest.cc',
469 'browser/fileapi/file_system_operation_runner_unittest.cc',
470 'browser/fileapi/file_system_quota_client_unittest.cc',
471 'browser/fileapi/file_system_url_request_job_unittest.cc',
472 'browser/fileapi/file_system_url_unittest.cc',
473 'browser/fileapi/file_system_usage_cache_unittest.cc',
474 'browser/fileapi/file_writer_delegate_unittest.cc',
475 'browser/fileapi/fileapi_message_filter_unittest.cc',
476 'browser/fileapi/isolated_context_unittest.cc',
477 'browser/fileapi/local_file_stream_reader_unittest.cc',
478 'browser/fileapi/local_file_stream_writer_unittest.cc',
479 'browser/fileapi/local_file_util_unittest.cc',
480 'browser/fileapi/mock_file_change_observer.cc',
481 'browser/fileapi/mock_file_change_observer.h',
482 'browser/fileapi/mock_file_update_observer.cc',
483 'browser/fileapi/mock_file_update_observer.h',
484 'browser/fileapi/mock_url_request_delegate.cc',
485 'browser/fileapi/mock_url_request_delegate.h',
486 'browser/fileapi/native_file_util_unittest.cc',
487 'browser/fileapi/obfuscated_file_util_unittest.cc',
488 'browser/fileapi/plugin_private_file_system_backend_unittest.cc',
489 'browser/fileapi/recursive_operation_delegate_unittest.cc',
490 'browser/fileapi/sandbox_database_test_helper.cc',
491 'browser/fileapi/sandbox_database_test_helper.h',
492 'browser/fileapi/sandbox_directory_database_unittest.cc',
493 'browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc',
494 'browser/fileapi/sandbox_file_system_backend_unittest.cc',
495 'browser/fileapi/sandbox_isolated_origin_database_unittest.cc',
496 'browser/fileapi/sandbox_origin_database_unittest.cc',
497 'browser/fileapi/sandbox_prioritized_origin_database_unittest.cc',
498 'browser/fileapi/timed_task_helper_unittest.cc',
499 'browser/fileapi/transient_file_util_unittest.cc',
500 'browser/fileapi/upload_file_system_file_element_reader_unittest.cc',
501 'browser/frame_host/frame_tree_unittest.cc',
502 'browser/frame_host/navigation_controller_impl_unittest.cc',
503 'browser/frame_host/navigation_entry_impl_unittest.cc',
504 'browser/frame_host/navigator_impl_unittest.cc',
505 'browser/frame_host/render_frame_host_manager_unittest.cc',
506 'browser/frame_host/render_widget_host_view_child_frame_unittest.cc',
507 'browser/frame_host/render_widget_host_view_guest_unittest.cc',
508 'browser/gamepad/gamepad_provider_unittest.cc',
509 'browser/gamepad/gamepad_service_unittest.cc',
510 'browser/gamepad/gamepad_test_helpers.cc',
511 'browser/gamepad/gamepad_test_helpers.h',
512 'browser/geofencing/geofencing_manager_unittest.cc',
513 'browser/geofencing/geofencing_service_unittest.cc',
514 'browser/geolocation/geolocation_provider_impl_unittest.cc',
515 'browser/geolocation/location_arbitrator_impl_unittest.cc',
516 'browser/geolocation/network_location_provider_unittest.cc',
517 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
518 'browser/geolocation/wifi_data_provider_common_unittest.cc',
519 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
520 'browser/geolocation/wifi_data_provider_win_unittest.cc',
521 'browser/gpu/gpu_data_manager_impl_private_unittest.cc',
522 'browser/gpu/shader_disk_cache_unittest.cc',
523 'browser/host_zoom_map_impl_unittest.cc',
524 'browser/indexed_db/indexed_db_active_blob_registry_unittest.cc',
525 'browser/indexed_db/indexed_db_backing_store_unittest.cc',
526 'browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc',
527 'browser/indexed_db/indexed_db_database_unittest.cc',
528 'browser/indexed_db/indexed_db_factory_unittest.cc',
529 'browser/indexed_db/indexed_db_fake_backing_store.cc',
530 'browser/indexed_db/indexed_db_fake_backing_store.h',
531 'browser/indexed_db/indexed_db_leveldb_coding_unittest.cc',
532 'browser/indexed_db/indexed_db_quota_client_unittest.cc',
533 'browser/indexed_db/indexed_db_transaction_unittest.cc',
534 'browser/indexed_db/indexed_db_unittest.cc',
535 'browser/indexed_db/leveldb/mock_leveldb_factory.cc',
536 'browser/indexed_db/leveldb/mock_leveldb_factory.h',
537 'browser/indexed_db/mock_indexed_db_callbacks.cc',
538 'browser/indexed_db/mock_indexed_db_callbacks.h',
539 'browser/indexed_db/mock_indexed_db_database_callbacks.cc',
540 'browser/indexed_db/mock_indexed_db_database_callbacks.h',
541 'browser/indexed_db/mock_indexed_db_factory.cc',
542 'browser/indexed_db/mock_indexed_db_factory.h',
543 'browser/indexed_db/leveldb/leveldb_unittest.cc',
544 'browser/indexed_db/list_set_unittest.cc',
545 'browser/loader/buffered_resource_handler_unittest.cc',
546 'browser/loader/navigation_url_loader_unittest.cc',
547 'browser/loader/resource_buffer_unittest.cc',
548 'browser/loader/resource_dispatcher_host_unittest.cc',
549 'browser/loader/resource_loader_unittest.cc',
550 'browser/loader/resource_scheduler_unittest.cc',
551 'browser/loader/temporary_file_stream_unittest.cc',
552 'browser/loader/upload_data_stream_builder_unittest.cc',
553 'browser/mach_broker_mac_unittest.cc',
554 'browser/media/audio_stream_monitor_unittest.cc',
555 'browser/media/capture/audio_mirroring_manager_unittest.cc',
556 'browser/media/capture/video_capture_oracle_unittest.cc',
557 'browser/media/capture/web_contents_audio_input_stream_unittest.cc',
558 'browser/media/capture/web_contents_video_capture_device_unittest.cc',
559 'browser/media/media_internals_unittest.cc',
560 'browser/media/midi_host_unittest.cc',
561 'browser/media/webrtc_identity_store_unittest.cc',
562 'browser/net/sqlite_persistent_cookie_store_unittest.cc',
563 'browser/notification_service_impl_unittest.cc',
564 'browser/plugin_loader_posix_unittest.cc',
565 'browser/power_monitor_message_broadcaster_unittest.cc',
566 'browser/power_usage_monitor_impl_unittest.cc',
567 'browser/power_profiler/power_profiler_service_unittest.cc',
568 'browser/quota/mock_quota_manager.cc',
569 'browser/quota/mock_quota_manager.h',
570 'browser/quota/mock_quota_manager_proxy.cc',
571 'browser/quota/mock_quota_manager_proxy.h',
572 'browser/quota/mock_quota_manager_unittest.cc',
573 'browser/quota/quota_database_unittest.cc',
574 'browser/quota/quota_backend_impl_unittest.cc',
575 'browser/quota/quota_manager_unittest.cc',
576 'browser/quota/quota_reservation_manager_unittest.cc',
577 'browser/quota/quota_temporary_storage_evictor_unittest.cc',
578 'browser/quota/storage_monitor_unittest.cc',
579 'browser/quota/usage_tracker_unittest.cc',
580 'browser/renderer_host/clipboard_message_filter_unittest.cc',
581 'browser/renderer_host/input/gesture_event_queue_unittest.cc',
582 'browser/renderer_host/input/input_router_impl_unittest.cc',
583 'browser/renderer_host/input/mock_input_ack_handler.cc',
584 'browser/renderer_host/input/mock_input_ack_handler.h',
585 'browser/renderer_host/input/mock_input_router_client.cc',
586 'browser/renderer_host/input/mock_input_router_client.h',
587 'browser/renderer_host/input/stylus_text_selector_unittest.cc',
588 'browser/renderer_host/input/synthetic_gesture_controller_unittest.cc',
589 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
590 'browser/renderer_host/input/touch_action_filter_unittest.cc',
591 'browser/renderer_host/input/touch_emulator_unittest.cc',
592 'browser/renderer_host/input/touch_event_queue_unittest.cc',
593 'browser/renderer_host/input/touch_handle_unittest.cc',
594 'browser/renderer_host/input/touch_selection_controller_unittest.cc',
595 'browser/renderer_host/input/web_input_event_util_unittest.cc',
596 'browser/renderer_host/media/audio_input_device_manager_unittest.cc',
597 'browser/renderer_host/media/audio_renderer_host_unittest.cc',
598 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc',
599 'browser/renderer_host/media/media_stream_manager_unittest.cc',
600 'browser/renderer_host/media/media_stream_ui_proxy_unittest.cc',
601 'browser/renderer_host/media/video_capture_buffer_pool_unittest.cc',
602 'browser/renderer_host/media/video_capture_controller_unittest.cc',
603 'browser/renderer_host/media/video_capture_host_unittest.cc',
604 'browser/renderer_host/media/video_capture_manager_unittest.cc',
605 'browser/renderer_host/pepper/browser_ppapi_host_test.cc',
606 'browser/renderer_host/pepper/browser_ppapi_host_test.h',
607 'browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc',
608 'browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc',
609 'browser/renderer_host/pepper/pepper_printing_host_unittest.cc',
610 'browser/renderer_host/pepper/quota_reservation_unittest.cc',
611 'browser/renderer_host/render_process_host_unittest.cc',
612 'browser/renderer_host/render_view_host_unittest.cc',
613 'browser/renderer_host/render_widget_host_unittest.cc',
614 'browser/renderer_host/render_widget_host_latency_tracker_unittest.cc',
615 'browser/renderer_host/render_widget_host_view_aura_unittest.cc',
616 'browser/renderer_host/render_widget_host_view_base_unittest.cc',
617 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm',
618 'browser/renderer_host/render_widget_host_view_mac_unittest.mm',
619 'browser/renderer_host/text_input_client_mac_unittest.mm',
620 'browser/renderer_host/web_input_event_aura_unittest.cc',
621 'browser/renderer_host/websocket_dispatcher_host_unittest.cc',
622 'browser/resolve_proxy_msg_helper_unittest.cc',
623 'browser/service_worker/embedded_worker_instance_unittest.cc',
624 'browser/service_worker/embedded_worker_test_helper.cc',
625 'browser/service_worker/embedded_worker_test_helper.h',
626 'browser/service_worker/service_worker_cache_unittest.cc',
627 'browser/service_worker/service_worker_cache_storage_manager_unittest.cc',
628 'browser/service_worker/service_worker_context_unittest.cc',
629 'browser/service_worker/service_worker_controllee_request_handler_unittest.cc',
630 'browser/service_worker/service_worker_context_request_handler_unittest.cc',
631 'browser/service_worker/service_worker_database_unittest.cc',
632 'browser/service_worker/service_worker_dispatcher_host_unittest.cc',
633 'browser/service_worker/service_worker_handle_unittest.cc',
634 'browser/service_worker/service_worker_job_unittest.cc',
635 'browser/service_worker/service_worker_process_manager_unittest.cc',
636 'browser/service_worker/service_worker_provider_host_unittest.cc',
637 'browser/service_worker/service_worker_registration_unittest.cc',
638 'browser/service_worker/service_worker_request_handler_unittest.cc',
639 'browser/service_worker/service_worker_storage_unittest.cc',
640 'browser/service_worker/service_worker_url_request_job_unittest.cc',
641 'browser/service_worker/service_worker_utils_unittest.cc',
642 'browser/service_worker/service_worker_version_unittest.cc',
643 'browser/service_worker/service_worker_write_to_cache_job_unittest.cc',
644 'browser/shared_worker/shared_worker_instance_unittest.cc',
645 'browser/shared_worker/shared_worker_service_impl_unittest.cc',
646 'browser/site_instance_impl_unittest.cc',
647 'browser/speech/chunked_byte_buffer_unittest.cc',
648 'browser/speech/endpointer/endpointer_unittest.cc',
649 'browser/speech/google_one_shot_remote_engine_unittest.cc',
650 'browser/speech/google_streaming_remote_engine_unittest.cc',
651 'browser/speech/speech_recognizer_impl_unittest.cc',
652 'browser/startup_task_runner_unittest.cc',
653 'browser/storage_partition_impl_map_unittest.cc',
654 'browser/storage_partition_impl_unittest.cc',
655 'browser/streams/stream_unittest.cc',
656 'browser/streams/stream_url_request_job_unittest.cc',
657 'browser/system_message_window_win_unittest.cc',
658 'browser/transition_request_manager_unittest.cc',
659 'browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc',
660 'browser/web_contents/aura/window_slider_unittest.cc',
661 'browser/web_contents/web_contents_delegate_unittest.cc',
662 'browser/web_contents/web_contents_impl_unittest.cc',
663 'browser/web_contents/web_contents_user_data_unittest.cc',
664 'browser/web_contents/web_contents_view_mac_unittest.mm',
665 'browser/web_contents/web_drag_dest_mac_unittest.mm',
666 'browser/web_contents/web_drag_source_mac_unittest.mm',
667 'browser/webui/web_ui_data_source_unittest.cc',
668 'browser/webui/web_ui_message_handler_unittest.cc',
669 'child/blink_platform_impl_unittest.cc',
670 'child/fileapi/webfilewriter_base_unittest.cc',
671 'child/indexed_db/indexed_db_dispatcher_unittest.cc',
672 'child/indexed_db/webidbcursor_impl_unittest.cc',
673 'child/multipart_response_delegate_unittest.cc',
674 'child/npapi/plugin_lib_unittest.cc',
675 'child/power_monitor_broadcast_source_unittest.cc',
676 'child/resource_dispatcher_unittest.cc',
677 'child/simple_webmimeregistry_impl_unittest.cc',
678 'child/site_isolation_policy_unittest.cc',
679 'child/web_data_consumer_handle_impl_unittest.cc',
680 'child/web_gesture_curve_impl_unittest.cc',
681 'child/web_url_loader_impl_unittest.cc',
682 'child/webcrypto/test/aes_cbc_unittest.cc',
683 'child/webcrypto/test/aes_ctr_unittest.cc',
684 'child/webcrypto/test/aes_gcm_unittest.cc',
685 'child/webcrypto/test/aes_kw_unittest.cc',
686 'child/webcrypto/test/ecdh_unittest.cc',
687 'child/webcrypto/test/ecdsa_unittest.cc',
688 'child/webcrypto/test/hmac_unittest.cc',
689 'child/webcrypto/test/rsa_oaep_unittest.cc',
690 'child/webcrypto/test/rsa_pss_unittest.cc',
691 'child/webcrypto/test/rsa_ssa_unittest.cc',
692 'child/webcrypto/test/sha_unittest.cc',
693 'child/webcrypto/test/status_unittest.cc',
694 'child/webcrypto/test/test_helpers.cc',
695 'child/webcrypto/test/test_helpers.h',
696 'child/worker_task_runner_unittest.cc',
697 'common/android/address_parser_unittest.cc',
698 'common/android/gin_java_bridge_value_unittest.cc',
699 'common/cc_messages_unittest.cc',
700 'common/common_param_traits_unittest.cc',
701 'common/cursors/webcursor_unittest.cc',
702 'common/database_connections_unittest.cc',
703 'common/database_identifier_unittest.cc',
704 'common/dom_storage/dom_storage_map_unittest.cc',
705 'common/dwrite_font_platform_win_unittest.cc',
706 'common/fileapi/file_system_util_unittest.cc',
707 'common/gpu/client/gpu_memory_buffer_impl_unittest.cc',
708 'common/gpu/gpu_channel_manager_unittest.cc',
709 'common/gpu/gpu_memory_buffer_factory_unittest.cc',
710 'common/gpu/gpu_memory_manager_unittest.cc',
711 'common/host_discardable_shared_memory_manager_unittest.cc',
712 'common/host_shared_bitmap_manager_unittest.cc',
713 'common/indexed_db/indexed_db_key_unittest.cc',
714 'common/input/gesture_event_stream_validator_unittest.cc',
715 'common/input/input_param_traits_unittest.cc',
716 'common/input/touch_event_stream_validator_unittest.cc',
717 'common/input/web_input_event_traits_unittest.cc',
718 'common/inter_process_time_ticks_converter_unittest.cc',
719 'common/mac/attributed_string_coder_unittest.mm',
720 'common/mac/font_descriptor_unittest.mm',
721 'common/one_writer_seqlock_unittest.cc',
722 'common/page_state_serialization_unittest.cc',
723 'common/page_zoom_unittest.cc',
724 'common/plugin_list_unittest.cc',
725 'common/sandbox_mac_diraccess_unittest.mm',
726 'common/sandbox_mac_fontloading_unittest.mm',
727 'common/sandbox_mac_system_access_unittest.mm',
728 'common/sandbox_mac_unittest_helper.h',
729 'common/sandbox_mac_unittest_helper.mm',
730 'common/shareable_file_reference_unittest.cc',
731 'common/webplugininfo_unittest.cc',
732 'renderer/android/email_detector_unittest.cc',
733 'renderer/android/phone_number_detector_unittest.cc',
734 'renderer/bmp_image_decoder_unittest.cc',
735 'renderer/device_sensors/device_light_event_pump_unittest.cc',
736 'renderer/device_sensors/device_motion_event_pump_unittest.cc',
737 'renderer/device_sensors/device_orientation_event_pump_unittest.cc',
738 'renderer/disambiguation_popup_helper_unittest.cc',
739 'renderer/dom_storage/dom_storage_cached_area_unittest.cc',
740 'renderer/gpu/compositor_forwarding_message_filter_unittest.cc',
741 'renderer/gpu/frame_swap_message_queue_unittest.cc',
742 'renderer/gpu/queue_message_swap_promise_unittest.cc',
743 'renderer/gpu/render_widget_compositor_unittest.cc',
744 'renderer/ico_image_decoder_unittest.cc',
745 'renderer/input/input_event_filter_unittest.cc',
746 'renderer/input/input_handler_proxy_unittest.cc',
747 'renderer/manifest/manifest_parser_unittest.cc',
748 'renderer/media/android/media_info_loader_unittest.cc',
749 'renderer/media/audio_message_filter_unittest.cc',
750 'renderer/media/audio_renderer_mixer_manager_unittest.cc',
751 'renderer/media/render_media_client_unittest.cc',
752 'renderer/media/render_media_log_unittest.cc',
753 'renderer/media/video_capture_impl_manager_unittest.cc',
754 'renderer/media/video_capture_impl_unittest.cc',
755 'renderer/media/video_capture_message_filter_unittest.cc',
756 'renderer/media/webrtc/video_destination_handler_unittest.cc',
757 'renderer/npapi/webplugin_impl_unittest.cc',
758 'renderer/pepper/event_conversion_unittest.cc',
759 'renderer/pepper/host_var_tracker_unittest.cc',
760 'renderer/pepper/mock_resource.h',
761 'renderer/pepper/pepper_broker_unittest.cc',
762 'renderer/pepper/v8_var_converter_unittest.cc',
763 'renderer/render_thread_impl_unittest.cc',
764 'renderer/render_widget_unittest.cc',
765 'renderer/scheduler/renderer_scheduler_impl_unittest.cc',
766 'renderer/scheduler/renderer_task_queue_selector_unittest.cc',
767 'renderer/scheduler/task_queue_manager_unittest.cc',
768 'renderer/screen_orientation/screen_orientation_dispatcher_unittest.cc',
769 'renderer/skia_benchmarking_extension_unittest.cc',
770 'renderer/v8_value_converter_impl_unittest.cc',
771 'test/fileapi_test_file_set.cc',
772 'test/fileapi_test_file_set.h',
773 'test/image_decoder_test.cc',
774 'test/image_decoder_test.h',
775 'test/run_all_unittests.cc',
780 # iOS only needs a small portion of content; exclude all the
781 # implementation, and re-include what is used.
782 ['exclude', '\\.(cc|mm)$'],
783 ['include', '_ios\\.(cc|mm)$'],
784 ['include', '^browser/notification_service_impl_unittest\\.cc$'],
785 ['include', '^browser/web_contents/navigation_entry_impl_unittest\\.cc$'],
786 ['include', '^test/run_all_unittests\\.cc$'],
790 'content.gyp:content_browser',
791 'content.gyp:content_child',
792 'content.gyp:content_gpu',
793 'content.gyp:content_plugin',
794 'content.gyp:content_renderer',
795 'content.gyp:content_resources',
796 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
798 '../cc/cc.gyp:cc_surfaces',
799 '../cc/cc_tests.gyp:cc_test_support',
800 '../gin/gin.gyp:gin',
801 '../gpu/gpu.gyp:gpu',
802 '../gpu/gpu.gyp:gpu_unittest_utils',
803 '../ipc/ipc.gyp:test_support_ipc',
804 '../media/media.gyp:media_test_support',
805 '../media/media.gyp:shared_memory_support',
806 '../storage/storage_browser.gyp:storage',
807 '../storage/storage_common.gyp:storage_common',
808 '../third_party/WebKit/public/blink.gyp:blink',
809 '../third_party/icu/icu.gyp:icui18n',
810 '../third_party/icu/icu.gyp:icuuc',
811 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
812 '../third_party/libjingle/libjingle.gyp:libjingle',
813 '../ui/gl/gl.gyp:gl',
818 'browser/file_descriptor_info_impl_unittest.cc',
821 ['enable_plugins==0', {
823 ['exclude', '^browser/renderer_host/pepper/'],
824 ['exclude', '^child/npapi/'],
825 ['exclude', '^renderer/npapi/'],
826 ['exclude', '^renderer/pepper/'],
829 'browser/plugin_loader_posix_unittest.cc',
830 'renderer/media/webrtc/video_destination_handler_unittest.cc',
833 ['enable_webrtc==1', {
835 'browser/media/webrtc_internals_unittest.cc',
836 'browser/renderer_host/media/webrtc_identity_service_host_unittest.cc',
837 'browser/renderer_host/p2p/socket_host_test_utils.cc',
838 'browser/renderer_host/p2p/socket_host_test_utils.h',
839 'browser/renderer_host/p2p/socket_host_tcp_unittest.cc',
840 'browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc',
841 'browser/renderer_host/p2p/socket_host_udp_unittest.cc',
842 'browser/renderer_host/p2p/socket_host_unittest.cc',
843 'renderer/media/media_stream_audio_processor_unittest.cc',
844 'renderer/media/media_stream_constraints_util_unittest.cc',
845 'renderer/media/media_stream_dispatcher_unittest.cc',
846 'renderer/media/media_stream_video_capture_source_unittest.cc',
847 'renderer/media/media_stream_video_source_unittest.cc',
848 'renderer/media/media_stream_video_track_unittest.cc',
849 'renderer/media/mock_media_stream_registry.cc',
850 'renderer/media/mock_media_stream_registry.h',
851 'renderer/media/mock_media_stream_video_sink.cc',
852 'renderer/media/mock_media_stream_video_sink.h',
853 'renderer/media/mock_media_stream_video_source.cc',
854 'renderer/media/mock_media_stream_video_source.h',
855 'renderer/media/mock_media_constraint_factory.cc',
856 'renderer/media/rtc_peer_connection_handler_unittest.cc',
857 'renderer/media/rtc_video_decoder_unittest.cc',
858 'renderer/media/speech_recognition_audio_sink_unittest.cc',
859 'renderer/media/user_media_client_impl_unittest.cc',
860 'renderer/media/video_source_handler_unittest.cc',
861 'renderer/media/webrtc/media_stream_remote_video_source_unittest.cc',
862 'renderer/media/webrtc/media_stream_track_metrics_unittest.cc',
863 'renderer/media/webrtc/peer_connection_dependency_factory_unittest.cc',
864 'renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc',
865 'renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc',
866 'renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc',
867 'renderer/media/webrtc_audio_capturer_unittest.cc',
868 'renderer/media/webrtc_audio_renderer_unittest.cc',
869 'renderer/media/webrtc_identity_service_unittest.cc',
870 'renderer/media/webrtc_local_audio_source_provider_unittest.cc',
871 'renderer/media/webrtc_local_audio_track_unittest.cc',
872 'renderer/media/webrtc_uma_histograms_unittest.cc',
873 'renderer/p2p/ipc_network_manager_unittest.cc',
876 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
877 '../third_party/libjingle/libjingle.gyp:libpeerconnection',
878 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
882 'renderer/media/webrtc/video_destination_handler_unittest.cc',
885 ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
887 'browser/media/capture/desktop_capture_device_unittest.cc',
890 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
893 ['enable_webrtc==1 and chromeos==1', {
895 'browser/media/capture/desktop_capture_device_aura_unittest.cc',
898 # TODO(jrg): remove the OS=="android" section?
899 # http://crbug.com/113172
900 # Understand better how media_stream_ is tied into Chromium.
901 ['enable_webrtc==0 and OS=="android"', {
903 ['exclude', '^renderer/media/media_stream_'],
906 ['enable_web_speech==0', {
908 ['exclude', '^browser/speech/'],
913 '../build/linux/system.gyp:dbus',
914 '../dbus/dbus.gyp:dbus_test_support',
917 ['OS=="win" and win_use_allocator_shim==1', {
919 '../base/allocator/allocator.gyp:allocator',
924 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
928 # These flags are needed to run the test on Mac.
929 # Search for comments about "xcode_settings" in chrome_tests.gypi.
930 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
934 '../chromeos/chromeos.gyp:chromeos',
937 ['exclude', '^browser/geolocation/wifi_data_provider_linux_unittest.cc'],
942 '../ui/aura/aura.gyp:aura',
943 '../ui/wm/wm.gyp:wm',
946 ['use_aura==1 or toolkit_views==1', {
948 '../ui/events/events.gyp:events_test_support',
951 ['use_aura!=1 and OS!="mac"', {
953 ['exclude', '^browser/compositor/'],
956 ['OS == "android"', {
958 'browser/android/java/gin_java_method_invocation_helper_unittest.cc',
959 'browser/android/java/java_type_unittest.cc',
960 'browser/android/java/jni_helper_unittest.cc',
961 'browser/android/overscroll_refresh_unittest.cc',
962 'browser/android/system_ui_resource_manager_impl_unittest.cc',
963 'browser/android/url_request_content_job_unittest.cc',
964 'browser/renderer_host/input/motion_event_android_unittest.cc',
965 'renderer/java/gin_java_bridge_value_converter_unittest.cc',
968 'browser/geolocation/network_location_provider_unittest.cc',
969 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
970 'browser/geolocation/wifi_data_provider_common_unittest.cc',
971 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
974 ['OS != "android" and OS != "ios"', {
976 '../third_party/libvpx/libvpx.gyp:libvpx',
979 ['OS == "android"', {
981 '../testing/android/native_test.gyp:native_test_native_code',
984 ['use_aura!=1 and OS!="android"', {
986 'browser/renderer_host/input/tap_suppression_controller_unittest.cc',
991 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
994 ['OS!="win" and OS!="mac"', {
996 'common/plugin_list_unittest.cc',
1001 '../ui/ozone/ozone.gyp:ozone',
1002 '../ui/ozone/ozone.gyp:ozone_base',
1009 ['test_isolation_mode != "noop"', {
1012 'target_name': 'content_browsertests_run',
1015 'content_browsertests',
1018 '../build/isolate.gypi',
1021 'content_browsertests.isolate',
1025 'target_name': 'content_unittests_run',
1028 'content_unittests',
1031 '../build/isolate.gypi',
1034 'content_unittests.isolate',
1039 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1046 ['archive_gpu_tests==1', {
1049 'target_name': 'content_gl_tests_run',
1052 'content_shell_and_tests.gyp:content_gl_tests',
1055 '../build/isolate.gypi',
1058 'content_gl_tests.isolate',
1068 'target_name': 'content_perftests',
1069 'type': '<(gtest_target_type)',
1070 'defines!': ['CONTENT_IMPLEMENTATION'],
1072 'content.gyp:content_browser',
1073 'content.gyp:content_common',
1074 'test_support_content',
1075 '../base/base.gyp:test_support_base',
1077 '../skia/skia.gyp:skia',
1078 '../testing/gtest.gyp:gtest',
1079 '../testing/perf/perf_test.gyp:*',
1080 '../ui/gfx/gfx.gyp:gfx',
1081 '../ui/gfx/gfx.gyp:gfx_geometry',
1087 'browser/renderer_host/input/input_router_impl_perftest.cc',
1088 'common/cc_messages_perftest.cc',
1089 'test/run_all_perftests.cc',
1092 ['OS == "android"', {
1094 '../testing/android/native_test.gyp:native_test_native_code',
1097 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1099 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1105 'target_name': 'content_browser_test_support',
1106 'type': 'static_library',
1108 'content_shell_lib',
1109 '../skia/skia.gyp:skia',
1110 '../testing/gtest.gyp:gtest',
1111 '../ui/accessibility/accessibility.gyp:ax_gen',
1114 'test/content_test_launcher.cc',
1115 'public/test/content_browser_test.cc',
1116 'public/test/content_browser_test.h',
1117 'public/test/content_browser_test_utils.cc',
1118 'public/test/content_browser_test_utils.h',
1119 'public/test/content_browser_test_utils_mac.mm',
1122 '<(SHARED_INTERMEDIATE_DIR)',
1127 'content.gyp:content_app_both',
1131 'content.gyp:content_browser',
1137 'target_name': 'web_ui_test_mojo_bindings',
1138 'type': 'static_library',
1140 '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
1143 'test/data/web_ui_test_mojo_bindings.mojom',
1145 'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
1146 'export_dependent_settings': [
1147 '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
1151 'target_name': 'content_browsertests',
1152 'type': '<(gtest_target_type)',
1154 'content.gyp:content_common',
1155 'content.gyp:content_gpu',
1156 'content.gyp:content_plugin',
1157 'content.gyp:content_renderer',
1158 'content.gyp:content_resources',
1159 'content_browser_test_support',
1160 'content_shell_lib',
1161 'content_shell_pak',
1162 'test_support_content',
1163 'web_ui_test_mojo_bindings',
1164 '../base/base.gyp:test_support_base',
1165 '../device/battery/battery.gyp:device_battery',
1166 '../device/battery/battery.gyp:device_battery_mojo_bindings',
1167 '../gin/gin.gyp:gin',
1168 '../gpu/gpu.gyp:gpu',
1169 '../ipc/ipc.gyp:test_support_ipc',
1170 '../media/media.gyp:media_test_support',
1171 '../media/media.gyp:shared_memory_support',
1172 '../mojo/edk/mojo_edk.gyp:mojo_common_test_support',
1173 '../mojo/edk/mojo_edk.gyp:mojo_system_impl',
1174 '../mojo/mojo_base.gyp:mojo_environment_chromium',
1175 '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
1176 '../mojo/public/mojo_public.gyp:mojo_js_bindings',
1177 '../net/net.gyp:net_test_support',
1178 '../ppapi/ppapi_internal.gyp:ppapi_host',
1179 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
1180 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
1181 '../ppapi/ppapi_internal.gyp:ppapi_shared',
1182 '../ppapi/ppapi_internal.gyp:ppapi_tests',
1183 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
1184 '../testing/gmock.gyp:gmock',
1185 '../testing/gtest.gyp:gtest',
1186 '../third_party/WebKit/public/blink.gyp:blink',
1187 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1188 '../third_party/mesa/mesa.gyp:osmesa',
1189 '../ui/accessibility/accessibility.gyp:accessibility',
1190 '../ui/base/ui_base.gyp:ui_base',
1191 '../ui/gfx/gfx.gyp:gfx',
1192 '../ui/gfx/gfx.gyp:gfx_geometry',
1193 '../ui/gl/gl.gyp:gl',
1194 '../ui/resources/ui_resources.gyp:ui_resources',
1195 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
1196 '../ui/snapshot/snapshot.gyp:snapshot',
1197 '../ui/accessibility/accessibility.gyp:ax_gen',
1201 '<(SHARED_INTERMEDIATE_DIR)', # Needed by encrypted_media_browsertest.cc
1204 'browser/gpu/test_support_gpu.gypi',
1207 'HAS_OUT_OF_PROC_TEST_RUNNER',
1210 'app/mojo/mojo_browsertest.cc',
1211 'browser/accessibility/accessibility_ipc_error_browsertest.cc',
1212 'browser/accessibility/accessibility_mode_browsertest.cc',
1213 'browser/accessibility/accessibility_win_browsertest.cc',
1214 'browser/accessibility/android_granularity_movement_browsertest.cc',
1215 'browser/accessibility/android_hit_testing_browsertest.cc',
1216 'browser/accessibility/cross_platform_accessibility_browsertest.cc',
1217 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1218 'browser/accessibility/site_per_process_accessibility_browsertest.cc',
1219 'browser/battery_status/battery_monitor_impl_browsertest.cc',
1220 'browser/battery_status/battery_monitor_integration_browsertest.cc',
1221 'browser/compositor/image_transport_factory_browsertest.cc',
1222 'browser/bookmarklet_browsertest.cc',
1223 'browser/child_process_launcher_browsertest.cc',
1224 'browser/child_process_security_policy_browsertest.cc',
1225 'browser/cross_site_transfer_browsertest.cc',
1226 'browser/database_browsertest.cc',
1227 'browser/device_sensors/device_inertial_sensor_browsertest.cc',
1228 'browser/devtools/renderer_overrides_handler_browsertest.cc',
1229 'browser/dom_storage/dom_storage_browsertest.cc',
1230 'browser/download/download_browsertest.cc',
1231 'browser/download/drag_download_file_browsertest.cc',
1232 'browser/download/mhtml_generation_browsertest.cc',
1233 'browser/download/save_package_browsertest.cc',
1234 'browser/fileapi/file_system_browsertest.cc',
1235 'browser/frame_host/frame_tree_browsertest.cc',
1236 'browser/frame_host/render_frame_host_manager_browsertest.cc',
1237 'browser/frame_host/navigation_controller_impl_browsertest.cc',
1238 'browser/gpu/compositor_util_browsertest.cc',
1239 'browser/gpu/gpu_ipc_browsertests.cc',
1240 'browser/indexed_db/indexed_db_browsertest.cc',
1241 'browser/indexed_db/mock_browsertest_indexed_db_class_factory.cc',
1242 'browser/indexed_db/mock_browsertest_indexed_db_class_factory.h',
1243 'browser/loader/resource_dispatcher_host_browsertest.cc',
1244 'browser/manifest/manifest_browsertest.cc',
1245 'browser/media/encrypted_media_browsertest.cc',
1246 'browser/media/media_browsertest.cc',
1247 'browser/media/media_browsertest.h',
1248 'browser/media/media_canplaytype_browsertest.cc',
1249 'browser/media/media_source_browsertest.cc',
1250 'browser/net_info_browsertest.cc',
1251 'browser/plugin_data_remover_impl_browsertest.cc',
1252 'browser/plugin_browsertest.cc',
1253 'browser/plugin_service_impl_browsertest.cc',
1254 'browser/renderer_host/input/touch_action_browsertest.cc',
1255 'browser/renderer_host/input/touch_input_browsertest.cc',
1256 'browser/renderer_host/render_process_host_browsertest.cc',
1257 'browser/renderer_host/render_view_host_browsertest.cc',
1258 'browser/renderer_host/render_widget_host_browsertest.cc',
1259 'browser/renderer_host/render_widget_host_view_browsertest.cc',
1260 'browser/screen_orientation/screen_orientation_browsertest.cc',
1261 'browser/security_exploit_browsertest.cc',
1262 'browser/service_worker/service_worker_browsertest.cc',
1263 'browser/session_history_browsertest.cc',
1264 'browser/shared_worker/worker_browsertest.cc',
1265 'browser/site_per_process_browsertest.h',
1266 'browser/site_per_process_browsertest.cc',
1267 'browser/speech/speech_recognition_browsertest.cc',
1268 'browser/tracing/tracing_controller_browsertest.cc',
1269 'browser/transition_browsertest.cc',
1270 'browser/web_contents/opened_by_dom_browsertest.cc',
1271 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1272 'browser/web_contents/web_contents_impl_browsertest.cc',
1273 'browser/web_contents/web_contents_view_aura_browsertest.cc',
1274 'browser/webkit_browsertest.cc',
1275 'browser/webui/web_ui_mojo_browsertest.cc',
1276 'child/site_isolation_policy_browsertest.cc',
1277 'renderer/accessibility/renderer_accessibility_browsertest.cc',
1278 'renderer/browser_render_view_browsertest.cc',
1279 'renderer/devtools/v8_sampling_profiler_browsertest.cc',
1280 'renderer/dom_serializer_browsertest.cc',
1281 'renderer/gin_browsertest.cc',
1282 'renderer/mouse_lock_dispatcher_browsertest.cc',
1283 'renderer/pepper/fake_pepper_plugin_instance.cc',
1284 'renderer/pepper/mock_renderer_ppapi_host.cc',
1285 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc',
1286 'renderer/pepper/pepper_file_chooser_host_unittest.cc',
1287 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
1288 'renderer/pepper/pepper_plugin_instance_throttler_unittest.cc',
1289 'renderer/pepper/pepper_url_request_unittest.cc',
1290 'renderer/pepper/plugin_power_saver_helper_browsertest.cc',
1291 'renderer/render_thread_impl_browsertest.cc',
1292 'renderer/render_view_browsertest.cc',
1293 'renderer/render_view_browsertest_mac.mm',
1294 'renderer/render_widget_browsertest.cc',
1295 'renderer/resource_fetcher_browsertest.cc',
1296 'renderer/savable_resources_browsertest.cc',
1297 'test/accessibility_browser_test_utils.cc',
1298 'test/accessibility_browser_test_utils.h',
1299 'test/browser_test_utils_browsertest.cc',
1300 'test/content_browser_test_test.cc',
1301 'test/ppapi/ppapi_browsertest.cc',
1302 'test/ppapi/ppapi_test.cc',
1303 'test/ppapi/ppapi_test.h',
1304 'test/webui_resource_browsertest.cc',
1309 'browser/web_contents/touch_editable_impl_aura_browsertest.cc',
1313 'resource_include_dirs': [
1314 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1317 'shell/app/resource.h',
1318 'shell/app/shell.rc',
1319 # TODO: It would be nice to have these pulled in
1320 # automatically from direct_dependent_settings in
1321 # their various targets (net.gyp:net_resources, etc.),
1322 # but that causes errors in other targets when
1323 # resulting .res files get referenced multiple times.
1324 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.rc',
1325 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.rc',
1326 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1329 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
1330 '<(DEPTH)/net/net.gyp:net_resources',
1331 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
1332 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1333 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1339 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1344 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1345 'msvs_disabled_warnings': [ 4267, ],
1347 ['OS=="win" and win_use_allocator_shim==1', {
1349 '../base/allocator/allocator.gyp:allocator',
1354 'browser/accessibility/dump_accessibility_tree_browsertest.cc',
1359 'browser/accessibility/android_granularity_movement_browsertest.cc',
1360 'browser/accessibility/android_hit_testing_browsertest.cc',
1365 'shell/android/browsertests_apk/content_browser_tests_android.cc',
1368 'content_shell_jni_headers',
1369 'content_shell_lib',
1370 '../testing/android/native_test.gyp:native_test_util',
1375 'content_shell', # Needed for Content Shell.app's Helper.
1378 'renderer/external_popup_menu_browsertest.cc',
1381 ['use_aura==1 and OS!="win"', {
1383 'browser/plugin_browsertest.cc',
1386 ['use_aura==1 or toolkit_views==1', {
1388 '../ui/events/events.gyp:events_test_support',
1391 ['use_aura!=1 and OS!="mac"', {
1393 ['exclude', '^browser/compositor/'],
1396 ['OS!="android" and OS!="ios" and OS!="linux"', {
1397 # npapi test plugin doesn't build on android or ios
1399 # Runtime dependencies
1400 'copy_npapi_test_plugin',
1403 ['enable_webrtc==1', {
1405 'browser/media/webrtc_aecdump_browsertest.cc',
1406 'browser/media/webrtc_browsertest.cc',
1407 'browser/media/webrtc_getusermedia_browsertest.cc',
1408 'browser/media/webrtc_internals_browsertest.cc',
1409 'browser/media/webrtc_webcam_browsertest.cc',
1410 'test/webrtc_content_browsertest_base.cc',
1411 'test/webrtc_content_browsertest_base.h',
1414 '../testing/perf/perf_test.gyp:perf_test',
1417 ['enable_plugins==0', {
1419 ['exclude', '^renderer/pepper/'],
1422 'browser/plugin_service_impl_browsertest.cc',
1423 'browser/plugin_data_remover_impl_browsertest.cc',
1424 'test/ppapi/ppapi_browsertest.cc',
1425 'test/ppapi/ppapi_test.cc',
1426 'test/ppapi/ppapi_test.h',
1429 '../ppapi/ppapi_internal.gyp:ppapi_tests',
1432 ['enable_web_speech==0', {
1434 ['exclude', '^browser/speech/'],
1437 ['branding=="Chrome"', {
1439 # These tests depend on single process mode, which is disabled
1440 # in official builds.
1441 'renderer/browser_render_view_browsertest.cc',
1442 'renderer/dom_serializer_browsertest.cc',
1443 'renderer/resource_fetcher_browsertest.cc',
1444 'renderer/savable_resources_browsertest.cc',
1450 'target_name': 'content_gl_tests',
1451 'type': '<(gtest_target_type)',
1453 'content.gyp:content_common',
1454 'test_support_content',
1455 '../base/base.gyp:test_support_base',
1456 '../gpu/gpu.gyp:command_buffer_common',
1457 '../testing/gtest.gyp:gtest',
1458 '../third_party/WebKit/public/blink.gyp:blink',
1459 '../ui/base/ui_base.gyp:ui_base',
1460 '../ui/gfx/gfx.gyp:gfx',
1461 '../ui/gfx/gfx.gyp:gfx_geometry',
1462 '../ui/gfx/gfx.gyp:gfx_test_support',
1463 '../ui/gl/gl.gyp:gl',
1464 '../v8/tools/gyp/v8.gyp:v8',
1470 'common/gpu/client/gl_helper_unittest.cc',
1471 'common/gpu/client/gpu_in_process_context_tests.cc',
1476 '../testing/android/native_test.gyp:native_test_native_code',
1480 # Runtime dependencis.
1481 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1482 '../third_party/mesa/mesa.gyp:osmesa',
1485 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1487 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1493 'target_name': 'content_gl_benchmark',
1494 'type': '<(gtest_target_type)',
1496 'content.gyp:content_common',
1497 'test_support_content',
1498 '../base/base.gyp:test_support_base',
1499 '../testing/gtest.gyp:gtest',
1500 '../third_party/WebKit/public/blink.gyp:blink',
1501 '../ui/base/ui_base.gyp:ui_base',
1502 '../ui/gfx/gfx.gyp:gfx',
1503 '../ui/gfx/gfx.gyp:gfx_geometry',
1504 '../ui/gl/gl.gyp:gl',
1510 'common/gpu/client/gl_helper_benchmark.cc',
1513 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1515 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1522 ['(chromeos==1 or OS=="win" or OS=="android") and use_ozone==0', {
1525 'target_name': 'video_decode_accelerator_unittest',
1526 'type': '<(gtest_target_type)',
1528 '../base/base.gyp:base',
1529 '../media/media.gyp:media',
1530 '../testing/gtest.gyp:gtest',
1531 '../ui/base/ui_base.gyp:ui_base',
1532 '../ui/gfx/gfx.gyp:gfx',
1533 '../ui/gfx/gfx.gyp:gfx_test_support',
1534 '../ui/gfx/gfx.gyp:gfx_geometry',
1535 '../ui/gl/gl.gyp:gl',
1536 'content.gyp:content',
1539 '<(DEPTH)/third_party/khronos',
1542 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1543 'common/gpu/media/rendering_helper.h',
1544 'common/gpu/media/rendering_helper.cc',
1545 'common/gpu/media/video_accelerator_unittest_helpers.h',
1546 'common/gpu/media/video_decode_accelerator_unittest.cc',
1551 ['exclude', '^common/gpu/media/rendering_helper.h'],
1552 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1553 ['exclude', '^common/gpu/media/video_decode_accelerator_unittest.cc'],
1556 '../media/media.gyp:player_android',
1557 '../testing/gmock.gyp:gmock',
1558 '../testing/android/native_test.gyp:native_test_native_code',
1559 '../gpu/gpu.gyp:gpu_unittest_utils',
1561 }, { # OS!="android"
1563 ['exclude', '^common/gpu/media/android_video_decode_accelerator_unittest.cc'],
1568 '<(angle_path)/src/angle.gyp:libEGL',
1569 '<(angle_path)/src/angle.gyp:libGLESv2',
1572 ['(OS=="win" and win_use_allocator_shim==1) or '
1573 '(os_posix == 1 and OS != "android" and '
1574 ' use_allocator!="none")', {
1576 '../base/allocator/allocator.gyp:allocator',
1579 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1581 '<(DEPTH)/third_party/libva',
1586 '../build/linux/system.gyp:x11', # Used by rendering_helper.cc
1587 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1591 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1592 'msvs_disabled_warnings': [ 4267, ],
1596 ['chromeos==1 and use_x11 == 1 and target_arch != "arm"', {
1599 'target_name': 'vaapi_h264_decoder_unittest',
1600 'type': '<(gtest_target_type)',
1602 'content.gyp:content_common',
1603 '../base/base.gyp:base',
1604 '../build/linux/system.gyp:x11',
1605 '../media/media.gyp:media',
1606 '../testing/gtest.gyp:gtest',
1607 '../third_party/libyuv/libyuv.gyp:libyuv',
1608 '../ui/gfx/gfx.gyp:gfx_geometry',
1611 'common/gpu/media/vaapi_h264_decoder_unittest.cc',
1614 '<(DEPTH)/third_party/libva',
1619 ['chromeos==1 and (target_arch == "arm" or use_x11 == 1)', {
1622 'target_name': 'video_encode_accelerator_unittest',
1623 'type': 'executable',
1625 '../base/base.gyp:base',
1626 '../media/media.gyp:media',
1627 '../media/media.gyp:media_test_support',
1628 '../testing/gtest.gyp:gtest',
1629 '../ui/base/ui_base.gyp:ui_base',
1630 '../ui/gfx/gfx.gyp:gfx',
1631 '../ui/gfx/gfx.gyp:gfx_geometry',
1632 '../ui/gfx/gfx.gyp:gfx_test_support',
1633 '../ui/gl/gl.gyp:gl',
1634 'content.gyp:content',
1637 'common/gpu/media/video_accelerator_unittest_helpers.h',
1638 'common/gpu/media/video_encode_accelerator_unittest.cc',
1641 '<(DEPTH)/third_party/libva',
1642 '<(DEPTH)/third_party/libyuv',
1647 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1654 ['OS == "android"', {
1658 'target_name': 'content_gl_tests_apk',
1662 'content_java_test_support',
1665 'test_suite_name': 'content_gl_tests',
1668 '../build/apk_test.gypi',
1673 'target_name': 'content_unittests_apk',
1676 'content.gyp:content_java',
1677 'content_unittests',
1680 ['v8_use_external_startup_data==1', {
1682 '../v8/tools/gyp/v8.gyp:v8_external_snapshot',
1686 'destination': '<(asset_location)',
1688 '<(PRODUCT_DIR)/natives_blob.bin',
1689 '<(PRODUCT_DIR)/snapshot_blob.bin',
1696 'test_suite_name': 'content_unittests',
1698 ['v8_use_external_startup_data==1', {
1699 'asset_location': '<(PRODUCT_DIR)/content_unittests_apk/assets',
1700 'additional_input_paths': [
1701 '<(PRODUCT_DIR)/content_unittests_apk/assets/natives_blob.bin',
1702 '<(PRODUCT_DIR)/content_unittests_apk/assets/snapshot_blob.bin',
1705 '<(PRODUCT_DIR)/natives_blob.bin',
1706 '<(PRODUCT_DIR)/snapshot_blob.bin',
1711 'includes': [ '../build/apk_test.gypi' ],
1715 'target_name': 'content_browsertests_manifest',
1718 'jinja_inputs': ['shell/android/browsertests_apk/AndroidManifest.xml.jinja2'],
1719 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_manifest/AndroidManifest.xml',
1721 'includes': [ '../build/android/jinja_template.gypi' ],
1725 'target_name': 'content_browsertests_apk',
1728 'content.gyp:content_icudata',
1729 'content.gyp:content_java',
1730 'content.gyp:content_v8_external_data',
1731 'content_browsertests',
1732 'content_java_test_support',
1733 'content_shell_java',
1736 'apk_name': 'content_browsertests',
1737 'java_in_dir': 'shell/android/browsertests_apk',
1738 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_browsertests_manifest/AndroidManifest.xml',
1739 'resource_dir': 'shell/android/browsertests_apk/res',
1740 'native_lib_target': 'libcontent_browsertests',
1741 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1742 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1744 ['icu_use_data_file_flag==1', {
1745 'additional_input_paths': [
1746 '<(PRODUCT_DIR)/icudtl.dat',
1749 ['v8_use_external_startup_data==1', {
1750 'additional_input_paths': [
1751 '<(PRODUCT_DIR)/natives_blob.bin',
1752 '<(PRODUCT_DIR)/snapshot_blob.bin',
1757 'includes': [ '../build/java_apk.gypi' ],
1761 'target_name': 'content_perftests_apk',
1764 'content.gyp:content_java',
1765 'content_perftests',
1768 'test_suite_name': 'content_perftests',
1770 'includes': [ '../build/apk_test.gypi' ],
1773 # GN: //content/shell/android:chromium_linker_test_manifest
1774 'target_name': 'chromium_linker_test_manifest',
1777 'jinja_inputs': ['shell/android/linker_test_apk/AndroidManifest.xml.jinja2'],
1778 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chromium_linker_test_manifest/AndroidManifest.xml',
1780 'includes': [ '../build/android/jinja_template.gypi' ],
1783 # GN: //content/shell/android:chromium_linker_test_apk
1784 'target_name': 'chromium_linker_test_apk',
1787 ['target_arch != "x64" and target_arch != "arm64"', {
1789 'chromium_android_linker_test',
1790 'content.gyp:content_icudata',
1791 'content.gyp:content_java',
1792 'content.gyp:content_v8_external_data',
1793 'content_shell_java',
1796 'apk_name': 'ChromiumLinkerTest',
1797 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chromium_linker_test_manifest/AndroidManifest.xml',
1798 'java_in_dir': 'shell/android/linker_test_apk',
1799 'resource_dir': 'shell/android/linker_test_apk/res',
1800 'native_lib_target': 'libchromium_android_linker_test',
1801 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1802 'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1803 'use_chromium_linker': '1',
1804 'enable_chromium_linker_tests': '1',
1806 ['icu_use_data_file_flag==1', {
1807 'additional_input_paths': [
1808 '<(PRODUCT_DIR)/icudtl.dat',
1811 ['v8_use_external_startup_data==1', {
1812 'additional_input_paths': [
1813 '<(PRODUCT_DIR)/natives_blob.bin',
1814 '<(PRODUCT_DIR)/snapshot_blob.bin',
1819 'includes': [ '../build/java_apk.gypi' ],
1825 # GN: //content/shell/android:linker_test
1826 'target_name': 'chromium_android_linker_test',
1827 'type': 'shared_library',
1828 'defines!': ['CONTENT_IMPLEMENTATION'],
1830 'chromium_android_linker_test_jni_headers',
1831 'content_shell_lib',
1832 # Required to include "content/public/browser/android/compositor.h"
1833 # in chromium_linker_test_android.cc :-(
1834 '../skia/skia.gyp:skia',
1837 'shell/android/linker_test_apk/chromium_linker_test_android.cc',
1838 'shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc',
1842 # GN: //content/shell/android:linker_test_jni_headers
1843 'target_name': 'chromium_android_linker_test_jni_headers',
1846 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java',
1849 'jni_gen_package': 'content/shell',
1851 'includes': [ '../build/jni_generator.gypi' ],
1855 'target_name': 'video_decode_accelerator_unittest_apk',
1858 'video_decode_accelerator_unittest',
1861 'test_suite_name': 'video_decode_accelerator_unittest',
1863 'includes': [ '../build/apk_test.gypi' ],
1866 # GN: //content/public/test/android:test_support_content_jni_headers
1867 'target_name': 'test_support_content_jni_headers',
1870 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
1873 'jni_gen_package': 'content/public/test',
1875 'includes': [ '../build/jni_generator.gypi' ],
1878 # GN: //content/public/test/android:content_java_test_support
1879 'target_name': 'content_java_test_support',
1882 '../base/base.gyp:base',
1883 '../base/base.gyp:base_java_test_support',
1884 'content.gyp:content_java',
1887 'java_in_dir': '../content/public/test/android/javatests',
1889 'includes': [ '../build/java.gypi' ],
1892 # GN: //content/shell/android:content_shell_test_apk
1893 # and //content/public/android:content_javatests
1894 'target_name': 'content_shell_test_apk',
1897 'content_java_test_support',
1898 'content_shell_apk_java',
1899 'content.gyp:content_java',
1900 '../base/base.gyp:base_java',
1901 '../base/base.gyp:base_javatests',
1902 '../base/base.gyp:base_java_test_support',
1903 '../device/battery/battery.gyp:device_battery_javatests',
1904 '../media/media.gyp:media_java',
1905 '../media/media.gyp:media_test_support',
1906 '../mojo/public/mojo_public.gyp:mojo_public_test_interfaces',
1907 '../net/net.gyp:net_java',
1908 '../net/net.gyp:net_javatests',
1909 '../net/net.gyp:net_java_test_support',
1912 'apk_name': 'ContentShellTest',
1913 'java_in_dir': 'shell/android/javatests',
1914 'resource_dir': 'shell/android/shell_apk/res',
1915 'additional_src_dirs': ['public/android/javatests/',],
1918 'includes': [ '../build/java_apk.gypi' ],
1922 ['OS!="android" and OS!="ios" and OS!="linux"', {
1923 # npapi test plugin doesn't build on android or ios
1926 'target_name': 'npapi_test_plugin',
1927 'type': 'loadable_module',
1933 '<(DEPTH)/base/base.gyp:base',
1934 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
1935 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
1938 'test/plugin/npapi_constants.cc',
1939 'test/plugin/npapi_constants.h',
1940 'test/plugin/npapi_test.cc',
1941 'test/plugin/npapi_test.def',
1942 'test/plugin/npapi_test.rc',
1943 'test/plugin/plugin_arguments_test.cc',
1944 'test/plugin/plugin_arguments_test.h',
1945 'test/plugin/plugin_client.cc',
1946 'test/plugin/plugin_client.h',
1947 'test/plugin/plugin_create_instance_in_paint.cc',
1948 'test/plugin/plugin_create_instance_in_paint.h',
1949 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc',
1950 'test/plugin/plugin_delete_plugin_in_deallocate_test.h',
1951 'test/plugin/plugin_delete_plugin_in_stream_test.cc',
1952 'test/plugin/plugin_delete_plugin_in_stream_test.h',
1953 'test/plugin/plugin_execute_stream_javascript.cc',
1954 'test/plugin/plugin_execute_stream_javascript.h',
1955 'test/plugin/plugin_get_javascript_url_test.cc',
1956 'test/plugin/plugin_get_javascript_url_test.h',
1957 'test/plugin/plugin_get_javascript_url2_test.cc',
1958 'test/plugin/plugin_get_javascript_url2_test.h',
1959 'test/plugin/plugin_geturl_test.cc',
1960 'test/plugin/plugin_geturl_test.h',
1961 'test/plugin/plugin_javascript_open_popup.cc',
1962 'test/plugin/plugin_javascript_open_popup.h',
1963 'test/plugin/plugin_new_fails_test.cc',
1964 'test/plugin/plugin_new_fails_test.h',
1965 'test/plugin/plugin_npobject_identity_test.cc',
1966 'test/plugin/plugin_npobject_identity_test.h',
1967 'test/plugin/plugin_npobject_lifetime_test.cc',
1968 'test/plugin/plugin_npobject_lifetime_test.h',
1969 'test/plugin/plugin_npobject_proxy_test.cc',
1970 'test/plugin/plugin_npobject_proxy_test.h',
1971 'test/plugin/plugin_request_read_test.h',
1972 'test/plugin/plugin_request_read_test.cc',
1973 'test/plugin/plugin_schedule_timer_test.cc',
1974 'test/plugin/plugin_schedule_timer_test.h',
1975 'test/plugin/plugin_setup_test.cc',
1976 'test/plugin/plugin_setup_test.h',
1977 'test/plugin/plugin_test.cc',
1978 'test/plugin/plugin_test.h',
1979 'test/plugin/plugin_test_factory.h',
1980 'test/plugin/plugin_thread_async_call_test.cc',
1981 'test/plugin/plugin_thread_async_call_test.h',
1982 'test/plugin/plugin_windowed_test.cc',
1983 'test/plugin/plugin_windowed_test.h',
1984 'test/plugin/plugin_private_test.cc',
1985 'test/plugin/plugin_private_test.h',
1986 'test/plugin/plugin_test_factory.cc',
1987 'test/plugin/plugin_window_size_test.cc',
1988 'test/plugin/plugin_window_size_test.h',
1989 'test/plugin/plugin_windowless_test.cc',
1990 'test/plugin/plugin_windowless_test.h',
1991 'test/plugin/resource.h',
1997 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist',
2002 # TODO(port): Port these.
2003 # plugin_npobject_lifetime_test.cc has win32-isms
2005 'test/plugin/plugin_npobject_lifetime_test.cc',
2006 # The window APIs are necessarily platform-specific.
2007 'test/plugin/plugin_window_size_test.cc',
2008 'test/plugin/plugin_windowed_test.cc',
2009 # Seems windows specific.
2010 'test/plugin/plugin_create_instance_in_paint.cc',
2011 'test/plugin/plugin_create_instance_in_paint.h',
2012 # windows-specific resources
2013 'test/plugin/npapi_test.def',
2014 'test/plugin/npapi_test.rc',
2018 'product_extension': 'plugin',
2021 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
2025 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_arch == "arm")', {
2026 # Shared libraries need -fPIC on x86-64
2032 'target_name': 'copy_npapi_test_plugin',
2035 'npapi_test_plugin',
2041 'destination': '<(PRODUCT_DIR)/plugins',
2042 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'],
2049 'destination': '<(PRODUCT_DIR)/plugins/',
2050 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'],
2054 ['os_posix == 1 and OS != "mac"', {
2057 'destination': '<(PRODUCT_DIR)/plugins',
2058 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],