[go: nahoru, domu]

blob: b88b17f818ff3fed6282e4a7275c2cc8e48c282f [file] [log] [blame]
jamesr@chromium.org79ff77e62014-07-08 10:59:161# Copyright 2014 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.
4
brettw2b2364b2015-05-01 22:36:235import("//build/config/chrome_build.gni")
mbjorge6cfa6182017-01-06 23:14:316import("//build/config/chromecast_build.gni")
dpranke49b9a3e2016-02-20 15:42:417import("//build/config/compiler/compiler.gni")
brettw25309d392015-01-13 04:37:368import("//build/config/crypto.gni")
jamesr@chromium.org79ff77e62014-07-08 10:59:169import("//build/config/features.gni")
10import("//build/config/ui.gni")
Brett Wilson0748bf412016-11-22 17:55:4611import("//media/media_options.gni")
Jay Civelli1c14aad2017-10-03 17:08:2612import("//net/features.gni")
rockot85dce0862015-11-13 01:33:5913import("//mojo/public/tools/bindings/mojom.gni")
brettw4b461082016-11-19 18:55:1614import("//ppapi/features/features.gni")
rockot0a386b5d92017-01-25 00:14:3415import("//services/catalog/public/tools/catalog.gni")
mek38d9efa12016-12-28 20:21:3216import("//services/service_manager/public/service_manifest.gni")
qsrfb5251d12015-01-21 15:57:2217import("//testing/test.gni")
brettw8a274fa2016-11-15 00:20:4018import("//third_party/WebKit/public/public_features.gni")
machenbachd65ec5c2016-07-22 09:05:2319import("//v8/gni/v8.gni")
jamesr@chromium.org79ff77e62014-07-08 10:59:1620
brettw000e11f2016-06-11 01:47:1821# Use a static library here because many test binaries depend on this but don't
22# require many files from it. This makes linking more efficient.
23static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:2424 testonly = true
dprankea22b0732015-10-21 21:15:1125
brettwb78fc9e2016-03-25 21:02:5126 # See comment at the top of //content/BUILD.gn for why this is disabled in
27 # component builds.
28 if (is_component_build) {
29 check_includes = false
30 }
31
brettw6b0712a2016-07-15 17:48:2032 sources = [
Aaron Leventhal77c82742017-09-27 14:38:5633 "../browser/accessibility/accessibility_event_recorder.cc",
34 "../browser/accessibility/accessibility_event_recorder.h",
35 "../browser/accessibility/accessibility_event_recorder_mac.mm",
36 "../browser/accessibility/accessibility_event_recorder_win.cc",
peterad63c7e2017-03-27 12:34:4637 "../browser/background_fetch/background_fetch_embedded_worker_test_helper.cc",
38 "../browser/background_fetch/background_fetch_embedded_worker_test_helper.h",
39 "../browser/background_fetch/background_fetch_test_base.cc",
40 "../browser/background_fetch/background_fetch_test_base.h",
Dan Elphick975213182017-09-22 10:37:4741 "../browser/background_fetch/background_fetch_test_browser_context.cc",
42 "../browser/background_fetch/background_fetch_test_browser_context.h",
43 "../browser/background_fetch/mock_background_fetch_delegate.cc",
44 "../browser/background_fetch/mock_background_fetch_delegate.h",
brettwb167c7332016-09-07 22:52:4645 "../browser/download/mock_download_file.cc",
46 "../browser/download/mock_download_file.h",
xingliu468824d2017-02-28 02:59:2547 "../browser/download/mock_download_item_impl.cc",
48 "../browser/download/mock_download_item_impl.h",
xingliuf61d39f2017-01-27 22:46:4649 "../browser/download/mock_download_job.cc",
50 "../browser/download/mock_download_job.h",
Min Qin606840c2017-10-12 05:07:1651 "../browser/download/slow_download_http_response.cc",
52 "../browser/download/slow_download_http_response.h",
zqzhangf64ef58c2017-01-10 22:17:4453 "../browser/media/session/mock_media_session_observer.cc",
54 "../browser/media/session/mock_media_session_observer.h",
pkotwicz4207dcd2016-09-27 23:46:1755 "../browser/service_worker/embedded_worker_test_helper.cc",
56 "../browser/service_worker/embedded_worker_test_helper.h",
shimazu3b85dfb2017-02-21 13:03:3057 "../browser/service_worker/service_worker_test_utils.cc",
nhiroki5d49a6f2017-03-23 13:50:2058 "../browser/service_worker/service_worker_test_utils.h",
brettwb167c7332016-09-07 22:52:4659 "../public/test/background_sync_test_util.cc",
60 "../public/test/background_sync_test_util.h",
61 "../public/test/browser_side_navigation_test_utils.cc",
62 "../public/test/browser_side_navigation_test_utils.h",
brettw6b0712a2016-07-15 17:48:2063 "../public/test/browser_test.h",
64 "../public/test/browser_test_base.cc",
65 "../public/test/browser_test_base.h",
66 "../public/test/browser_test_utils.cc",
67 "../public/test/browser_test_utils.h",
msrameke169ccb2017-04-26 05:21:4168 "../public/test/browsing_data_remover_test_util.cc",
69 "../public/test/browsing_data_remover_test_util.h",
msramekee2be6e2017-03-27 19:28:0170 "../public/test/cache_test_util.cc",
71 "../public/test/cache_test_util.h",
brettwb167c7332016-09-07 22:52:4672 "../public/test/content_test_suite_base.cc",
73 "../public/test/content_test_suite_base.h",
arthursonzogni14b32302017-09-27 08:06:1074 "../public/test/controllable_http_response.cc",
75 "../public/test/controllable_http_response.h",
brettwb167c7332016-09-07 22:52:4676 "../public/test/download_test_observer.cc",
77 "../public/test/download_test_observer.h",
harkness41f3b132017-03-13 16:15:0778 "../public/test/fake_download_item.cc",
79 "../public/test/fake_download_item.h",
Matt Falkenhagenda8af672017-09-12 02:39:2380 "../public/test/fake_service_worker_context.cc",
81 "../public/test/fake_service_worker_context.h",
brettwb167c7332016-09-07 22:52:4682 "../public/test/fake_speech_recognition_manager.cc",
83 "../public/test/fake_speech_recognition_manager.h",
paulmeyerda992f52017-01-27 17:11:2884 "../public/test/find_test_utils.cc",
85 "../public/test/find_test_utils.h",
brettwb167c7332016-09-07 22:52:4686 "../public/test/frame_load_waiter.cc",
87 "../public/test/frame_load_waiter.h",
88 "../public/test/javascript_test_observer.cc",
89 "../public/test/javascript_test_observer.h",
hajimehoshieeaf19212016-11-08 11:56:2390 "../public/test/memory_coordinator_test_utils.cc",
91 "../public/test/memory_coordinator_test_utils.h",
msramek9bc8902c2017-06-07 11:23:1092 "../public/test/mock_browsing_data_remover_delegate.cc",
93 "../public/test/mock_browsing_data_remover_delegate.h",
brettwb167c7332016-09-07 22:52:4694 "../public/test/mock_download_item.cc",
95 "../public/test/mock_download_item.h",
96 "../public/test/mock_download_manager.cc",
97 "../public/test/mock_download_manager.h",
98 "../public/test/mock_notification_observer.cc",
99 "../public/test/mock_notification_observer.h",
100 "../public/test/mock_render_process_host.cc",
101 "../public/test/mock_render_process_host.h",
102 "../public/test/mock_render_thread.cc",
103 "../public/test/mock_render_thread.h",
104 "../public/test/mock_resource_context.cc",
105 "../public/test/mock_resource_context.h",
jamcb4ae152017-05-19 01:35:51106 "../public/test/navigation_handle_observer.cc",
107 "../public/test/navigation_handle_observer.h",
clamy6b6831f2017-03-02 16:30:17108 "../public/test/navigation_simulator.cc",
109 "../public/test/navigation_simulator.h",
Ken Rockotc4dc2d02017-08-17 23:16:07110 "../public/test/network_service_test_helper.cc",
111 "../public/test/network_service_test_helper.h",
brettwb167c7332016-09-07 22:52:46112 "../public/test/ppapi_test_utils.cc",
113 "../public/test/ppapi_test_utils.h",
114 "../public/test/render_view_test.cc",
115 "../public/test/render_view_test.h",
lazyboy63b994a2017-06-30 21:20:23116 "../public/test/service_worker_test_helpers.cc",
117 "../public/test/service_worker_test_helpers.h",
Matt Menkeb7eb0d82017-08-31 00:20:20118 "../public/test/simple_url_loader_test_helper.cc",
119 "../public/test/simple_url_loader_test_helper.h",
brettwb167c7332016-09-07 22:52:46120 "../public/test/test_browser_context.cc",
121 "../public/test/test_browser_context.h",
122 "../public/test/test_browser_thread.cc",
123 "../public/test/test_browser_thread.h",
124 "../public/test/test_browser_thread_bundle.cc",
125 "../public/test/test_browser_thread_bundle.h",
126 "../public/test/test_content_client_initializer.cc",
127 "../public/test/test_content_client_initializer.h",
128 "../public/test/test_download_request_handler.cc",
129 "../public/test/test_download_request_handler.h",
130 "../public/test/test_file_error_injector.cc",
131 "../public/test/test_file_error_injector.h",
nickbfaea4ee2016-12-02 20:59:31132 "../public/test/test_fileapi_operation_waiter.cc",
133 "../public/test/test_fileapi_operation_waiter.h",
lukasza67fdcaf2016-11-16 00:27:52134 "../public/test/test_frame_navigation_observer.cc",
135 "../public/test/test_frame_navigation_observer.h",
jam700d86f2017-04-25 20:04:19136 "../public/test/test_host_resolver.cc",
137 "../public/test/test_host_resolver.h",
brettwb167c7332016-09-07 22:52:46138 "../public/test/test_launcher.cc",
139 "../public/test/test_launcher.h",
brettwb167c7332016-09-07 22:52:46140 "../public/test/test_navigation_observer.cc",
141 "../public/test/test_navigation_observer.h",
Lucas Garron79e1a972017-10-04 22:25:06142 "../public/test/test_navigation_throttle.cc",
143 "../public/test/test_navigation_throttle.h",
Charles Harrisond7bd7e12017-08-07 23:27:29144 "../public/test/test_navigation_throttle_inserter.cc",
145 "../public/test/test_navigation_throttle_inserter.h",
brettwb167c7332016-09-07 22:52:46146 "../public/test/test_notification_tracker.cc",
147 "../public/test/test_notification_tracker.h",
148 "../public/test/test_renderer_host.cc",
149 "../public/test/test_renderer_host.h",
benff461632016-10-06 14:27:33150 "../public/test/test_service.cc",
151 "../public/test/test_service.h",
152 "../public/test/test_service_manager_context.cc",
153 "../public/test/test_service_manager_context.h",
Justin Donnellya7a6fec852017-08-01 14:59:22154 "../public/test/test_storage_partition.cc",
155 "../public/test/test_storage_partition.h",
brettwb167c7332016-09-07 22:52:46156 "../public/test/test_synchronous_compositor_android.cc",
157 "../public/test/test_synchronous_compositor_android.h",
mmenkef73a5122017-07-13 23:27:39158 "../public/test/test_url_loader_client.cc",
159 "../public/test/test_url_loader_client.h",
brettwb167c7332016-09-07 22:52:46160 "../public/test/test_utils.cc",
161 "../public/test/test_utils.h",
162 "../public/test/test_web_contents_factory.h",
163 "../public/test/test_web_ui.cc",
164 "../public/test/test_web_ui.h",
165 "../public/test/text_input_test_utils.cc",
166 "../public/test/text_input_test_utils.h",
ekaramad3f7daa92016-10-18 20:14:37167 "../public/test/text_input_test_utils_mac.mm",
brettwb167c7332016-09-07 22:52:46168 "../public/test/unittest_test_suite.cc",
169 "../public/test/unittest_test_suite.h",
rockot96c63e32017-03-20 23:23:03170 "../public/test/web_contents_binding_set_test_binder.h",
brettwb167c7332016-09-07 22:52:46171 "../public/test/web_contents_tester.cc",
172 "../public/test/web_contents_tester.h",
173 "accessibility_browser_test_utils.cc",
174 "accessibility_browser_test_utils.h",
175 "appcache_test_helper.cc",
176 "appcache_test_helper.h",
177 "blink_test_environment.cc",
178 "blink_test_environment.h",
179 "content_browser_sanity_checker.cc",
180 "content_browser_sanity_checker.h",
181 "content_test_suite.cc",
182 "content_test_suite.h",
Balazs Engedya40712f2017-09-15 15:01:11183 "did_commit_provisional_load_interceptor.cc",
184 "did_commit_provisional_load_interceptor.h",
Kevin McNeeab618482017-07-26 20:05:34185 "dummy_render_widget_host_delegate.h",
brettwb167c7332016-09-07 22:52:46186 "dwrite_font_fake_sender_win.cc",
187 "dwrite_font_fake_sender_win.h",
188 "fake_compositor_dependencies.cc",
189 "fake_compositor_dependencies.h",
190 "fake_plugin_service.cc",
191 "fake_plugin_service.h",
samans2040988b2017-04-11 23:58:35192 "fake_renderer_compositor_frame_sink.cc",
193 "fake_renderer_compositor_frame_sink.h",
brettwb167c7332016-09-07 22:52:46194 "mock_background_sync_controller.cc",
195 "mock_background_sync_controller.h",
196 "mock_google_streaming_server.cc",
197 "mock_google_streaming_server.h",
brettwb167c7332016-09-07 22:52:46198 "mock_keyboard.cc",
199 "mock_keyboard.h",
200 "mock_keyboard_driver_win.cc",
201 "mock_keyboard_driver_win.h",
mek26f46db2016-12-22 21:09:02202 "mock_leveldb_database.cc",
203 "mock_leveldb_database.h",
Kevin McNee80e0a452017-08-09 14:42:18204 "mock_overscroll_observer.h",
brettwb167c7332016-09-07 22:52:46205 "mock_permission_manager.cc",
206 "mock_permission_manager.h",
miguelgabc61bb2017-05-11 12:16:07207 "mock_platform_notification_service.cc",
208 "mock_platform_notification_service.h",
brettwb167c7332016-09-07 22:52:46209 "mock_render_process.cc",
210 "mock_render_process.h",
211 "mock_ssl_host_state_delegate.cc",
212 "mock_ssl_host_state_delegate.h",
tyoshino6d767112016-10-24 06:44:53213 "mock_webassociatedurlloader.cc",
214 "mock_webassociatedurlloader.h",
brettwb167c7332016-09-07 22:52:46215 "mock_webblob_registry_impl.cc",
216 "mock_webblob_registry_impl.h",
217 "mock_webclipboard_impl.cc",
218 "mock_webclipboard_impl.h",
Dave Tapuska1102c592017-08-31 21:37:34219 "mock_widget_impl.cc",
220 "mock_widget_impl.h",
Dave Tapuska72a602232017-10-17 14:31:50221 "mock_widget_input_handler.cc",
222 "mock_widget_input_handler.h",
brettwb167c7332016-09-07 22:52:46223 "net/url_request_abort_on_end_job.cc",
224 "net/url_request_abort_on_end_job.h",
225 "ppapi_unittest.cc",
226 "ppapi_unittest.h",
227 "test_background_sync_context.cc",
228 "test_background_sync_context.h",
229 "test_background_sync_manager.cc",
230 "test_background_sync_manager.h",
231 "test_blink_web_unit_test_support.cc",
232 "test_blink_web_unit_test_support.h",
233 "test_content_browser_client.cc",
234 "test_content_browser_client.h",
235 "test_content_client.cc",
236 "test_content_client.h",
Jay Civelli2df24642017-10-09 20:22:28237 "test_mojo_proxy_resolver_factory.cc",
238 "test_mojo_proxy_resolver_factory.h",
brettwb167c7332016-09-07 22:52:46239 "test_navigation_url_loader.cc",
240 "test_navigation_url_loader.h",
241 "test_navigation_url_loader_delegate.cc",
242 "test_navigation_url_loader_delegate.h",
243 "test_navigation_url_loader_factory.cc",
244 "test_navigation_url_loader_factory.h",
245 "test_render_frame.cc",
246 "test_render_frame.h",
247 "test_render_frame_host.cc",
248 "test_render_frame_host.h",
249 "test_render_frame_host_factory.cc",
250 "test_render_frame_host_factory.h",
251 "test_render_view_host.cc",
252 "test_render_view_host.h",
253 "test_render_view_host_factory.cc",
254 "test_render_view_host_factory.h",
255 "test_web_contents.cc",
256 "test_web_contents.h",
257 "test_web_contents_factory.cc",
258 "web_contents_observer_sanity_checker.cc",
259 "web_contents_observer_sanity_checker.h",
260 "web_gesture_curve_mock.cc",
261 "web_gesture_curve_mock.h",
brettw6b0712a2016-07-15 17:48:20262 ]
brettw6b0712a2016-07-15 17:48:20263
dprankea22b0732015-10-21 21:15:11264 configs += [
265 "//build/config:precompiled_headers",
266 "//v8:external_startup_data",
267 ]
268
brettw39355da2015-07-11 00:20:51269 public_deps = [
Lukasz Anforowicz1d46ecd2017-07-14 18:21:08270 "//components/variations:test_support",
brettwa78fded2014-09-07 00:27:41271 "//content/public/app:both",
sammcd06e3fc2015-04-28 00:14:54272 "//content/public/browser",
273 "//content/public/common",
rockot38e46dd2017-03-24 16:55:13274 "//ipc",
liberatoa8da3b52017-05-02 20:23:51275 "//media/mojo/clients",
276 "//media/mojo/interfaces",
jamb3c1195df2016-03-21 20:41:29277 "//third_party/WebKit/public:blink",
kinuko388c2cba2016-04-05 05:00:09278 "//third_party/WebKit/public:test_support",
brettw39355da2015-07-11 00:20:51279 ]
280 deps = [
jamb3c1195df2016-03-21 20:41:29281 ":content_test_mojo_bindings",
brettwb78fc9e2016-03-25 21:02:51282 "//base/third_party/dynamic_annotations",
jamb3c1195df2016-03-21 20:41:29283 "//cc:test_support",
brettw39355da2015-07-11 00:20:51284 "//cc/blink",
fsamuel812b8482016-05-16 18:52:18285 "//cc/ipc",
mek26f46db2016-12-22 21:09:02286 "//components/leveldb/public/interfaces",
Fady Samuelbac0f1a2017-08-02 15:54:02287 "//components/viz/host",
Fady Samuel764e0a42017-07-13 22:35:44288 "//components/viz/service",
brettwb78fc9e2016-03-25 21:02:51289 "//content/app:both_for_content_tests",
jam447407fb2016-05-06 17:57:40290 "//content/browser:for_content_tests",
jamb3c1195df2016-03-21 20:41:29291 "//content/browser/speech/proto",
brettwdb087102016-04-18 21:33:08292 "//content/child:for_content_tests",
jamb3c1195df2016-03-21 20:41:29293 "//content/gpu",
brettwb78fc9e2016-03-25 21:02:51294 "//content/public/browser",
jamb3c1195df2016-03-21 20:41:29295 "//content/public/child",
mmenke680c2142017-07-05 19:08:56296 "//content/public/common",
jam700d86f2017-04-25 20:04:19297 "//content/public/common:service_names",
jamb3c1195df2016-03-21 20:41:29298 "//content/public/renderer",
299 "//content/public/utility",
brettwb78fc9e2016-03-25 21:02:51300 "//content/renderer:for_content_tests",
tansellfa690732016-11-26 07:06:32301 "//content/shell:pak",
brettwb78fc9e2016-03-25 21:02:51302 "//content/utility:for_content_tests",
alexis.menardb39a30822016-09-30 15:14:39303 "//device/base/synchronization",
lethalantidote893681c2016-09-13 19:36:31304 "//device/geolocation",
jamb3c1195df2016-03-21 20:41:29305 "//ipc:test_support",
jamb3c1195df2016-03-21 20:41:29306 "//media",
mcasase40d7522016-06-21 16:11:40307 "//media/capture",
mcasasbf362942016-11-29 03:44:13308 "//media/capture/mojo:image_capture",
rockotc547787a2016-06-11 00:38:55309 "//mojo/edk/system",
jamesr@chromium.org79ff77e62014-07-08 10:59:16310 "//net:test_support",
Matt Falkenhagen2ab4ee32017-08-10 10:43:10311 "//services/network/public/interfaces:interfaces",
Jay Civelli2df24642017-10-09 20:22:28312 "//services/proxy_resolver:lib",
rockot734fb662016-10-15 16:41:30313 "//services/service_manager/public/cpp",
Saman Sami1f34578b2017-08-28 18:31:56314 "//services/viz/public/interfaces",
jamesr@chromium.org79ff77e62014-07-08 10:59:16315 "//skia",
jamb3c1195df2016-03-21 20:41:29316 "//storage/browser",
pwnall343665e72017-04-13 04:04:40317 "//storage/browser:test_support",
pilgrim4af8c212014-09-05 17:30:15318 "//storage/common",
jamesr@chromium.org79ff77e62014-07-08 10:59:16319 "//testing/gmock",
320 "//testing/gtest",
Hitoshi Yoshida53386112017-08-23 08:29:03321 "//tools/v8_context_snapshot:v8_context_snapshot",
jamesr@chromium.org79ff77e62014-07-08 10:59:16322 "//ui/accessibility:ax_gen",
323 "//ui/base",
tfarina@chromium.orge54a1f522014-07-22 23:26:48324 "//ui/base:test_support",
sdefresnec6574a552016-02-08 16:58:21325 "//ui/base:ui_data_pack",
agrieved7a71c882015-11-20 19:53:28326 "//ui/base/ime",
jamb3c1195df2016-03-21 20:41:29327 "//ui/compositor:test_support",
robliao18e220e82016-04-19 16:47:12328 "//ui/display",
kpschoedel3b0960a2015-05-11 17:52:11329 "//ui/events:dom_keycode_converter",
jamesr@chromium.org79ff77e62014-07-08 10:59:16330 "//ui/events:events_base",
jamesr@chromium.org79ff77e62014-07-08 10:59:16331 "//ui/events:gesture_detection",
agrieved7a71c882015-11-20 19:53:28332 "//ui/events:test_support",
Dave Tapuska72a602232017-10-17 14:31:50333 "//ui/events/blink",
tfarina@chromium.orge54a1f522014-07-22 23:26:48334 "//ui/gfx:test_support",
Brett Wilsone7487942014-09-09 23:37:29335 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26336 "//ui/gl:test_support",
jamesr@chromium.org79ff77e62014-07-08 10:59:16337 "//ui/resources",
jamb3c1195df2016-03-21 20:41:29338 "//ui/surface",
jamesr@chromium.org79ff77e62014-07-08 10:59:16339 "//url",
mfoltzfcad52622016-09-03 03:08:33340 "//url/mojo:url_mojom_gurl",
jamb3c1195df2016-03-21 20:41:29341 "//v8",
jamesr@chromium.org79ff77e62014-07-08 10:59:16342 ]
343
tansell08c74c92016-11-02 05:45:47344 data_deps = [
345 "//content/shell:pak",
346 ]
347
jamb3c1195df2016-03-21 20:41:29348 if (is_android) {
349 sources -= [
350 "mock_google_streaming_server.cc",
351 "mock_google_streaming_server.h",
jamesr@chromium.org79ff77e62014-07-08 10:59:16352 ]
leon.han7e016492017-04-10 02:40:58353 deps += [ "//mojo/android:libsystem_java" ]
agrievee786dac2015-12-02 14:45:22354 }
jamesr@chromium.org79ff77e62014-07-08 10:59:16355
agrievee786dac2015-12-02 14:45:22356 if (enable_plugins) {
357 deps += [
358 "//content/ppapi_plugin",
359 "//ppapi/host",
360 "//ppapi/proxy",
361 "//ppapi/proxy:test_support",
362 "//ppapi/shared_impl",
363 "//ppapi/shared_impl:test_support",
364 ]
jamb3c1195df2016-03-21 20:41:29365 } else {
tommycli5bd02f12016-09-27 21:53:08366 sources -= [
367 "../public/test/ppapi_test_utils.cc",
368 "ppapi_unittest.cc",
369 ]
agrievee786dac2015-12-02 14:45:22370 }
jamesr50081742014-09-09 07:52:22371
agrievee786dac2015-12-02 14:45:22372 if (enable_webrtc) {
373 sources += [
374 "../renderer/media/mock_data_channel_impl.cc",
375 "../renderer/media/mock_data_channel_impl.h",
376 "../renderer/media/mock_media_stream_dispatcher.cc",
377 "../renderer/media/mock_media_stream_dispatcher.h",
Chandan Padhibbaab0eb2017-08-18 10:26:14378 "../renderer/media/mock_mojo_media_stream_dispatcher_host.cc",
379 "../renderer/media/mock_mojo_media_stream_dispatcher_host.h",
agrievee786dac2015-12-02 14:45:22380 "../renderer/media/mock_peer_connection_impl.cc",
381 "../renderer/media/mock_peer_connection_impl.h",
382 "../renderer/media/mock_web_rtc_peer_connection_handler_client.cc",
383 "../renderer/media/mock_web_rtc_peer_connection_handler_client.h",
384 "../renderer/media/webrtc/mock_peer_connection_dependency_factory.cc",
385 "../renderer/media/webrtc/mock_peer_connection_dependency_factory.h",
386 ]
jamesr@chromium.org79ff77e62014-07-08 10:59:16387
agrievee786dac2015-12-02 14:45:22388 deps += [
kjellanderd0e9a072016-08-01 08:51:26389 "//third_party/webrtc/api:libjingle_peerconnection",
hbos9f64bf32016-09-24 08:38:17390 "//third_party/webrtc/api:rtc_stats_api",
magjed828787a2016-12-06 16:05:00391 "//third_party/webrtc/media:rtc_media_base",
agrievee786dac2015-12-02 14:45:22392 "//third_party/webrtc/modules/video_capture",
mmenke680c2142017-07-05 19:08:56393 "//third_party/webrtc/rtc_base:rtc_base_approved",
hbos9f64bf32016-09-24 08:38:17394 "//third_party/webrtc/stats:rtc_stats",
kjellandere3cbd6d2017-02-28 06:49:46395 "//third_party/webrtc_overrides:init_webrtc",
jamesr@chromium.org79ff77e62014-07-08 10:59:16396 ]
397 }
agrievee786dac2015-12-02 14:45:22398
399 if (use_glib) {
400 configs += [ "//build/config/linux:glib" ]
401 }
402
403 if (use_aura) {
Kevin McNee80e0a452017-08-09 14:42:18404 sources += [
405 "mock_overscroll_controller_delegate_aura.cc",
406 "mock_overscroll_controller_delegate_aura.h",
407 ]
408
agrievee786dac2015-12-02 14:45:22409 deps += [
410 "//ui/aura:test_support",
411 "//ui/resources:ui_test_pak",
412 "//ui/wm",
413 ]
414 }
415
416 if (use_aura || is_mac) {
417 deps += [
danakjc391f332017-07-12 20:45:52418 "//components/viz/common",
419 "//components/viz/host",
420 "//components/viz/service",
johannkoenig8cdf03472016-03-02 13:54:31421 "//third_party/libvpx",
agrievee786dac2015-12-02 14:45:22422 "//ui/compositor",
423 ]
424
425 sources += [
426 "../browser/compositor/test/no_transport_image_transport_factory.cc",
427 "../browser/compositor/test/no_transport_image_transport_factory.h",
428 ]
429 }
430
431 if (use_ozone) {
432 deps += [ "//ui/ozone" ]
433 }
434
435 if (is_win) {
436 deps += [
437 "//content:sandbox_helper_win",
438 "//third_party/iaccessible2",
439 ]
440 }
441
mfomitcheve12a6c5a2016-01-28 00:22:34442 if (is_android) {
Kevin McNee80e0a452017-08-09 14:42:18443 sources += [
444 "mock_overscroll_refresh_handler_android.cc",
445 "mock_overscroll_refresh_handler_android.h",
446 ]
447
agrievee786dac2015-12-02 14:45:22448 deps += [
mcasas4e216e72016-07-28 21:28:38449 "//device/geolocation:geolocation_java",
mcasase40d7522016-06-21 16:11:40450 "//media/capture/video/android:android",
agrievee786dac2015-12-02 14:45:22451 "//ui/android",
timavfe53c2c62016-11-23 02:35:46452 "//ui/android:test_support",
agrievee786dac2015-12-02 14:45:22453 "//ui/shell_dialogs",
454 ]
455 }
456
457 if (is_win) {
458 deps += [ "//sandbox" ]
459 }
460
baixo16600222014-12-04 20:08:38461 if (v8_use_external_startup_data) {
462 deps += [ "//gin:gin" ]
463 }
ennea46e8102016-06-21 22:47:09464
465 if (is_mac) {
466 deps += [ "//ui/accelerated_widget_mac" ]
467 }
jamesr@chromium.org79ff77e62014-07-08 10:59:16468}
469
carlosk282c4372016-02-02 14:53:49470# browsertest_support can be used by targets that run content_shell based
471# browser tests.
brettw2dbbe5b02016-07-14 19:38:57472static_library("browsertest_support") {
brettw013b729f2015-01-12 08:03:47473 testonly = true
474
brettwb78fc9e2016-03-25 21:02:51475 # See comment at the top of //content/BUILD.gn for why this is disabled in
476 # component builds.
477 if (is_component_build) {
478 check_includes = false
479 }
480
brettw013b729f2015-01-12 08:03:47481 sources = [
482 "../public/test/content_browser_test.cc",
483 "../public/test/content_browser_test.h",
484 "../public/test/content_browser_test_utils.cc",
485 "../public/test/content_browser_test_utils.h",
486 "../public/test/content_browser_test_utils_mac.mm",
alexmos4cf2aa32015-07-15 23:40:43487 "content_browser_test_utils_internal.cc",
488 "content_browser_test_utils_internal.h",
brettw013b729f2015-01-12 08:03:47489 "content_test_launcher.cc",
490 ]
491
492 deps = [
brettw6b0712a2016-07-15 17:48:20493 ":layouttest_support",
brettwb78fc9e2016-03-25 21:02:51494 ":test_support",
495 "//base",
496 "//base:i18n",
497 "//base/test:test_config",
498 "//base/test:test_support",
Fady Samuele4786072017-07-24 20:03:38499 "//components/viz/service",
brettwb78fc9e2016-03-25 21:02:51500 "//content/app:both_for_content_tests",
501 "//content/browser:for_content_tests",
brettw013b729f2015-01-12 08:03:47502 "//content/shell:content_shell_lib",
brettwb78fc9e2016-03-25 21:02:51503 "//gin",
504 "//media",
505 "//net",
brettw013b729f2015-01-12 08:03:47506 "//skia",
507 "//testing/gtest",
508 "//ui/accessibility:ax_gen",
brettwb78fc9e2016-03-25 21:02:51509 "//ui/base",
510 "//ui/base/ime",
brettw013b729f2015-01-12 08:03:47511 ]
512
513 if (is_android) {
514 deps += [ "//content/public/app:both" ]
515 } else {
516 deps += [ "//content/public/browser" ]
517 }
dprankea22b0732015-10-21 21:15:11518
519 configs += [ "//v8:external_startup_data" ]
brettw013b729f2015-01-12 08:03:47520}
521
rockotb814a582015-06-05 00:30:52522mojom("content_test_mojo_bindings") {
523 sources = [
benff461632016-10-06 14:27:33524 "../public/test/test_service.mojom",
rockota32ca4b2016-07-26 00:12:03525 "test_browser_associated_interfaces.mojom",
rockotb814a582015-06-05 00:30:52526 ]
527}
528
brettw013b729f2015-01-12 08:03:47529mojom("web_ui_test_mojo_bindings") {
530 sources = [
531 "data/web_ui_test_mojo_bindings.mojom",
532 ]
533}
534
Ken Rockot6f2ba282017-06-07 00:11:23535mojom("mojo_layouttest_bindings") {
536 testonly = true
537 sources = [
538 "data/mojo_layouttest_test.mojom",
539 ]
540}
541
Xiaohan Wang15303d0c2017-10-06 05:22:44542mojom("test_interfaces") {
543 testonly = true
544 sources = [
545 "echo.mojom",
546 ]
547}
548
jamb3c1195df2016-03-21 20:41:29549static_library("layouttest_support") {
550 testonly = true
brettwb78fc9e2016-03-25 21:02:51551
552 # See comment at the top of //content/BUILD.gn for why this is disabled in
553 # component builds.
554 if (is_component_build) {
555 check_includes = false
556 }
557
brettwb167c7332016-09-07 22:52:46558 sources = [
559 "../public/test/layouttest_support.h",
560 "../public/test/nested_message_pump_android.cc",
561 "../public/test/nested_message_pump_android.h",
562 "layouttest_support.cc",
563 ]
jamesr@chromium.org79ff77e62014-07-08 10:59:16564
jamb3c1195df2016-03-21 20:41:29565 deps = [
566 ":test_support",
567 "//cc",
danakjc391f332017-07-12 20:45:52568 "//components/viz/test:test_support",
brettwb78fc9e2016-03-25 21:02:51569 "//content/browser:for_content_tests",
brettw6b0712a2016-07-15 17:48:20570 "//content/child:for_content_tests",
jamb3c1195df2016-03-21 20:41:29571 "//content/public/common",
tfarina175c5da2017-05-05 23:06:01572 "//content/public/renderer",
brettwb78fc9e2016-03-25 21:02:51573 "//content/renderer:for_content_tests",
dcheng59826e32017-02-22 10:31:36574 "//content/shell/test_runner:test_runner",
brettw6b0712a2016-07-15 17:48:20575 "//device/bluetooth",
juncai2f298a82017-04-18 03:51:39576 "//device/gamepad/public/cpp:shared_with_blink",
blundell241fad6f2017-03-21 11:14:38577 "//device/sensors/public/cpp:full",
sadrul85cc5d82016-12-20 03:37:41578 "//services/ui/public/cpp/gpu",
jamb3c1195df2016-03-21 20:41:29579 "//skia",
580 "//ui/accessibility:ax_gen",
lukaszad322c5ca2016-10-07 00:32:34581 "//ui/events/blink",
ccameron83e8e9a2017-01-04 01:31:20582 "//ui/gfx:test_support",
jamb3c1195df2016-03-21 20:41:29583 "//v8",
584 ]
jamesr@chromium.org79ff77e62014-07-08 10:59:16585
James Robinson060f2e32014-09-10 22:31:37586 if (is_android) {
jbudorick7305b4bb2016-04-27 16:15:31587 deps += [ "//content/public/test/android:test_support_content_jni_headers" ]
James Robinson060f2e32014-09-10 22:31:37588 }
jamb3c1195df2016-03-21 20:41:29589}
590
Daniel Cheng999698bd2017-03-22 04:56:37591static_library("test_runner_support") {
592 testonly = true
593
594 # See comment at the top of //content/BUILD.gn for why this is disabled in
595 # component builds.
596 if (is_component_build) {
597 check_includes = false
598 }
599
600 sources = [
601 "../public/test/test_runner_support.h",
602 "test_runner_support.cc",
603 ]
604
605 deps = [
mattm6b0f5382017-04-11 00:41:42606 "//content/public/renderer",
Daniel Cheng999698bd2017-03-22 04:56:37607 "//content/renderer:for_content_tests",
608 "//third_party/WebKit/public:blink",
609 ]
610}
611
jamb3c1195df2016-03-21 20:41:29612if (is_android) {
613 import("//build/config/android/rules.gni")
614
pkotwicz5a8d8552015-11-12 22:51:57615 jinja_template("content_browsertests_manifest") {
616 testonly = true
617 input =
618 "//content/shell/android/browsertests_apk/AndroidManifest.xml.jinja2"
619 output =
620 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml"
621 }
622
623 android_library("content_browsertests_java") {
624 testonly = true
agrieve696e6a52016-03-23 19:54:45625 java_files = [
626 "../shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java",
627 "../shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java",
628 ]
pkotwicz5a8d8552015-11-12 22:51:57629 deps = [
630 ":content_browsertests_resources",
631 "//base:base_java",
agrieved4d66d42016-06-08 16:53:39632 "//base:base_java_test_support",
pkotwicz5a8d8552015-11-12 22:51:57633 "//content/public/android:content_java",
634 "//content/public/test/android:content_java_test_support",
635 "//content/shell/android:content_shell_browsertests_java",
636 "//testing/android/native_test:native_test_java",
637 "//ui/android:ui_java",
638 ]
639 }
640
641 android_resources("content_browsertests_resources") {
642 testonly = true
643 resource_dirs = [ "//content/shell/android/browsertests_apk/res" ]
644 custom_package = "org.chromium.content_browsertests_apk"
645 }
646}
647
brettw5ff98192015-10-22 06:36:15648test("content_browsertests") {
brettwb78fc9e2016-03-25 21:02:51649 # See comment at the top of //content/BUILD.gn for why this is disabled in
650 # component builds.
651 if (is_component_build) {
652 check_includes = false
653 }
654
brettwb167c7332016-09-07 22:52:46655 sources = [
656 "../app/mojo/mojo_browsertest.cc",
dmazzoni1ca764662016-11-07 07:38:02657 "../browser/accessibility/accessibility_action_browsertest.cc",
brettwb167c7332016-09-07 22:52:46658 "../browser/accessibility/accessibility_ipc_error_browsertest.cc",
659 "../browser/accessibility/accessibility_mode_browsertest.cc",
660 "../browser/accessibility/cross_platform_accessibility_browsertest.cc",
661 "../browser/accessibility/dump_accessibility_browsertest_base.cc",
662 "../browser/accessibility/dump_accessibility_browsertest_base.h",
663 "../browser/accessibility/dump_accessibility_events_browsertest.cc",
664 "../browser/accessibility/dump_accessibility_tree_browsertest.cc",
665 "../browser/accessibility/hit_testing_browsertest.cc",
666 "../browser/accessibility/site_per_process_accessibility_browsertest.cc",
667 "../browser/accessibility/snapshot_ax_tree_browsertest.cc",
668 "../browser/accessibility/touch_accessibility_aura_browsertest.cc",
anantaaad9e622017-07-27 22:41:41669 "../browser/appcache/appcache_browsertest.cc",
brettwb167c7332016-09-07 22:52:46670 "../browser/background_sync/background_sync_browsertest.cc",
leon.handa7e1a12017-05-20 12:40:55671 "../browser/battery_monitor_browsertest.cc",
dmurph07725e02016-12-06 02:28:12672 "../browser/blob_storage/blob_storage_browsertest.cc",
nicka76cc402016-09-22 20:02:59673 "../browser/blob_storage/blob_url_browsertest.cc",
brettwb167c7332016-09-07 22:52:46674 "../browser/bookmarklet_browsertest.cc",
675 "../browser/browser_side_navigation_browsertest.cc",
Matt Menke242fc1a32017-10-17 02:48:01676 "../browser/browsing_data/browsing_data_remover_impl_browsertest.cc",
brettwb167c7332016-09-07 22:52:46677 "../browser/browsing_data/clear_site_data_throttle_browsertest.cc",
msramekee2be6e2017-03-27 19:28:01678 "../browser/browsing_data/conditional_cache_deletion_helper_browsertest.cc",
brettwb167c7332016-09-07 22:52:46679 "../browser/child_process_launcher_browsertest.cc",
680 "../browser/child_process_security_policy_browsertest.cc",
681 "../browser/compositor/image_transport_factory_browsertest.cc",
682 "../browser/cross_site_transfer_browsertest.cc",
683 "../browser/database_browsertest.cc",
684 "../browser/device_sensors/device_sensor_browsertest.cc",
685 "../browser/devtools/protocol/devtools_protocol_browsertest.cc",
arthursonzognia63f3562017-10-06 09:13:01686 "../browser/devtools/render_frame_devtools_agent_host_browsertest.cc",
brettwb167c7332016-09-07 22:52:46687 "../browser/devtools/site_per_process_devtools_browsertest.cc",
688 "../browser/dom_storage/dom_storage_browsertest.cc",
689 "../browser/download/download_browsertest.cc",
690 "../browser/download/drag_download_file_browsertest.cc",
691 "../browser/download/mhtml_generation_browsertest.cc",
692 "../browser/download/save_package_browsertest.cc",
693 "../browser/fileapi/file_system_browsertest.cc",
jsbell14785d902016-10-26 21:37:26694 "../browser/fileapi/fileapi_browsertest.cc",
brettwb167c7332016-09-07 22:52:46695 "../browser/find_request_manager_browsertest.cc",
meacerba52f56202017-04-22 00:08:08696 "../browser/frame_host/data_url_navigation_browsertest.cc",
arthursonzogni7cc34c52017-03-18 09:00:53697 "../browser/frame_host/form_submission_throttle_browsertest.cc",
brettwb167c7332016-09-07 22:52:46698 "../browser/frame_host/frame_tree_browsertest.cc",
699 "../browser/frame_host/interstitial_page_impl_browsertest.cc",
700 "../browser/frame_host/navigation_controller_impl_browsertest.cc",
701 "../browser/frame_host/navigation_handle_impl_browsertest.cc",
702 "../browser/frame_host/render_frame_host_impl_browsertest.cc",
703 "../browser/frame_host/render_frame_host_manager_browsertest.cc",
704 "../browser/frame_host/render_frame_message_filter_browsertest.cc",
alexis.menard17dc30d2016-10-27 14:47:21705 "../browser/generic_sensor_browsertest.cc",
brettwb167c7332016-09-07 22:52:46706 "../browser/gpu/gpu_ipc_browsertests.cc",
brettwb167c7332016-09-07 22:52:46707 "../browser/indexed_db/indexed_db_browsertest.cc",
708 "../browser/indexed_db/mock_browsertest_indexed_db_class_factory.cc",
709 "../browser/indexed_db/mock_browsertest_indexed_db_class_factory.h",
alexmos3b9ad102017-05-26 23:41:08710 "../browser/isolated_origin_browsertest.cc",
brettwb167c7332016-09-07 22:52:46711 "../browser/loader/async_resource_handler_browsertest.cc",
brettwb167c7332016-09-07 22:52:46712 "../browser/loader/cross_site_resource_handler_browsertest.cc",
713 "../browser/loader/reload_cache_control_browsertest.cc",
714 "../browser/loader/resource_dispatcher_host_browsertest.cc",
Devdeep Ray3d467db2017-07-25 01:06:46715 "../browser/loader/resource_scheduler_browsertest.cc",
brettwb167c7332016-09-07 22:52:46716 "../browser/manifest/manifest_browsertest.cc",
brettwb167c7332016-09-07 22:52:46717 "../browser/media/encrypted_media_browsertest.cc",
718 "../browser/media/media_browsertest.cc",
719 "../browser/media/media_browsertest.h",
720 "../browser/media/media_canplaytype_browsertest.cc",
chcunningham20645b6c2017-04-26 00:53:05721 "../browser/media/media_capabilities_browsertest.cc",
watka46402f2016-09-20 18:51:54722 "../browser/media/media_color_browsertest.cc",
brettwb167c7332016-09-07 22:52:46723 "../browser/media/media_redirect_browsertest.cc",
724 "../browser/media/media_source_browsertest.cc",
725 "../browser/media/midi_browsertest.cc",
zqzhanga2147f82016-10-18 22:53:26726 "../browser/media/session/audio_focus_delegate_default_browsertest.cc",
mlamourid9670402017-05-16 10:22:58727 "../browser/media/session/media_session_browsertest.cc",
zqzhang1adf3cb2016-11-01 11:26:45728 "../browser/media/session/media_session_impl_browsertest.cc",
729 "../browser/media/session/media_session_impl_visibility_browsertest.cc",
mlamouri16e26882017-02-24 13:23:10730 "../browser/media/session/media_session_service_impl_browsertest.cc",
zqzhanga2147f82016-10-18 22:53:26731 "../browser/media/session/mock_media_session_player_observer.cc",
732 "../browser/media/session/mock_media_session_player_observer.h",
bashi2cee40a2016-12-20 03:28:13733 "../browser/memory/memory_coordinator_impl_browsertest.cc",
brettwb167c7332016-09-07 22:52:46734 "../browser/message_port_provider_browsertest.cc",
rockotb214d022016-09-14 21:28:45735 "../browser/mojo_sandbox_browsertest.cc",
brettwb167c7332016-09-07 22:52:46736 "../browser/net_info_browsertest.cc",
jinho.bangc4545cd2017-02-08 04:39:08737 "../browser/payments/payment_app_browsertest.cc",
lfg84763c92017-02-16 18:55:15738 "../browser/pointer_lock_browsertest.cc",
739 "../browser/pointer_lock_browsertest.h",
740 "../browser/pointer_lock_browsertest_mac.mm",
leon.hana0c5fa32017-06-13 08:14:11741 "../browser/power_monitor_browsertest.cc",
mlamourid984d262016-10-06 16:09:58742 "../browser/presentation/presentation_browsertest.cc",
brettwb167c7332016-09-07 22:52:46743 "../browser/renderer_host/input/composited_scrolling_browsertest.cc",
alexis.menardb12ba342017-04-15 09:01:19744 "../browser/renderer_host/input/interaction_mq_dynamic_browsertest.cc",
brettwb167c7332016-09-07 22:52:46745 "../browser/renderer_host/input/main_thread_event_queue_browsertest.cc",
tdresser4b3f1a92017-05-19 21:38:47746 "../browser/renderer_host/input/mouse_latency_browsertest.cc",
brettwb167c7332016-09-07 22:52:46747 "../browser/renderer_host/input/non_blocking_event_browsertest.cc",
tdresser7fe8085f2017-05-17 19:57:51748 "../browser/renderer_host/input/scroll_latency_browsertest.cc",
brettwb167c7332016-09-07 22:52:46749 "../browser/renderer_host/input/touch_action_browsertest.cc",
750 "../browser/renderer_host/input/touch_input_browsertest.cc",
751 "../browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc",
sahelff468d5a12017-06-20 19:02:59752 "../browser/renderer_host/input/wheel_scroll_latching_browsertest.cc",
chfremerfc2a14162017-03-07 20:12:54753 "../browser/renderer_host/media/video_capture_browsertest.cc",
brettwb167c7332016-09-07 22:52:46754 "../browser/renderer_host/render_process_host_browsertest.cc",
755 "../browser/renderer_host/render_view_host_browsertest.cc",
756 "../browser/renderer_host/render_widget_host_view_browsertest.cc",
Ken Buchanandaef006b2017-08-17 18:32:15757 "../browser/renderer_host/render_widget_host_view_child_frame_browsertest.cc",
brettwb167c7332016-09-07 22:52:46758 "../browser/resource_loading_browsertest.cc",
759 "../browser/screen_orientation/screen_orientation_browsertest.cc",
760 "../browser/security_exploit_browsertest.cc",
James Cook5b2b3982017-10-17 03:04:21761 "../browser/service_manager/service_manager_context_browsertest.cc",
brettwb167c7332016-09-07 22:52:46762 "../browser/service_worker/service_worker_browsertest.cc",
763 "../browser/session_history_browsertest.cc",
mcasas04e8ca72017-03-01 03:19:19764 "../browser/shape_detection/shape_detection_browsertest.cc",
brettwb167c7332016-09-07 22:52:46765 "../browser/shared_worker/worker_browsertest.cc",
766 "../browser/site_per_process_browsertest.cc",
767 "../browser/site_per_process_browsertest.h",
ekaramad330ba4232016-09-23 17:57:47768 "../browser/site_per_process_mac_browsertest.mm",
Kenneth Russell05091ca2017-10-02 19:52:47769 "../browser/snapshot_browsertest.cc",
Matt Menkeb83ae722017-08-05 01:04:49770 "../browser/storage_partition_impl_browsertest.cc",
brettwb167c7332016-09-07 22:52:46771 "../browser/top_document_isolation_browsertest.cc",
772 "../browser/tracing/background_tracing_manager_browsertest.cc",
Hector Dearman67be6502017-07-19 18:31:19773 "../browser/tracing/memory_instrumentation_browsertest.cc",
brettwb167c7332016-09-07 22:52:46774 "../browser/tracing/memory_tracing_browsertest.cc",
775 "../browser/tracing/tracing_controller_browsertest.cc",
776 "../browser/utility_process_host_impl_browsertest.cc",
777 "../browser/utility_process_mojo_client_browsertest.cc",
leon.han31c48e202017-05-19 07:52:14778 "../browser/vibration_browsertest.cc",
brettwb167c7332016-09-07 22:52:46779 "../browser/wake_lock/wake_lock_browsertest.cc",
780 "../browser/web_contents/opened_by_dom_browsertest.cc",
781 "../browser/web_contents/web_contents_impl_browsertest.cc",
782 "../browser/web_contents/web_contents_view_aura_browsertest.cc",
rockot96c63e32017-03-20 23:23:03783 "../browser/web_contents_binding_set_browsertest.cc",
brettwb167c7332016-09-07 22:52:46784 "../browser/webkit_browsertest.cc",
jam7f2980a62017-05-11 16:42:46785 "../browser/webui/web_ui_browsertest.cc",
brettwb167c7332016-09-07 22:52:46786 "../browser/webui/web_ui_mojo_browsertest.cc",
787 "../child/site_isolation_stats_gatherer_browsertest.cc",
788 "../renderer/accessibility/render_accessibility_impl_browsertest.cc",
guidou44bfa4bd2017-01-13 21:31:48789 "../renderer/blink_platform_audio_hardware_browsertest.cc",
brettwb167c7332016-09-07 22:52:46790 "../renderer/gin_browsertest.cc",
brettwb167c7332016-09-07 22:52:46791 "../renderer/media/renderer_webmediaplayer_delegate_browsertest.cc",
792 "../renderer/mouse_lock_dispatcher_browsertest.cc",
793 "../renderer/render_frame_impl_browsertest.cc",
794 "../renderer/render_thread_impl_browsertest.cc",
795 "../renderer/render_view_browsertest.cc",
796 "../renderer/render_view_browsertest_mac.mm",
797 "../renderer/render_widget_browsertest.cc",
lunalud4a2cc82016-11-22 00:27:23798 "../renderer/screen_orientation/screen_orientation_dispatcher_browsertest.cc",
brettwb167c7332016-09-07 22:52:46799 "../renderer/visual_state_browsertest.cc",
800 "../renderer/webclipboard_impl_browsertest.cc",
801 "../test/browser_test_utils_browsertest.cc",
802 "../test/content_browser_test_test.cc",
803 "../test/webui_resource_browsertest.cc",
804 ]
brettw5ff98192015-10-22 06:36:15805
brettw5ff98192015-10-22 06:36:15806 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
807
brettw5ff98192015-10-22 06:36:15808 configs += [
809 "//build/config:precompiled_headers",
810 "//build/config/compiler:no_size_t_to_int_warning",
811 ]
812
813 deps = [
814 ":browsertest_support",
brettwb78fc9e2016-03-25 21:02:51815 ":content_test_mojo_bindings",
brettw6b0712a2016-07-15 17:48:20816 ":layouttest_support",
817 ":test_support",
brettw5ff98192015-10-22 06:36:15818 ":web_ui_test_mojo_bindings",
brettw5ff98192015-10-22 06:36:15819 "//base/test:test_support",
penghuangd81c1a62016-11-02 20:06:06820 "//components/discardable_memory/client",
821 "//components/discardable_memory/common",
penghuang342762b2016-12-02 21:04:58822 "//components/discardable_memory/service",
mmenke68a50212017-06-12 20:20:31823 "//components/network_session_configurator/common",
Fady Samuelc296f5fb2017-07-21 04:02:19824 "//components/viz/test:test_support",
agrieved7a71c882015-11-20 19:53:28825 "//content:resources",
brettwb78fc9e2016-03-25 21:02:51826 "//content/app:both_for_content_tests",
827 "//content/browser:for_content_tests",
brettw5ff98192015-10-22 06:36:15828 "//content/browser/background_sync:background_sync_proto",
brettw6b0712a2016-07-15 17:48:20829 "//content/child:for_content_tests",
brettw5ff98192015-10-22 06:36:15830 "//content/gpu",
brettwb78fc9e2016-03-25 21:02:51831 "//content/public/browser",
832 "//content/public/child",
brettw5ff98192015-10-22 06:36:15833 "//content/public/common",
brettw5ff98192015-10-22 06:36:15834 "//content/public/renderer",
brettwb78fc9e2016-03-25 21:02:51835 "//content/renderer:for_content_tests",
brettw5ff98192015-10-22 06:36:15836 "//content/shell:content_shell_lib",
leon.hana0c5fa32017-06-13 08:14:11837 "//content/shell:mojo_bindings",
tansellfa690732016-11-26 07:06:32838 "//content/shell:pak",
brettw5ff98192015-10-22 06:36:15839 "//content/test:test_support",
alexis.menardb39a30822016-09-30 15:14:39840 "//device/base/synchronization",
leon.handfbaf46a2016-12-14 01:05:10841 "//device/screen_orientation/public/interfaces",
ke.he48ce2ae2017-02-02 15:31:32842 "//device/sensors",
blundell241fad6f2017-03-21 11:14:38843 "//device/sensors/public/cpp:full",
brettw5ff98192015-10-22 06:36:15844 "//gin",
845 "//gpu",
sadrul6a769422016-12-08 04:54:32846 "//gpu/ipc/host",
rockota628d0b2017-02-09 08:40:15847 "//ipc",
brettw5ff98192015-10-22 06:36:15848 "//ipc:test_support",
849 "//media:test_support",
rockotd4184c42016-08-19 21:34:04850 "//mojo/edk/system",
rockot85dce0862015-11-13 01:33:59851 "//mojo/public/cpp/bindings",
852 "//mojo/public/js",
brettw5ff98192015-10-22 06:36:15853 "//net:test_support",
brettw4b461082016-11-19 18:55:16854 "//ppapi/features",
rockot0a386b5d92017-01-25 00:14:34855 "//services/catalog:lib",
chaopeng01e3b252017-10-18 22:33:37856 "//services/device/public/cpp:device_features",
Ke He60718292017-07-06 04:08:11857 "//services/device/public/cpp/generic_sensor",
leon.han31c48e202017-05-19 07:52:14858 "//services/device/public/interfaces",
Ke He60718292017-07-06 04:08:11859 "//services/device/public/interfaces:generic_sensor",
rockot734fb662016-10-15 16:41:30860 "//services/service_manager/public/cpp",
James Cook5b2b3982017-10-17 03:04:21861 "//services/test/echo/public/interfaces",
sadrulb428f6b2017-03-03 19:28:32862 "//services/ui/gpu/interfaces",
sadrul85cc5d82016-12-20 03:37:41863 "//services/ui/public/cpp/gpu",
chfremer70b40e5122017-05-23 15:13:57864 "//services/video_capture/public/cpp",
Christian Fremerey998ec642017-06-16 15:48:54865 "//services/video_capture/public/interfaces:constants",
brettwb78fc9e2016-03-25 21:02:51866 "//storage/browser",
brettw5ff98192015-10-22 06:36:15867 "//testing/gmock",
868 "//testing/gtest",
869 "//third_party/WebKit/public:blink",
870 "//third_party/leveldatabase",
871 "//third_party/mesa:osmesa",
872 "//third_party/zlib",
873 "//ui/accessibility",
874 "//ui/accessibility:ax_gen",
brettwb78fc9e2016-03-25 21:02:51875 "//ui/base:test_support",
brettw5ff98192015-10-22 06:36:15876 "//ui/base/ime",
brettwb78fc9e2016-03-25 21:02:51877 "//ui/compositor",
brettw6b0712a2016-07-15 17:48:20878 "//ui/display",
879 "//ui/events:test_support",
brettw5ff98192015-10-22 06:36:15880 "//ui/gfx",
881 "//ui/gfx/geometry",
882 "//ui/gl",
883 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40884 "//ui/latency",
bokanc3cd4452016-11-09 04:11:15885 "//ui/native_theme",
brettw5ff98192015-10-22 06:36:15886 "//ui/resources",
887 "//ui/shell_dialogs",
888 "//ui/snapshot",
889 ]
890
lukaszaff560302016-10-21 16:50:29891 data = []
892
brettw5ff98192015-10-22 06:36:15893 data_deps = [
yzshen9e737bf2017-06-21 19:38:23894 ":web_ui_test_mojo_bindings_js_data_deps",
tansell08c74c92016-11-02 05:45:47895 "//content/shell:pak",
lukasza6218c962016-11-11 16:59:45896 "//testing/buildbot/filters:content_browsertests_filters",
brettw5ff98192015-10-22 06:36:15897 "//third_party/mesa:osmesa",
898 ]
899
agrievee786dac2015-12-02 14:45:22900 if (enable_plugins) {
901 deps += [
902 "//ppapi/host",
903 "//ppapi/proxy",
904 "//ppapi/proxy:ipc",
brettwb78fc9e2016-03-25 21:02:51905 "//ppapi/shared_impl:test_support",
agrievee786dac2015-12-02 14:45:22906 ]
907 data_deps += [ "//ppapi:ppapi_tests" ]
rsesekf3a692d2016-05-02 16:29:42908 if (is_mac) {
909 data += [ "$root_out_dir/ppapi_tests.plugin/" ]
910 }
agrievee786dac2015-12-02 14:45:22911 }
912
lukaszaff560302016-10-21 16:50:29913 if (is_android || is_linux || is_mac || is_win) {
914 data += [
915 "$root_out_dir/content_shell.pak",
916 "data/",
917 "//media/test/data/",
918 ]
919 }
920
921 if (is_linux || is_mac || is_win) {
922 data += [
923 "//net/tools/testserver/",
924 "//ppapi/tests/test_case.html",
925 "//ppapi/tests/test_page.css",
926 "//third_party/pyftpdlib/",
927 "//third_party/pywebsocket/",
928 "//third_party/tlslite/",
929 ]
930 }
931
932 if (is_win || is_linux || is_android) {
lukaszaff560302016-10-21 16:50:29933 }
934
brettw5ff98192015-10-22 06:36:15935 if (is_win) {
brettwb167c7332016-09-07 22:52:46936 sources += [ "../browser/accessibility/accessibility_win_browsertest.cc" ]
brettw013b729f2015-01-12 08:03:47937
brettw5ff98192015-10-22 06:36:15938 deps += [
939 "//content/app/strings",
940 "//net:net_resources",
941 "//third_party/WebKit/public:resources",
942 "//third_party/iaccessible2",
943 "//third_party/isimpledom",
brettwbc8b2a22015-07-28 18:24:42944 ]
dpranke8ec93a3a2015-02-20 23:36:08945
brettw5ff98192015-10-22 06:36:15946 libs = [ "oleacc.lib" ]
lukaszaff560302016-10-21 16:50:29947
948 if (symbol_level != 0) {
949 data += [ "$root_out_dir/content_browsertests.exe.pdb" ]
950 }
brettw5ff98192015-10-22 06:36:15951 }
952
thestig91c55be2016-08-22 23:13:04953 if (is_linux) {
zoeclifford525974c2017-05-17 20:31:06954 sources += [
955 "../browser/linux_ipc_browsertest.cc",
956 "../zygote/zygote_browsertest.cc",
957 ]
958 deps += [ "//ui/gfx:test_support" ]
thestig91c55be2016-08-22 23:13:04959 }
960
brettw5ff98192015-10-22 06:36:15961 if (is_android) {
jinsukkim7e377432017-04-18 08:52:52962 if (is_component_build) {
963 sources += [ "../browser/android/render_widget_host_connector.cc" ]
964 }
brettwb167c7332016-09-07 22:52:46965 sources += [
966 "../browser/accessibility/android_granularity_movement_browsertest.cc",
jinsukkim7e377432017-04-18 08:52:52967 "../browser/android/render_widget_host_connector_browsertest.cc",
wychenfd60d8c2017-04-29 00:34:00968 "../browser/android/render_widget_host_connector_browsertest.h",
zqzhanga2147f82016-10-18 22:53:26969 "../browser/media/session/audio_focus_delegate_android_browsertest.cc",
brettwb167c7332016-09-07 22:52:46970 "../shell/android/browsertests_apk/content_browser_tests_jni_onload.cc",
971 ]
mlamouri918734092016-03-12 04:47:52972 sources -= [
zqzhanga2147f82016-10-18 22:53:26973 "../browser/media/session/audio_focus_delegate_default_browsertest.cc",
lfg84763c92017-02-16 18:55:15974 "../browser/pointer_lock_browsertest.cc",
975 "../browser/pointer_lock_browsertest.h",
mlamouri918734092016-03-12 04:47:52976 ]
brettw5ff98192015-10-22 06:36:15977 deps += [
agrieve97176362015-12-01 16:36:19978 ":content_browsertests_java",
brettw013b729f2015-01-12 08:03:47979 "//content/shell:content_shell_lib",
agrieve97176362015-12-01 16:36:19980 "//content/shell/android:content_shell_assets",
agrieved7a71c882015-11-20 19:53:28981 "//content/shell/android:content_shell_jni_headers",
brettw5ff98192015-10-22 06:36:15982 "//testing/android/native_test:native_test_support",
Kevin McNee80e0a452017-08-09 14:42:18983 "//ui/android:android",
brettw013b729f2015-01-12 08:03:47984 ]
pkotwicz5a8d8552015-11-12 22:51:57985 android_manifest =
986 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml"
agrievec6811b422016-06-23 02:25:09987 android_manifest_dep = ":content_browsertests_manifest"
pkotwicz93fa232b2015-11-11 17:55:07988 use_default_launcher = false
brettw24746e52016-12-07 04:26:17989 } else {
990 # Non-Android.
mcnee336ea2c2017-05-23 22:50:59991 sources += [
992 "../browser/host_zoom_map_impl_browsertest.cc",
993 "../browser/speech/speech_recognition_browsertest.cc",
994 "../browser/zoom_browsertest.cc",
995 ]
brettw5ff98192015-10-22 06:36:15996 }
997
998 if (is_mac) {
999 sources += [ "../renderer/external_popup_menu_browsertest.cc" ]
W. James MacLean78f31b12017-10-02 21:16:361000 deps += [
1001 "//content/shell:content_shell",
1002 "//third_party/ocmock",
1003 ]
lukaszaff560302016-10-21 16:50:291004 data += [ "$root_out_dir/Content Shell.app/" ]
brettw5ff98192015-10-22 06:36:151005 }
jamb3dd04982015-02-25 18:22:561006
brettw6b0712a2016-07-15 17:48:201007 if (is_chromeos) {
1008 deps += [ "//chromeos" ]
1009 }
1010
brettw5ff98192015-10-22 06:36:151011 if (use_aura && !is_win) {
1012 deps += [ "//ui/events:test_support" ]
1013 }
brettw013b729f2015-01-12 08:03:471014
brettw5ff98192015-10-22 06:36:151015 if (!use_aura && !is_mac) {
1016 sources -=
1017 [ "../browser/compositor/image_transport_factory_browsertest.cc" ]
1018 }
brettw013b729f2015-01-12 08:03:471019
brettw5ff98192015-10-22 06:36:151020 if (enable_webrtc) {
brettwb167c7332016-09-07 22:52:461021 sources += [
1022 "../browser/webrtc/webrtc_audio_browsertest.cc",
1023 "../browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc",
1024 "../browser/webrtc/webrtc_browsertest.cc",
1025 "../browser/webrtc/webrtc_capture_from_element_browsertest.cc",
1026 "../browser/webrtc/webrtc_constraints_browsertest.cc",
1027 "../browser/webrtc/webrtc_content_browsertest_base.cc",
1028 "../browser/webrtc/webrtc_content_browsertest_base.h",
1029 "../browser/webrtc/webrtc_data_browsertest.cc",
1030 "../browser/webrtc/webrtc_datachannel_browsertest.cc",
aleksandar.stojiljkovic198b0502016-11-02 16:52:201031 "../browser/webrtc/webrtc_depth_capture_browsertest.cc",
brettwb167c7332016-09-07 22:52:461032 "../browser/webrtc/webrtc_getusermedia_browsertest.cc",
1033 "../browser/webrtc/webrtc_image_capture_browsertest.cc",
1034 "../browser/webrtc/webrtc_internals_browsertest.cc",
1035 "../browser/webrtc/webrtc_ip_permissions_browsertest.cc",
1036 "../browser/webrtc/webrtc_media_recorder_browsertest.cc",
Christian Fremerey998ec642017-06-16 15:48:541037 "../browser/webrtc/webrtc_video_capture_browsertest.cc",
brettwb167c7332016-09-07 22:52:461038 "../browser/webrtc/webrtc_webcam_browsertest.cc",
1039 "../browser/webrtc/webrtc_webcam_browsertest.h",
1040 ]
yolandyanacb8a282017-04-24 21:06:411041 deps += [
yolandyanacb8a282017-04-24 21:06:411042 "//content/public/common:features",
lukaszabf8f0b72017-04-25 05:22:271043 "//testing/perf",
yolandyanacb8a282017-04-24 21:06:411044 ]
brettw5ff98192015-10-22 06:36:151045 }
brettw013b729f2015-01-12 08:03:471046
brettw5ff98192015-10-22 06:36:151047 if (enable_plugins) {
brettwb167c7332016-09-07 22:52:461048 sources += [
1049 "../renderer/pepper/fake_pepper_plugin_instance.cc",
thakisb8590c92017-03-23 18:14:531050 "../renderer/pepper/fake_pepper_plugin_instance.h",
brettwb167c7332016-09-07 22:52:461051 "../renderer/pepper/mock_renderer_ppapi_host.cc",
thakisb8590c92017-03-23 18:14:531052 "../renderer/pepper/mock_renderer_ppapi_host.h",
brettwb167c7332016-09-07 22:52:461053 "../renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc",
1054 "../renderer/pepper/pepper_file_chooser_host_unittest.cc",
1055 "../renderer/pepper/pepper_graphics_2d_host_unittest.cc",
1056 "../renderer/pepper/pepper_url_request_unittest.cc",
1057 "../renderer/pepper/pepper_webplugin_impl_browsertest.cc",
1058 "../renderer/pepper/plugin_power_saver_helper_browsertest.cc",
1059 "../test/ppapi/ppapi_browsertest.cc",
1060 "../test/ppapi/ppapi_test.cc",
1061 "../test/ppapi/ppapi_test.h",
1062 ]
brettwb78fc9e2016-03-25 21:02:511063 deps += [ "//ppapi/proxy:test_support" ]
brettw5ff98192015-10-22 06:36:151064 data_deps += [ "//ppapi:ppapi_tests" ]
1065 }
brettw013b729f2015-01-12 08:03:471066
brettw5ff98192015-10-22 06:36:151067 if (!is_chrome_branded) {
brettwb167c7332016-09-07 22:52:461068 # These tests depend on single process mode, which is disabled
1069 # in official builds.
1070 sources += [
brettwb167c7332016-09-07 22:52:461071 "../renderer/browser_render_view_browsertest.cc",
1072 "../renderer/dom_serializer_browsertest.cc",
Takashi Toyoshimae5aab5c2017-08-25 04:21:571073 "../renderer/fetchers/resource_fetcher_browsertest.cc",
penghuang41bfe5f2016-12-07 19:28:361074 "../renderer/render_thread_impl_discardable_memory_browsertest.cc",
brettwb167c7332016-09-07 22:52:461075 "../renderer/savable_resources_browsertest.cc",
1076 ]
penghuangd81c1a62016-11-02 20:06:061077
1078 deps += [
1079 "//components/discardable_memory/client",
1080 "//components/discardable_memory/common",
1081 "//components/discardable_memory/service",
1082 ]
brettw5ff98192015-10-22 06:36:151083 }
brettw013b729f2015-01-12 08:03:471084
brettw5ff98192015-10-22 06:36:151085 if (use_aura) {
1086 deps += [
brettwb78fc9e2016-03-25 21:02:511087 "//ui/aura",
brettw5ff98192015-10-22 06:36:151088 "//ui/touch_selection:test_support",
1089 "//ui/touch_selection:touch_selection",
1090 ]
1091 } else {
1092 sources -= [
1093 "../browser/accessibility/touch_accessibility_aura_browsertest.cc",
1094 "../browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc",
1095 "../browser/web_contents/web_contents_view_aura_browsertest.cc",
1096 ]
brettw013b729f2015-01-12 08:03:471097 }
watka46402f2016-09-20 18:51:541098
1099 if (is_chromecast) {
1100 sources -= [
1101 # The cast shell media pipeline doesn't produce real video frames that we
1102 # can inspect.
1103 "../browser/media/media_color_browsertest.cc",
meacerba52f56202017-04-22 00:08:081104
1105 # The cast shell has plugin support but no pdf, causing data URL PDF tests
1106 # to fail.
1107 "../browser/frame_host/data_url_navigation_browsertest.cc",
Kenneth Russell05091ca2017-10-02 19:52:471108
1109 # The multi-window tests don't work on cast_shell. Since there's little
1110 # added value in running the single-window test on this platform, just
1111 # exclude them all.
1112 "../browser/snapshot_browsertest.cc",
watka46402f2016-09-20 18:51:541113 ]
1114 }
brettw013b729f2015-01-12 08:03:471115}
brettw25309d392015-01-13 04:37:361116
dprankedac4838b2015-05-01 16:38:131117test("content_unittests") {
brettwb78fc9e2016-03-25 21:02:511118 # See comment at the top of //content/BUILD.gn for why this is disabled in
1119 # component builds.
1120 if (is_component_build) {
1121 check_includes = false
1122 }
1123
pkotwiczefafec132015-10-22 20:23:001124 defines = []
brettwb167c7332016-09-07 22:52:461125 sources = [
brettwb167c7332016-09-07 22:52:461126 "../browser/accessibility/browser_accessibility_mac_unittest.mm",
1127 "../browser/accessibility/browser_accessibility_manager_unittest.cc",
1128 "../browser/accessibility/browser_accessibility_win_unittest.cc",
1129 "../browser/accessibility/one_shot_accessibility_tree_search_unittest.cc",
1130 "../browser/appcache/appcache_database_unittest.cc",
1131 "../browser/appcache/appcache_disk_cache_unittest.cc",
1132 "../browser/appcache/appcache_group_unittest.cc",
1133 "../browser/appcache/appcache_host_unittest.cc",
1134 "../browser/appcache/appcache_manifest_parser_unittest.cc",
1135 "../browser/appcache/appcache_quota_client_unittest.cc",
1136 "../browser/appcache/appcache_request_handler_unittest.cc",
1137 "../browser/appcache/appcache_response_unittest.cc",
1138 "../browser/appcache/appcache_service_unittest.cc",
1139 "../browser/appcache/appcache_storage_impl_unittest.cc",
1140 "../browser/appcache/appcache_storage_unittest.cc",
1141 "../browser/appcache/appcache_unittest.cc",
1142 "../browser/appcache/appcache_update_job_unittest.cc",
1143 "../browser/appcache/appcache_url_request_job_unittest.cc",
1144 "../browser/appcache/chrome_appcache_service_unittest.cc",
1145 "../browser/appcache/mock_appcache_policy.cc",
1146 "../browser/appcache/mock_appcache_policy.h",
1147 "../browser/appcache/mock_appcache_service.cc",
1148 "../browser/appcache/mock_appcache_service.h",
1149 "../browser/appcache/mock_appcache_storage.cc",
1150 "../browser/appcache/mock_appcache_storage.h",
1151 "../browser/appcache/mock_appcache_storage_unittest.cc",
peterbbecee162017-04-14 17:09:551152 "../browser/background_fetch/background_fetch_cross_origin_filter_unittest.cc",
harkness4a4b59322017-03-27 16:15:091153 "../browser/background_fetch/background_fetch_data_manager_unittest.cc",
Dan Elphick1c0bc742017-09-08 15:05:071154 "../browser/background_fetch/background_fetch_delegate_proxy_unittest.cc",
peteref0797702017-03-19 04:06:401155 "../browser/background_fetch/background_fetch_event_dispatcher_unittest.cc",
harknessa247d9bf2017-02-28 17:01:531156 "../browser/background_fetch/background_fetch_job_controller_unittest.cc",
Peter Beverloo83ee6642017-10-11 20:23:171157 "../browser/background_fetch/background_fetch_registration_notifier_unittest.cc",
peterf1cfaa02017-03-30 16:04:081158 "../browser/background_fetch/background_fetch_service_unittest.cc",
brettwb167c7332016-09-07 22:52:461159 "../browser/background_sync/background_sync_manager_unittest.cc",
1160 "../browser/background_sync/background_sync_network_observer_unittest.cc",
1161 "../browser/background_sync/background_sync_service_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461162 "../browser/blob_storage/blob_dispatcher_host_unittest.cc",
dmurphcf848a62016-11-17 21:25:071163 "../browser/blob_storage/blob_transport_host_unittest.cc",
jam9354af82017-06-03 21:59:411164 "../browser/blob_storage/blob_url_unittest.cc",
juncaif70c51172017-02-10 23:49:171165 "../browser/bluetooth/bluetooth_allowed_devices_unittest.cc",
beaufort.francois01135bf2016-11-23 14:37:361166 "../browser/bluetooth/bluetooth_blocklist_unittest.cc",
brettwb167c7332016-09-07 22:52:461167 "../browser/bluetooth/bluetooth_device_chooser_controller_unittest.cc",
1168 "../browser/bluetooth/frame_connected_bluetooth_devices_unittest.cc",
1169 "../browser/browser_associated_interface_unittest.cc",
Francois Doray6d3c649692017-06-16 19:20:251170 "../browser/browser_main_loop_unittest.cc",
brettwb167c7332016-09-07 22:52:461171 "../browser/browser_thread_unittest.cc",
1172 "../browser/browser_url_handler_impl_unittest.cc",
msrameka3c7cfd2017-02-03 13:34:131173 "../browser/browsing_data/browsing_data_filter_builder_impl_unittest.cc",
msrameke169ccb2017-04-26 05:21:411174 "../browser/browsing_data/browsing_data_remover_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461175 "../browser/browsing_data/clear_site_data_throttle_unittest.cc",
1176 "../browser/byte_stream_unittest.cc",
1177 "../browser/cache_storage/cache_storage_blob_to_disk_cache_unittest.cc",
1178 "../browser/cache_storage/cache_storage_cache_unittest.cc",
cmumfordffb8a162016-12-22 15:26:501179 "../browser/cache_storage/cache_storage_index_unittest.cc",
brettwb167c7332016-09-07 22:52:461180 "../browser/cache_storage/cache_storage_manager_unittest.cc",
1181 "../browser/cache_storage/cache_storage_operation_unittest.cc",
1182 "../browser/cache_storage/cache_storage_scheduler_unittest.cc",
1183 "../browser/child_process_security_policy_unittest.cc",
1184 "../browser/cocoa/system_hotkey_map_unittest.mm",
Stanislav Chiknavaryan47e66602017-08-04 21:31:311185 "../browser/compositor/gpu_vsync_begin_frame_source_unittest.cc",
brettwb167c7332016-09-07 22:52:461186 "../browser/compositor/reflector_impl_unittest.cc",
1187 "../browser/compositor/software_browser_compositor_output_surface_unittest.cc",
ccameron469d0542017-05-06 19:15:441188 "../browser/compositor/software_output_device_mac_unittest.mm",
brettwb167c7332016-09-07 22:52:461189 "../browser/compositor/software_output_device_ozone_unittest.cc",
pfeldman10628762016-09-08 07:59:261190 "../browser/devtools/devtools_http_handler_unittest.cc",
brettwb167c7332016-09-07 22:52:461191 "../browser/devtools/devtools_manager_unittest.cc",
1192 "../browser/devtools/protocol/tracing_handler_unittest.cc",
1193 "../browser/devtools/shared_worker_devtools_manager_unittest.cc",
1194 "../browser/dom_storage/dom_storage_area_unittest.cc",
1195 "../browser/dom_storage/dom_storage_context_impl_unittest.cc",
1196 "../browser/dom_storage/dom_storage_database_unittest.cc",
mek26f46db2016-12-22 21:09:021197 "../browser/dom_storage/local_storage_context_mojo_unittest.cc",
brettwb167c7332016-09-07 22:52:461198 "../browser/dom_storage/session_storage_database_unittest.cc",
1199 "../browser/download/base_file_unittest.cc",
asanka6ef77adf2016-09-26 21:36:401200 "../browser/download/base_file_win_unittest.cc",
brettwb167c7332016-09-07 22:52:461201 "../browser/download/download_file_unittest.cc",
1202 "../browser/download/download_item_impl_unittest.cc",
xingliuf61d39f2017-01-27 22:46:461203 "../browser/download/download_job_unittest.cc",
brettwb167c7332016-09-07 22:52:461204 "../browser/download/download_manager_impl_unittest.cc",
xingliufed74662017-02-09 01:06:021205 "../browser/download/download_request_core_unittest.cc",
xingliu5697152d2017-05-19 02:16:371206 "../browser/download/download_stats_unittest.cc",
xingliu468824d2017-02-28 02:59:251207 "../browser/download/parallel_download_job_unittest.cc",
qinmin41a4abf2017-03-02 06:21:311208 "../browser/download/parallel_download_utils_unittest.cc",
brettwb167c7332016-09-07 22:52:461209 "../browser/download/rate_estimator_unittest.cc",
1210 "../browser/download/save_package_unittest.cc",
lukaszabf8f0b72017-04-25 05:22:271211 "../browser/fileapi/browser_file_system_helper_unittest.cc",
brettwb167c7332016-09-07 22:52:461212 "../browser/fileapi/file_system_operation_runner_unittest.cc",
brettwb167c7332016-09-07 22:52:461213 "../browser/fileapi/fileapi_message_filter_unittest.cc",
brettwb167c7332016-09-07 22:52:461214 "../browser/fileapi/upload_file_system_file_element_reader_unittest.cc",
arthursonzognic5a2f122016-12-21 08:47:161215 "../browser/frame_host/ancestor_throttle_unittest.cc",
Xiaohan Wang15303d0c2017-10-06 05:22:441216 "../browser/frame_host/frame_service_base_unittest.cc",
brettwb167c7332016-09-07 22:52:461217 "../browser/frame_host/frame_tree_node_blame_context_unittest.cc",
1218 "../browser/frame_host/frame_tree_unittest.cc",
carloskd9d97942017-02-16 08:58:091219 "../browser/frame_host/mixed_content_navigation_throttle_unittest.cc",
brettwb167c7332016-09-07 22:52:461220 "../browser/frame_host/navigation_controller_impl_unittest.cc",
1221 "../browser/frame_host/navigation_entry_impl_unittest.cc",
1222 "../browser/frame_host/navigation_handle_impl_unittest.cc",
1223 "../browser/frame_host/navigator_impl_unittest.cc",
raymesd3da4b42017-05-24 00:06:241224 "../browser/frame_host/render_frame_host_feature_policy_unittest.cc",
brettwb167c7332016-09-07 22:52:461225 "../browser/frame_host/render_frame_host_manager_unittest.cc",
brettwb167c7332016-09-07 22:52:461226 "../browser/frame_host/render_widget_host_view_guest_unittest.cc",
Conley Owens47f4fbf12017-08-02 01:56:521227 "../browser/geolocation/geolocation_service_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461228 "../browser/gpu/gpu_data_manager_impl_private_unittest.cc",
zmo2602bcf2017-04-01 00:12:031229 "../browser/gpu/gpu_data_manager_testing_arrays_and_structs_autogen.h",
1230 "../browser/gpu/gpu_data_manager_testing_autogen.cc",
1231 "../browser/gpu/gpu_data_manager_testing_autogen.h",
1232 "../browser/gpu/gpu_data_manager_testing_entry_enums_autogen.h",
1233 "../browser/gpu/gpu_data_manager_testing_exceptions_autogen.h",
Daniel Murphyd36cedf2017-10-12 00:04:541234 "../browser/indexed_db/fake_indexed_db_metadata_coding.cc",
1235 "../browser/indexed_db/fake_indexed_db_metadata_coding.h",
brettwb167c7332016-09-07 22:52:461236 "../browser/indexed_db/indexed_db_active_blob_registry_unittest.cc",
1237 "../browser/indexed_db/indexed_db_backing_store_unittest.cc",
1238 "../browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc",
1239 "../browser/indexed_db/indexed_db_database_unittest.cc",
dmurpha4c5acae2017-05-17 20:59:261240 "../browser/indexed_db/indexed_db_dispatcher_host_unittest.cc",
brettwb167c7332016-09-07 22:52:461241 "../browser/indexed_db/indexed_db_factory_unittest.cc",
1242 "../browser/indexed_db/indexed_db_fake_backing_store.cc",
1243 "../browser/indexed_db/indexed_db_fake_backing_store.h",
1244 "../browser/indexed_db/indexed_db_leveldb_coding_unittest.cc",
Daniel Murphy66da98b2017-08-17 21:21:061245 "../browser/indexed_db/indexed_db_pre_close_task_queue_unittest.cc",
brettwb167c7332016-09-07 22:52:461246 "../browser/indexed_db/indexed_db_quota_client_unittest.cc",
Daniel Murphy66da98b2017-08-17 21:21:061247 "../browser/indexed_db/indexed_db_tombstone_sweeper_unittest.cc",
brettwb167c7332016-09-07 22:52:461248 "../browser/indexed_db/indexed_db_transaction_unittest.cc",
1249 "../browser/indexed_db/indexed_db_unittest.cc",
jsbell1d62ad32017-03-02 17:21:201250 "../browser/indexed_db/leveldb/leveldb_transaction_unittest.cc",
brettwb167c7332016-09-07 22:52:461251 "../browser/indexed_db/leveldb/leveldb_unittest.cc",
Daniel Murphy66da98b2017-08-17 21:21:061252 "../browser/indexed_db/leveldb/mock_level_db.cc",
1253 "../browser/indexed_db/leveldb/mock_level_db.h",
brettwb167c7332016-09-07 22:52:461254 "../browser/indexed_db/leveldb/mock_leveldb_factory.cc",
1255 "../browser/indexed_db/leveldb/mock_leveldb_factory.h",
1256 "../browser/indexed_db/list_set_unittest.cc",
1257 "../browser/indexed_db/mock_indexed_db_callbacks.cc",
1258 "../browser/indexed_db/mock_indexed_db_callbacks.h",
1259 "../browser/indexed_db/mock_indexed_db_database_callbacks.cc",
1260 "../browser/indexed_db/mock_indexed_db_database_callbacks.h",
1261 "../browser/indexed_db/mock_indexed_db_factory.cc",
1262 "../browser/indexed_db/mock_indexed_db_factory.h",
dmurpha4c5acae2017-05-17 20:59:261263 "../browser/indexed_db/mock_mojo_indexed_db_callbacks.cc",
1264 "../browser/indexed_db/mock_mojo_indexed_db_callbacks.h",
1265 "../browser/indexed_db/mock_mojo_indexed_db_database_callbacks.cc",
1266 "../browser/indexed_db/mock_mojo_indexed_db_database_callbacks.h",
mekd51c84c2016-12-20 18:27:171267 "../browser/leveldb_wrapper_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461268 "../browser/loader/async_resource_handler_unittest.cc",
mmenke3c1d10c2017-03-09 16:25:451269 "../browser/loader/detachable_resource_handler_unittest.cc",
brettwb167c7332016-09-07 22:52:461270 "../browser/loader/intercepting_resource_handler_unittest.cc",
1271 "../browser/loader/mime_sniffing_resource_handler_unittest.cc",
mmenkeb4836c42017-01-11 23:10:181272 "../browser/loader/mock_resource_loader.cc",
1273 "../browser/loader/mock_resource_loader.h",
brettwb167c7332016-09-07 22:52:461274 "../browser/loader/mojo_async_resource_handler_unittest.cc",
Alex Clarke1e08882b32017-10-06 14:22:401275 "../browser/loader/navigation_url_loader_network_service_unittest.cc",
brettwb167c7332016-09-07 22:52:461276 "../browser/loader/navigation_url_loader_unittest.cc",
mmenke9874e162017-01-26 22:37:201277 "../browser/loader/redirect_to_file_resource_handler_unittest.cc",
brettwb167c7332016-09-07 22:52:461278 "../browser/loader/resource_buffer_unittest.cc",
1279 "../browser/loader/resource_dispatcher_host_unittest.cc",
1280 "../browser/loader/resource_loader_unittest.cc",
1281 "../browser/loader/resource_scheduler_unittest.cc",
1282 "../browser/loader/temporary_file_stream_unittest.cc",
mmenke2b6880f2016-10-27 09:42:061283 "../browser/loader/test_resource_handler.cc",
1284 "../browser/loader/test_resource_handler.h",
mmenkeb4836c42017-01-11 23:10:181285 "../browser/loader/throttling_resource_handler_unittest.cc",
brettwb167c7332016-09-07 22:52:461286 "../browser/loader/upload_data_stream_builder_unittest.cc",
tzik6d2c4d82017-01-13 12:20:061287 "../browser/loader/upload_progress_tracker_unittest.cc",
brettwb167c7332016-09-07 22:52:461288 "../browser/loader/url_loader_factory_impl_unittest.cc",
1289 "../browser/mach_broker_mac_unittest.cc",
jinho.bang84cadc82017-06-14 16:59:341290 "../browser/manifest/manifest_icon_downloader_unittest.cc",
1291 "../browser/manifest/manifest_icon_selector_unittest.cc",
brettwb167c7332016-09-07 22:52:461292 "../browser/media/audible_metrics_unittest.cc",
1293 "../browser/media/audio_stream_monitor_unittest.cc",
1294 "../browser/media/capture/audio_mirroring_manager_unittest.cc",
brettwb167c7332016-09-07 22:52:461295 "../browser/media/capture/web_contents_audio_input_stream_unittest.cc",
xhwang5ba56be2016-12-13 07:13:031296 "../browser/media/cdm_registry_impl_unittest.cc",
raymes7938f5d3d2017-06-13 22:19:141297 "../browser/media/media_devices_permission_checker_unittest.cc",
brettwb167c7332016-09-07 22:52:461298 "../browser/media/media_internals_unittest.cc",
1299 "../browser/media/midi_host_unittest.cc",
1300 "../browser/media/session/audio_focus_manager_unittest.cc",
1301 "../browser/media/session/media_session_controller_unittest.cc",
zqzhangddc545c2016-12-05 12:18:561302 "../browser/media/session/media_session_impl_service_routing_unittest.cc",
zqzhang938076202017-04-10 16:43:551303 "../browser/media/session/media_session_impl_uma_unittest.cc",
brettwb167c7332016-09-07 22:52:461304 "../browser/media/session/media_session_uma_helper_unittest.cc",
bashi529cb14c2016-10-17 21:53:571305 "../browser/memory/memory_coordinator_impl_unittest.cc",
bashi66264142016-09-27 06:26:401306 "../browser/memory/memory_monitor_android_unittest.cc",
bashia6264042016-09-15 04:49:511307 "../browser/memory/memory_monitor_win_unittest.cc",
Scott Haseley7a02fce2017-08-01 21:55:011308 "../browser/memory/swap_metrics_driver_impl_unittest.cc",
bashia6264042016-09-15 04:49:511309 "../browser/memory/test_memory_monitor.cc",
1310 "../browser/memory/test_memory_monitor.h",
brettwb167c7332016-09-07 22:52:461311 "../browser/net/quota_policy_cookie_store_unittest.cc",
1312 "../browser/notification_service_impl_unittest.cc",
1313 "../browser/notifications/notification_database_data_unittest.cc",
1314 "../browser/notifications/notification_database_unittest.cc",
1315 "../browser/notifications/notification_id_generator_unittest.cc",
1316 "../browser/notifications/platform_notification_context_unittest.cc",
1317 "../browser/notifications/type_converters_unittest.cc",
jinho.bange7f7d132016-12-19 20:45:001318 "../browser/payments/payment_app_content_unittest_base.cc",
1319 "../browser/payments/payment_app_content_unittest_base.h",
jinho.bangac34b3a32017-01-05 12:51:211320 "../browser/payments/payment_app_provider_impl_unittest.cc",
jinho.bangbbb00c32017-03-30 15:09:091321 "../browser/payments/payment_manager_unittest.cc",
raymes09bcca42017-05-31 06:53:031322 "../browser/permissions/permission_service_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461323 "../browser/presentation/presentation_service_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461324 "../browser/renderer_host/clipboard_message_filter_unittest.cc",
danakjea89dd542017-03-29 23:30:471325 "../browser/renderer_host/compositor_resize_lock_unittest.cc",
Ken Buchanan520f29c2017-07-13 23:29:511326 "../browser/renderer_host/cursor_manager_unittest.cc",
brettwb167c7332016-09-07 22:52:461327 "../browser/renderer_host/dwrite_font_proxy_message_filter_win_unittest.cc",
1328 "../browser/renderer_host/input/gesture_event_queue_unittest.cc",
Dave Tapuska8a112332017-07-24 17:23:181329 "../browser/renderer_host/input/input_router_impl_unittest.cc",
Dave Tapuskac268151b82017-06-12 13:59:211330 "../browser/renderer_host/input/legacy_input_router_impl_unittest.cc",
dtapuska53f9f4ee2017-02-27 01:14:261331 "../browser/renderer_host/input/legacy_touch_event_queue_unittest.cc",
Hayley Ferrbb5c0152017-07-27 22:57:191332 "../browser/renderer_host/input/mock_input_disposition_handler.cc",
1333 "../browser/renderer_host/input/mock_input_disposition_handler.h",
brettwb167c7332016-09-07 22:52:461334 "../browser/renderer_host/input/mock_input_router_client.cc",
1335 "../browser/renderer_host/input/mock_input_router_client.h",
1336 "../browser/renderer_host/input/motion_event_web_unittest.cc",
1337 "../browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc",
1338 "../browser/renderer_host/input/mouse_wheel_rails_filter_unittest_mac.cc",
dtapuska53f9f4ee2017-02-27 01:14:261339 "../browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc",
brettwb167c7332016-09-07 22:52:461340 "../browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc",
1341 "../browser/renderer_host/input/stylus_text_selector_unittest.cc",
1342 "../browser/renderer_host/input/synthetic_gesture_controller_unittest.cc",
1343 "../browser/renderer_host/input/synthetic_pointer_action_unittest.cc",
1344 "../browser/renderer_host/input/tap_suppression_controller_unittest.cc",
1345 "../browser/renderer_host/input/touch_action_filter_unittest.cc",
1346 "../browser/renderer_host/input/touch_emulator_unittest.cc",
brettwb167c7332016-09-07 22:52:461347 "../browser/renderer_host/input/web_input_event_builders_android_unittest.cc",
1348 "../browser/renderer_host/input/web_input_event_builders_mac_unittest.mm",
1349 "../browser/renderer_host/input/web_input_event_util_unittest.cc",
brettwb167c7332016-09-07 22:52:461350 "../browser/renderer_host/media/audio_input_device_manager_unittest.cc",
maxmorin69cdc9512016-12-14 18:29:161351 "../browser/renderer_host/media/audio_input_renderer_host_unittest.cc",
brettwb167c7332016-09-07 22:52:461352 "../browser/renderer_host/media/audio_input_sync_writer_unittest.cc",
maxmorinb08e8422016-11-18 09:34:011353 "../browser/renderer_host/media/audio_output_authorization_handler_unittest.cc",
maxmorin5d6f36b2017-02-01 08:51:211354 "../browser/renderer_host/media/audio_output_delegate_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461355 "../browser/renderer_host/media/audio_renderer_host_unittest.cc",
guidou9357cc52016-10-11 19:53:361356 "../browser/renderer_host/media/media_devices_dispatcher_host_unittest.cc",
guidoucc6d4602016-09-23 21:28:431357 "../browser/renderer_host/media/media_devices_manager_unittest.cc",
brettwb167c7332016-09-07 22:52:461358 "../browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc",
1359 "../browser/renderer_host/media/media_stream_manager_unittest.cc",
1360 "../browser/renderer_host/media/media_stream_ui_proxy_unittest.cc",
chfremerc9148152017-04-17 17:10:261361 "../browser/renderer_host/media/mock_video_capture_provider.cc",
1362 "../browser/renderer_host/media/mock_video_capture_provider.h",
maxmorin2781f5ff2017-04-04 08:29:411363 "../browser/renderer_host/media/render_frame_audio_output_stream_factory_unittest.cc",
chfremer9da3c7fa2017-05-25 05:27:081364 "../browser/renderer_host/media/service_video_capture_device_launcher_unittest.cc",
Christian Fremerey2c685ac2017-07-20 22:10:481365 "../browser/renderer_host/media/service_video_capture_provider_unittest.cc",
brettwb167c7332016-09-07 22:52:461366 "../browser/renderer_host/media/video_capture_buffer_pool_unittest.cc",
1367 "../browser/renderer_host/media/video_capture_controller_unittest.cc",
brettwb167c7332016-09-07 22:52:461368 "../browser/renderer_host/media/video_capture_manager_unittest.cc",
mcasas324c80a52016-10-23 13:49:331369 "../browser/renderer_host/media/video_capture_unittest.cc",
kylecharc9d0c8082017-05-09 17:06:181370 "../browser/renderer_host/offscreen_canvas_provider_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461371 "../browser/renderer_host/render_process_host_unittest.cc",
1372 "../browser/renderer_host/render_view_host_unittest.cc",
Kevin McNeeab618482017-07-26 20:05:341373 "../browser/renderer_host/render_widget_host_input_event_router_unittest.cc",
brettwb167c7332016-09-07 22:52:461374 "../browser/renderer_host/render_widget_host_unittest.cc",
1375 "../browser/renderer_host/render_widget_host_view_aura_unittest.cc",
1376 "../browser/renderer_host/render_widget_host_view_base_unittest.cc",
Ken Buchanandaef006b2017-08-17 18:32:151377 "../browser/renderer_host/render_widget_host_view_child_frame_unittest.cc",
brettwb167c7332016-09-07 22:52:461378 "../browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm",
1379 "../browser/renderer_host/render_widget_host_view_mac_unittest.mm",
1380 "../browser/renderer_host/text_input_client_mac_unittest.mm",
1381 "../browser/resolve_proxy_msg_helper_unittest.cc",
leon.hane4db177a2017-02-07 14:19:161382 "../browser/screen_orientation/screen_orientation_provider_unittest.cc",
brettwb167c7332016-09-07 22:52:461383 "../browser/service_worker/embedded_worker_instance_unittest.cc",
horo31267282016-11-17 06:09:131384 "../browser/service_worker/foreign_fetch_request_handler_unittest.cc",
brettwb167c7332016-09-07 22:52:461385 "../browser/service_worker/link_header_support_unittest.cc",
1386 "../browser/service_worker/service_worker_cache_writer_unittest.cc",
1387 "../browser/service_worker/service_worker_context_core_unittest.cc",
1388 "../browser/service_worker/service_worker_context_request_handler_unittest.cc",
1389 "../browser/service_worker/service_worker_context_unittest.cc",
Tsuyoshi Horo86b81772017-08-09 11:19:001390 "../browser/service_worker/service_worker_context_watcher_unittest.cc",
brettwb167c7332016-09-07 22:52:461391 "../browser/service_worker/service_worker_controllee_request_handler_unittest.cc",
shimazu1ac68cf2017-04-20 06:03:461392 "../browser/service_worker/service_worker_data_pipe_reader_unittest.cc",
brettwb167c7332016-09-07 22:52:461393 "../browser/service_worker/service_worker_database_unittest.cc",
1394 "../browser/service_worker/service_worker_dispatcher_host_unittest.cc",
1395 "../browser/service_worker/service_worker_handle_unittest.cc",
Makoto Shimazu5e4f0f62017-07-21 04:13:091396 "../browser/service_worker/service_worker_installed_scripts_sender_unittest.cc",
brettwb167c7332016-09-07 22:52:461397 "../browser/service_worker/service_worker_job_unittest.cc",
falkenf93cb21f2017-03-17 03:05:301398 "../browser/service_worker/service_worker_lifetime_tracker_unittest.cc",
falken3d62570c2017-01-19 04:20:261399 "../browser/service_worker/service_worker_metrics_unittest.cc",
brettwb167c7332016-09-07 22:52:461400 "../browser/service_worker/service_worker_process_manager_unittest.cc",
1401 "../browser/service_worker/service_worker_provider_host_unittest.cc",
1402 "../browser/service_worker/service_worker_read_from_cache_job_unittest.cc",
1403 "../browser/service_worker/service_worker_registration_unittest.cc",
1404 "../browser/service_worker/service_worker_request_handler_unittest.cc",
Hiroki Nakagawab8581182017-09-08 09:34:381405 "../browser/service_worker/service_worker_script_url_loader_unittest.cc",
brettwb167c7332016-09-07 22:52:461406 "../browser/service_worker/service_worker_storage_unittest.cc",
Matt Falkenhagen9cf09ca2017-08-01 10:36:251407 "../browser/service_worker/service_worker_url_loader_job_unittest.cc",
brettwb167c7332016-09-07 22:52:461408 "../browser/service_worker/service_worker_url_request_job_unittest.cc",
1409 "../browser/service_worker/service_worker_version_unittest.cc",
1410 "../browser/service_worker/service_worker_write_to_cache_job_unittest.cc",
1411 "../browser/shareable_file_reference_unittest.cc",
1412 "../browser/shared_worker/shared_worker_instance_unittest.cc",
1413 "../browser/shared_worker/shared_worker_service_impl_unittest.cc",
1414 "../browser/site_instance_impl_unittest.cc",
Jochen Eisingerbc991412017-07-14 22:06:221415 "../browser/ssl/ignore_errors_cert_verifier_unittest.cc",
brettwb167c7332016-09-07 22:52:461416 "../browser/startup_task_runner_unittest.cc",
1417 "../browser/storage_partition_impl_map_unittest.cc",
1418 "../browser/storage_partition_impl_unittest.cc",
1419 "../browser/streams/stream_unittest.cc",
1420 "../browser/streams/stream_url_request_job_unittest.cc",
Siddhartha53441e982017-10-11 01:49:531421 "../browser/tracing/background_memory_tracing_observer_unittest.cc",
brettwb167c7332016-09-07 22:52:461422 "../browser/tracing/background_tracing_config_unittest.cc",
erikchen3e164f72017-06-22 21:15:441423 "../browser/tracing/tracing_ui_unittest.cc",
brettwb167c7332016-09-07 22:52:461424 "../browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc",
1425 "../browser/web_contents/aura/overscroll_window_animation_unittest.cc",
1426 "../browser/web_contents/aura/overscroll_window_delegate_unittest.cc",
1427 "../browser/web_contents/web_contents_delegate_unittest.cc",
1428 "../browser/web_contents/web_contents_impl_unittest.cc",
1429 "../browser/web_contents/web_contents_user_data_unittest.cc",
1430 "../browser/web_contents/web_contents_view_aura_unittest.cc",
1431 "../browser/web_contents/web_contents_view_mac_unittest.mm",
1432 "../browser/web_contents/web_drag_dest_mac_unittest.mm",
1433 "../browser/web_contents/web_drag_source_mac_unittest.mm",
kpaulhamus7c9f00942017-06-30 11:08:451434 "../browser/webauth/authenticator_impl_unittest.cc",
Kim Paulhamus6efcf4952017-09-14 22:46:271435 "../browser/webauth/cbor/cbor_values_unittest.cc",
1436 "../browser/webauth/cbor/cbor_writer_unittest.cc",
brettwb167c7332016-09-07 22:52:461437 "../browser/websockets/websocket_manager_unittest.cc",
dschuyler613a1032016-12-15 19:22:351438 "../browser/webui/i18n_source_stream_unittest.cc",
brettwb167c7332016-09-07 22:52:461439 "../browser/webui/url_data_manager_backend_unittest.cc",
1440 "../browser/webui/web_ui_data_source_unittest.cc",
1441 "../browser/webui/web_ui_message_handler_unittest.cc",
brettwb167c7332016-09-07 22:52:461442 "../child/blink_platform_impl_unittest.cc",
1443 "../child/blob_storage/blob_consolidation_unittest.cc",
1444 "../child/blob_storage/blob_transport_controller_unittest.cc",
1445 "../child/dwrite_font_proxy/dwrite_font_proxy_win_unittest.cc",
1446 "../child/dwrite_font_proxy/font_fallback_win_unittest.cc",
1447 "../child/fileapi/webfilewriter_base_unittest.cc",
1448 "../child/font_warmup_win_unittest.cc",
brettwb167c7332016-09-07 22:52:461449 "../child/indexed_db/mock_webidbcallbacks.cc",
1450 "../child/indexed_db/mock_webidbcallbacks.h",
1451 "../child/indexed_db/webidbcursor_impl_unittest.cc",
reillyg963ec6df2016-11-05 01:10:581452 "../child/indexed_db/webidbdatabase_impl_unittest.cc",
Takashi Toyoshima87d991f2017-10-17 09:31:061453 "../child/loader/cors_url_loader_unittest.cc",
bashia6264042016-09-15 04:49:511454 "../child/memory/child_memory_coordinator_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461455 "../child/notifications/notification_data_conversions_unittest.cc",
brettwb167c7332016-09-07 22:52:461456 "../child/resource_dispatcher_unittest.cc",
1457 "../child/service_worker/service_worker_dispatcher_unittest.cc",
Matt Falkenhagen8f51b9de2017-08-08 07:16:491458 "../child/service_worker/service_worker_provider_context_unittest.cc",
Kinuko Yasuda1623c222017-08-23 05:35:231459 "../child/service_worker/service_worker_subresource_loader_unittest.cc",
brettwb167c7332016-09-07 22:52:461460 "../child/shared_memory_data_consumer_handle_unittest.cc",
1461 "../child/shared_memory_received_data_factory_unittest.cc",
brettwb167c7332016-09-07 22:52:461462 "../child/site_isolation_stats_gatherer_unittest.cc",
yhiranof6c76cf2016-12-22 11:42:181463 "../child/test_request_peer.cc",
1464 "../child/test_request_peer.h",
1465 "../child/url_loader_client_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461466 "../child/url_response_body_consumer_unittest.cc",
1467 "../child/v8_value_converter_impl_unittest.cc",
1468 "../child/web_data_consumer_handle_impl_unittest.cc",
1469 "../child/web_url_loader_impl_unittest.cc",
1470 "../child/worker_thread_registry_unittest.cc",
brettwb167c7332016-09-07 22:52:461471 "../common/android/gin_java_bridge_value_unittest.cc",
petera1ab5a92017-03-24 13:59:531472 "../common/background_fetch/background_fetch_struct_traits_unittest.cc",
brettwb167c7332016-09-07 22:52:461473 "../common/bluetooth/web_bluetooth_device_id_unittest.cc",
1474 "../common/common_param_traits_unittest.cc",
arthursonzogni7c9cab42017-02-21 18:58:131475 "../common/content_security_policy/content_security_policy_unittest.cc",
1476 "../common/content_security_policy/csp_context_unittest.cc",
1477 "../common/content_security_policy/csp_source_list_unittest.cc",
1478 "../common/content_security_policy/csp_source_unittest.cc",
Steve Kobes773cdbaa2017-08-19 22:03:051479 "../common/content_switches_internal_unittest.cc",
brettwb167c7332016-09-07 22:52:461480 "../common/cross_site_document_classifier_unittest.cc",
1481 "../common/cursors/webcursor_unittest.cc",
brettwb167c7332016-09-07 22:52:461482 "../common/dom_storage/dom_storage_map_unittest.cc",
iclelland2c79efe22017-02-09 22:44:031483 "../common/feature_policy/feature_policy_unittest.cc",
brettwb167c7332016-09-07 22:52:461484 "../common/indexed_db/indexed_db_key_unittest.cc",
1485 "../common/input/event_with_latency_info_unittest.cc",
1486 "../common/input/gesture_event_stream_validator_unittest.cc",
1487 "../common/input/input_param_traits_unittest.cc",
1488 "../common/input/touch_event_stream_validator_unittest.cc",
1489 "../common/inter_process_time_ticks_converter_unittest.cc",
1490 "../common/mac/attributed_string_coder_unittest.mm",
1491 "../common/mac/font_descriptor_unittest.mm",
1492 "../common/manifest_util_unittest.cc",
guidou89f261bc2017-01-24 19:13:341493 "../common/media/media_devices_unittest.cc",
brettwb167c7332016-09-07 22:52:461494 "../common/origin_util_unittest.cc",
1495 "../common/page_state_serialization_unittest.cc",
1496 "../common/page_zoom_unittest.cc",
1497 "../common/plugin_list_unittest.cc",
asankac1ab0292016-12-08 21:53:331498 "../common/quarantine/quarantine_linux_unittest.cc",
1499 "../common/quarantine/quarantine_mac_unittest.mm",
asankac1ab0292016-12-08 21:53:331500 "../common/quarantine/quarantine_win_unittest.cc",
brettwb167c7332016-09-07 22:52:461501 "../common/sandbox_mac_diraccess_unittest.mm",
1502 "../common/sandbox_mac_fontloading_unittest.mm",
1503 "../common/sandbox_mac_system_access_unittest.mm",
1504 "../common/sandbox_mac_unittest_helper.h",
1505 "../common/sandbox_mac_unittest_helper.mm",
sammc030f5012017-03-13 02:28:451506 "../common/service_manager/service_manager_connection_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461507 "../common/service_worker/service_worker_utils_unittest.cc",
yzshen208145b2017-06-06 00:47:421508 "../common/throttling_url_loader_unittest.cc",
Daniel Cheng6ca7f1c92017-08-09 21:45:411509 "../common/unique_name_helper_unittest.cc",
brettwb167c7332016-09-07 22:52:461510 "../common/webplugininfo_unittest.cc",
Randy Smith323ea0e2017-08-11 01:29:581511 "../network/cookie_manager_impl_unittest.cc",
Helen Lif18af04d2017-10-19 17:26:071512 "../network/network_change_manager_impl_unittest.cc",
Matt Menke0f3fc0e02017-07-31 03:47:431513 "../network/network_context_unittest.cc",
mmenke502a6132017-06-29 00:36:291514 "../network/network_service_unittest.cc",
Jay Civelli2df24642017-10-09 20:22:281515 "../network/proxy_resolver_factory_mojo_unittest.cc",
Victor Costancee97942017-10-12 22:40:501516 "../network/restricted_cookie_manager_impl_unittest.cc",
Andrey Kosyakov4f7a4b72017-10-17 02:36:381517 "../network/throttling/throttling_controller_unittest.cc",
jam6f02ddc2017-04-12 01:43:501518 "../network/url_loader_unittest.cc",
Daniel Chengc6765c22017-10-17 07:55:361519 "../public/common/drop_data_unittest.cc",
Helen Lif18af04d2017-10-19 17:26:071520 "../public/common/network_connection_tracker_unittest.cc",
Matt Menked5132342017-08-22 10:45:531521 "../public/common/simple_url_loader_unittest.cc",
Shivani Sharmac0cd9532017-08-31 16:58:001522 "../public/common/url_utils_unittest.cc",
mblshae428de322017-02-10 14:37:301523 "../public/test/referrer_unittest.cc",
fdoray8c580522017-05-08 16:59:411524 "../public/test/test_browser_thread_bundle_unittest.cc",
brettwb167c7332016-09-07 22:52:461525 "../renderer/android/disambiguation_popup_helper_unittest.cc",
brettwb167c7332016-09-07 22:52:461526 "../renderer/bmp_image_decoder_unittest.cc",
1527 "../renderer/categorized_worker_pool_unittest.cc",
brettwb167c7332016-09-07 22:52:461528 "../renderer/device_sensors/device_motion_event_pump_unittest.cc",
1529 "../renderer/device_sensors/device_orientation_event_pump_unittest.cc",
1530 "../renderer/dom_storage/dom_storage_cached_area_unittest.cc",
mek3a6a7eb2017-05-19 01:00:281531 "../renderer/dom_storage/local_storage_cached_area_unittest.cc",
Siddhartha5af5bdc2017-10-13 05:20:161532 "../renderer/dom_storage/local_storage_cached_areas_unittest.cc",
1533 "../renderer/dom_storage/mock_leveldb_wrapper.cc",
1534 "../renderer/dom_storage/mock_leveldb_wrapper.h",
brettwb167c7332016-09-07 22:52:461535 "../renderer/gpu/compositor_forwarding_message_filter_unittest.cc",
1536 "../renderer/gpu/frame_swap_message_queue_unittest.cc",
1537 "../renderer/gpu/queue_message_swap_promise_unittest.cc",
1538 "../renderer/gpu/render_widget_compositor_unittest.cc",
1539 "../renderer/ico_image_decoder_unittest.cc",
1540 "../renderer/input/input_event_filter_unittest.cc",
1541 "../renderer/input/main_thread_event_queue_unittest.cc",
1542 "../renderer/manifest/manifest_parser_unittest.cc",
maxmorin017ba8c62017-06-02 10:23:091543 "../renderer/media/audio_ipc_factory_unittest.cc",
brettwb167c7332016-09-07 22:52:461544 "../renderer/media/audio_message_filter_unittest.cc",
1545 "../renderer/media/audio_renderer_mixer_manager_unittest.cc",
1546 "../renderer/media/audio_renderer_sink_cache_unittest.cc",
brettwb167c7332016-09-07 22:52:461547 "../renderer/media/mock_audio_device_factory.cc",
1548 "../renderer/media/mock_audio_device_factory.h",
maxmorinaa9020e2017-05-31 06:18:551549 "../renderer/media/mojo_audio_output_ipc_unittest.cc",
brettwb167c7332016-09-07 22:52:461550 "../renderer/media/render_media_log_unittest.cc",
andrew.macpherson4f85155e2017-02-13 10:51:011551 "../renderer/media/renderer_webaudiodevice_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461552 "../renderer/media/video_capture_impl_manager_unittest.cc",
1553 "../renderer/media/video_capture_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461554 "../renderer/peripheral_content_heuristic_unittest.cc",
takumif75acd152017-01-05 21:16:371555 "../renderer/presentation/presentation_dispatcher_unittest.cc",
zhaobin7e02242d2017-01-27 06:38:581556 "../renderer/presentation/test_presentation_connection.cc",
1557 "../renderer/presentation/test_presentation_connection.h",
brettwb167c7332016-09-07 22:52:461558 "../renderer/render_thread_impl_unittest.cc",
1559 "../renderer/render_widget_unittest.cc",
1560 "../renderer/scheduler/resource_dispatch_throttler_unittest.cc",
Makoto Shimazu8d98fd62017-07-13 07:17:401561 "../renderer/service_worker/thread_safe_script_container_unittest.cc",
1562 "../renderer/service_worker/web_service_worker_installed_scripts_manager_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461563 "../renderer/skia_benchmarking_extension_unittest.cc",
Max Morin6403d4e72017-08-18 13:35:291564 "../test/renderer_audio_output_stream_factory_context_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461565 "image_decoder_test.cc",
1566 "image_decoder_test.h",
csharrison5da0c292017-03-09 15:37:171567 "navigation_simulator_unittest.cc",
Jay Civelli2df24642017-10-09 20:22:281568 "proxy_service_mojo_unittest.cc",
brettwb167c7332016-09-07 22:52:461569 "run_all_unittests.cc",
Jay Civelli2df24642017-10-09 20:22:281570 "url_request_context_builder_mojo_unittest.cc",
brettwb167c7332016-09-07 22:52:461571 ]
brettw8f32189852015-07-27 19:45:251572
mbjorge6cfa6182017-01-06 23:14:311573 # Chromecasts do not have extended attributes enabled; even if it were
1574 # enabled, the devices use tmpfs which restricts the extended attributes that
1575 # can be set such that quarantining still would not work. (The platform
1576 # specific tests include a runtime guard to skip tests that need xattr.)
1577 if (!is_chromecast) {
1578 sources += [ "../common/quarantine/quarantine_unittest.cc" ]
1579 }
1580
bcwhite98900b02016-09-19 20:13:031581 # ChromeOS also defines linux but their memory-monitors conflict.
1582 if (is_chromeos) {
1583 sources += [ "../browser/memory/memory_monitor_chromeos_unittest.cc" ]
1584 } else {
1585 sources += [ "../browser/memory/memory_monitor_linux_unittest.cc" ]
1586 }
1587
Greg Kerr9e965232017-07-24 22:44:221588 if (is_mac) {
1589 sources += [ "../renderer/sandbox_mac_v2_unittest.mm" ]
1590 }
1591
Scott Graham35d64a52017-08-29 02:29:461592 if (is_android || is_linux || is_mac || is_win || is_fuchsia) {
dpranke1643d222015-07-27 22:22:081593 data = [
jbudorick0ccd3352016-02-04 19:13:161594 "$root_out_dir/content_shell.pak",
dpranke1643d222015-07-27 22:22:081595 "data/",
dpranke1643d222015-07-27 22:22:081596 "//media/test/data/",
1597 ]
dpranke1643d222015-07-27 22:22:081598 }
1599
agrieved7a71c882015-11-20 19:53:281600 configs += [ "//build/config:precompiled_headers" ]
brettwbc8b2a22015-07-28 18:24:421601
dprankedac4838b2015-05-01 16:38:131602 deps = [
brettwb78fc9e2016-03-25 21:02:511603 ":content_test_mojo_bindings",
rockota60bd4e2017-01-28 02:11:401604 ":content_unittests_catalog_source",
Xiaohan Wang15303d0c2017-10-06 05:22:441605 ":test_interfaces",
dprankedac4838b2015-05-01 16:38:131606 ":test_support",
Siddhartha135cd812017-10-16 11:40:571607 "//base/allocator:features",
dprankedac4838b2015-05-01 16:38:131608 "//base/test:test_support",
jamb3c1195df2016-03-21 20:41:291609 "//base/third_party/dynamic_annotations",
1610 "//cc",
1611 "//cc:test_support",
fsamuel812b8482016-05-16 18:52:181612 "//cc/ipc",
mekd51c84c2016-12-20 18:27:171613 "//components/leveldb/public/cpp",
nzolghadrbbffc6c2017-05-25 17:56:391614 "//components/metrics/proto",
Matt Menke65033072017-08-03 20:10:231615 "//components/network_session_configurator/browser",
Matt Menkecfef87d2017-08-03 13:03:061616 "//components/network_session_configurator/common",
Jian Lie1603262017-07-08 00:15:001617 "//components/offline_pages/features:features",
nzolghadr3fddfc52016-12-13 21:52:121618 "//components/rappor:test_support",
dalecurtis2cff7f372017-05-24 08:30:081619 "//components/ukm:test_support",
Saman Samid9e178502017-09-28 04:54:001620 "//components/viz/client",
danakj8d87b632017-06-27 20:34:351621 "//components/viz/common",
kylecharcb5882d2017-06-05 13:41:341622 "//components/viz/host",
Fady Samuel279f5f02017-06-14 23:23:001623 "//components/viz/service",
Fady Samuelc296f5fb2017-07-21 04:02:191624 "//components/viz/test:test_support",
jamb3c1195df2016-03-21 20:41:291625 "//content:resources",
brettwb78fc9e2016-03-25 21:02:511626 "//content/app:both_for_content_tests",
1627 "//content/browser:for_content_tests",
jkarlin4519a222015-10-26 16:03:271628 "//content/browser/cache_storage:cache_storage_proto",
meke722a7c2016-12-29 19:05:031629 "//content/browser/dom_storage:local_storage_proto",
dprankedac4838b2015-05-01 16:38:131630 "//content/browser/notifications:notification_proto",
1631 "//content/browser/service_worker:service_worker_proto",
1632 "//content/browser/speech/proto",
brettwdb087102016-04-18 21:33:081633 "//content/child:for_content_tests",
jamb3c1195df2016-03-21 20:41:291634 "//content/gpu",
jam6f02ddc2017-04-12 01:43:501635 "//content/network",
dprankedac4838b2015-05-01 16:38:131636 "//content/public/browser",
jamb3c1195df2016-03-21 20:41:291637 "//content/public/child",
dprankedac4838b2015-05-01 16:38:131638 "//content/public/common",
ben649b3edd2017-03-23 00:32:021639 "//content/public/common:service_names",
Matt Menked5132342017-08-22 10:45:531640 "//content/public/network",
jamb3c1195df2016-03-21 20:41:291641 "//content/public/renderer",
brettwb78fc9e2016-03-25 21:02:511642 "//content/renderer:for_content_tests",
dprankedac4838b2015-05-01 16:38:131643 "//crypto",
ortunod7711a52016-02-02 20:50:241644 "//device/bluetooth",
ortunob6c45d4f2016-05-07 04:19:421645 "//device/bluetooth:mocks",
bajonesb9bb4c42016-07-07 00:10:511646 "//device/gamepad",
1647 "//device/gamepad:test_helpers",
juncai2f298a82017-04-18 03:51:391648 "//device/gamepad/public/cpp:shared_with_blink",
Conley Owens47f4fbf12017-08-02 01:56:521649 "//device/geolocation",
1650 "//device/geolocation/public/interfaces",
blundell241fad6f2017-03-21 11:14:381651 "//device/sensors/public/cpp:full",
jamb97b473d2016-08-08 20:48:291652 "//device/sensors/public/interfaces",
jamb3c1195df2016-03-21 20:41:291653 "//gin",
1654 "//gpu",
1655 "//gpu:test_support",
sadrul9095a6d2016-12-13 14:35:471656 "//gpu/ipc/host",
jamb3c1195df2016-03-21 20:41:291657 "//ipc:test_support",
jamb3c1195df2016-03-21 20:41:291658 "//media:test_support",
mbjorge65250ec2016-09-06 18:30:141659 "//media/blink",
mcasase40d7522016-06-21 16:11:401660 "//media/capture",
chfremerd5d01f92016-11-28 20:25:061661 "//media/capture/mojo:capture_types",
jamb3c1195df2016-03-21 20:41:291662 "//media/midi:midi",
sammc64324c3a2017-01-05 00:40:151663 "//media/midi:mojo",
rockote5180e0e2017-01-13 12:24:001664 "//mojo/edk/system",
rockot85dce0862015-11-13 01:33:591665 "//mojo/public/cpp/bindings",
rohitrao1860223c2015-05-16 01:07:141666 "//net:extras",
dprankedac4838b2015-05-01 16:38:131667 "//net:test_support",
brettwb78fc9e2016-03-25 21:02:511668 "//ppapi/c",
brettw4b461082016-11-19 18:55:161669 "//ppapi/features",
brettwb78fc9e2016-03-25 21:02:511670 "//printing",
rockot0a386b5d92017-01-25 00:14:341671 "//services/catalog:lib",
Jun Cai4cd3f702017-08-25 00:29:391672 "//services/device/public/cpp/generic_sensor",
mek38d9efa12016-12-28 20:21:321673 "//services/file:lib",
1674 "//services/file/public/interfaces",
Mounir Lamourifd9dcefa2017-07-06 10:26:551675 "//services/metrics/public/interfaces",
Matt Falkenhagen2ab4ee32017-08-10 10:43:101676 "//services/network/public/interfaces:interfaces",
Jay Civelli2df24642017-10-09 20:22:281677 "//services/proxy_resolver/:lib",
mek38d9efa12016-12-28 20:21:321678 "//services/service_manager/public/cpp:service_test_support",
chfremer9da3c7fa2017-05-25 05:27:081679 "//services/video_capture/public/interfaces",
dprankedac4838b2015-05-01 16:38:131680 "//skia",
1681 "//sql",
1682 "//sql:test_support",
jamb3c1195df2016-03-21 20:41:291683 "//storage/browser",
pwnall343665e72017-04-13 04:04:401684 "//storage/browser:test_support",
jamb3c1195df2016-03-21 20:41:291685 "//storage/common",
dprankedac4838b2015-05-01 16:38:131686 "//testing/gmock",
1687 "//testing/gtest",
jamb3c1195df2016-03-21 20:41:291688 "//third_party/WebKit/public:blink",
1689 "//third_party/icu",
1690 "//third_party/leveldatabase",
dprankedac4838b2015-05-01 16:38:131691 "//third_party/re2",
brettwc5fcdd02016-10-12 07:25:121692 "//third_party/widevine/cdm:headers",
dprankedac4838b2015-05-01 16:38:131693 "//ui/accessibility",
brettwb78fc9e2016-03-25 21:02:511694 "//ui/base:test_support",
yhanada268490f2017-05-10 07:41:281695 "//ui/base/ime",
jamb3c1195df2016-03-21 20:41:291696 "//ui/compositor:test_support",
oshima516f03b2016-04-28 15:40:111697 "//ui/display",
oshima46904122016-05-06 20:49:211698 "//ui/display:test_support",
brettw6b0712a2016-07-15 17:48:201699 "//ui/events:gesture_detection",
1700 "//ui/events:test_support",
dprankedac4838b2015-05-01 16:38:131701 "//ui/events/blink",
brettwb78fc9e2016-03-25 21:02:511702 "//ui/gfx:test_support",
dprankedac4838b2015-05-01 16:38:131703 "//ui/gfx/geometry",
1704 "//ui/gfx/ipc",
markdittmer99d77bf2016-03-31 19:03:241705 "//ui/gfx/ipc/skia",
jamb3c1195df2016-03-21 20:41:291706 "//ui/gl",
1707 "//ui/gl:test_support",
dprankedac4838b2015-05-01 16:38:131708 ]
1709
pmonette18d3ed32015-10-16 21:06:061710 data_deps = [
mek38d9efa12016-12-28 20:21:321711 "//components/filesystem:filesystem",
pmonette18d3ed32015-10-16 21:06:061712 "//third_party/mesa:osmesa",
1713 ]
dpranke1643d222015-07-27 22:22:081714
Kevin Marshalle9ff0fe32017-08-22 23:20:061715 if (is_posix && !is_fuchsia) {
brettw3c98c7d32017-07-25 01:44:201716 sources += [ "../browser/posix_file_descriptor_info_impl_unittest.cc" ]
dprankedac4838b2015-05-01 16:38:131717 }
1718
Jay Civelli1c14aad2017-10-03 17:08:261719 if (enable_net_mojo) {
Jay Civelli1c14aad2017-10-03 17:08:261720 deps += [ "//net:net_utility_services" ]
1721 }
1722
dprankedac4838b2015-05-01 16:38:131723 if (enable_plugins) {
brettwb167c7332016-09-07 22:52:461724 # Put WebRTC-related plugins sources in the "enable_webrtc &&
1725 # enable_plugins" section below.
1726 sources += [
1727 "../browser/renderer_host/pepper/browser_ppapi_host_test.cc",
1728 "../browser/renderer_host/pepper/browser_ppapi_host_test.h",
1729 "../browser/renderer_host/pepper/pepper_file_system_browser_host_unittest.cc",
1730 "../browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc",
1731 "../browser/renderer_host/pepper/pepper_printing_host_unittest.cc",
1732 "../browser/renderer_host/pepper/quota_reservation_unittest.cc",
1733 "../renderer/pepper/event_conversion_unittest.cc",
1734 "../renderer/pepper/host_var_tracker_unittest.cc",
1735 "../renderer/pepper/mock_resource.h",
1736 "../renderer/pepper/pepper_broker_unittest.cc",
1737 "../renderer/pepper/plugin_instance_throttler_impl_unittest.cc",
1738 "../renderer/pepper/v8_var_converter_unittest.cc",
1739 ]
brettwb78fc9e2016-03-25 21:02:511740 deps += [
1741 "//ppapi/host",
1742 "//ppapi/proxy:test_support",
1743 "//ppapi/shared_impl:test_support",
1744 ]
dprankedac4838b2015-05-01 16:38:131745 }
1746
John Rummellf0ab9812017-10-11 20:00:491747 if (enable_library_cdms) {
1748 sources += [ "../browser/media/cdm_storage_impl_unittest.cc" ]
1749 }
1750
dprankedac4838b2015-05-01 16:38:131751 if (enable_webrtc) {
brettwb167c7332016-09-07 22:52:461752 # Put WebRTC-related plugins sources in the "enable_webrtc &&
1753 # enable_plugins" section below.
1754 sources += [
1755 "../browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc",
1756 "../browser/renderer_host/p2p/socket_host_tcp_unittest.cc",
1757 "../browser/renderer_host/p2p/socket_host_test_utils.cc",
1758 "../browser/renderer_host/p2p/socket_host_test_utils.h",
1759 "../browser/renderer_host/p2p/socket_host_udp_unittest.cc",
1760 "../browser/webrtc/webrtc_eventlog_host_unittest.cc",
1761 "../browser/webrtc/webrtc_internals_unittest.cc",
1762 "../renderer/media/audio_repetition_detector_unittest.cc",
brettwb167c7332016-09-07 22:52:461763 "../renderer/media/gpu/rtc_video_decoder_unittest.cc",
1764 "../renderer/media/gpu/rtc_video_encoder_unittest.cc",
guidou57409ac2016-11-07 17:39:311765 "../renderer/media/media_devices_event_dispatcher_unittest.cc",
brettwb167c7332016-09-07 22:52:461766 "../renderer/media/media_stream_audio_processor_unittest.cc",
1767 "../renderer/media/media_stream_audio_unittest.cc",
guidou4f7a4c82017-06-19 15:29:101768 "../renderer/media/media_stream_constraints_util_audio_unittest.cc",
guidouebf283a2017-03-15 18:04:531769 "../renderer/media/media_stream_constraints_util_sets_unittest.cc",
brettwb167c7332016-09-07 22:52:461770 "../renderer/media/media_stream_constraints_util_unittest.cc",
guidou3e0109d22017-03-15 22:31:431771 "../renderer/media/media_stream_constraints_util_video_content_unittest.cc",
guidou3badfc12017-02-24 15:46:351772 "../renderer/media/media_stream_constraints_util_video_device_unittest.cc",
brettwb167c7332016-09-07 22:52:461773 "../renderer/media/media_stream_dispatcher_unittest.cc",
1774 "../renderer/media/media_stream_video_capturer_source_unittest.cc",
1775 "../renderer/media/media_stream_video_renderer_sink_unittest.cc",
1776 "../renderer/media/media_stream_video_source_unittest.cc",
1777 "../renderer/media/media_stream_video_track_unittest.cc",
1778 "../renderer/media/mock_constraint_factory.cc",
thakisb8590c92017-03-23 18:14:531779 "../renderer/media/mock_constraint_factory.h",
brettwb167c7332016-09-07 22:52:461780 "../renderer/media/mock_media_stream_registry.cc",
1781 "../renderer/media/mock_media_stream_registry.h",
1782 "../renderer/media/mock_media_stream_video_sink.cc",
1783 "../renderer/media/mock_media_stream_video_sink.h",
1784 "../renderer/media/mock_media_stream_video_source.cc",
1785 "../renderer/media/mock_media_stream_video_source.h",
1786 "../renderer/media/peer_connection_tracker_unittest.cc",
1787 "../renderer/media/rtc_data_channel_handler_unittest.cc",
1788 "../renderer/media/rtc_peer_connection_handler_unittest.cc",
1789 "../renderer/media/speech_recognition_audio_sink_unittest.cc",
1790 "../renderer/media/user_media_client_impl_unittest.cc",
Guido Urdanetae8e870d2017-09-13 01:41:181791 "../renderer/media/video_track_adapter_unittest.cc",
Guido Urdaneta209f5622017-08-02 09:22:451792 "../renderer/media/webmediaplayer_ms_unittest.cc",
brettwb167c7332016-09-07 22:52:461793 "../renderer/media/webrtc/media_stream_remote_video_source_unittest.cc",
1794 "../renderer/media/webrtc/media_stream_track_metrics_unittest.cc",
hta38db6862016-10-10 21:38:251795 "../renderer/media/webrtc/media_stream_video_webrtc_sink_unittest.cc",
brettwb167c7332016-09-07 22:52:461796 "../renderer/media/webrtc/peer_connection_dependency_factory_unittest.cc",
1797 "../renderer/media/webrtc/processed_local_audio_source_unittest.cc",
hbos20033c02016-11-25 14:47:041798 "../renderer/media/webrtc/rtc_stats_unittest.cc",
brettwb167c7332016-09-07 22:52:461799 "../renderer/media/webrtc/stun_field_trial_unittest.cc",
Henrik Boström618571d2017-08-31 11:00:271800 "../renderer/media/webrtc/two_keys_adapter_map_unittest.cc",
hbosd6144f22017-06-26 15:04:041801 "../renderer/media/webrtc/webrtc_media_stream_adapter_map_unittest.cc",
brettwb167c7332016-09-07 22:52:461802 "../renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc",
hbosebab8e62017-06-12 10:17:091803 "../renderer/media/webrtc/webrtc_media_stream_track_adapter_map_unittest.cc",
hbos8e3037f2017-05-30 12:29:501804 "../renderer/media/webrtc/webrtc_media_stream_track_adapter_unittest.cc",
brettwb167c7332016-09-07 22:52:461805 "../renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc",
1806 "../renderer/media/webrtc_audio_renderer_unittest.cc",
1807 "../renderer/media/webrtc_local_audio_source_provider_unittest.cc",
1808 "../renderer/media/webrtc_uma_histograms_unittest.cc",
mcasas4472a4722017-03-03 16:06:411809 "../renderer/media_capture_from_element/canvas_capture_handler_unittest.cc",
1810 "../renderer/media_capture_from_element/html_audio_element_capturer_source_unittest.cc",
1811 "../renderer/media_capture_from_element/html_video_element_capturer_source_unittest.cc",
mcasas74089a62017-02-23 00:27:511812 "../renderer/media_recorder/audio_track_recorder_unittest.cc",
1813 "../renderer/media_recorder/media_recorder_handler_unittest.cc",
1814 "../renderer/media_recorder/video_track_recorder_unittest.cc",
brettwb167c7332016-09-07 22:52:461815 "../renderer/p2p/filtering_network_manager_unittest.cc",
1816 "../renderer/p2p/ipc_network_manager_unittest.cc",
brettwb167c7332016-09-07 22:52:461817 ]
dprankedac4838b2015-05-01 16:38:131818 deps += [
Ke Hee4e26b42017-07-07 05:15:081819 "//services/device/public/interfaces",
dalecurtis655b0cf2016-11-20 00:00:131820 "//third_party/opus",
kjellanderd0e9a072016-08-01 08:51:261821 "//third_party/webrtc/api:libjingle_peerconnection",
hbos20033c02016-11-25 14:47:041822 "//third_party/webrtc/api:rtc_stats_api",
nisse252666c92017-05-02 11:56:171823 "//third_party/webrtc/api:video_frame_api",
dalecurtisfd6c7412017-04-06 22:28:461824 "//third_party/webrtc/api/video_codecs:video_codecs_api",
kjellanderd0e9a072016-08-01 08:51:261825 "//third_party/webrtc/media:rtc_media",
brettwb78fc9e2016-03-25 21:02:511826 "//third_party/webrtc/modules/desktop_capture:primitives",
dprankedac4838b2015-05-01 16:38:131827 "//third_party/webrtc/modules/video_capture",
mmenke680c2142017-07-05 19:08:561828 "//third_party/webrtc/rtc_base:rtc_base",
hbos9f64bf32016-09-24 08:38:171829 "//third_party/webrtc/stats:rtc_stats_test_utils",
Kevin Marshalle9ff0fe32017-08-22 23:20:061830 "//third_party/webrtc_overrides",
kjellandere3cbd6d2017-02-28 06:49:461831 "//third_party/webrtc_overrides:init_webrtc",
tommi75d54fe842016-02-09 14:56:301832 "//ui/shell_dialogs:shell_dialogs",
brettw25309d392015-01-13 04:37:361833 ]
1834
dprankedac4838b2015-05-01 16:38:131835 if (is_linux || is_mac || is_win) {
1836 sources +=
1837 [ "../browser/media/capture/desktop_capture_device_unittest.cc" ]
1838 deps += [ "//third_party/webrtc/modules/desktop_capture" ]
brettw25309d392015-01-13 04:37:361839 }
1840
mcasasb15b8e12016-07-15 18:08:021841 if (is_chromecast) {
pkotwicz699de142015-10-22 15:26:511842 sources -= [
mcasas74089a62017-02-23 00:27:511843 "../renderer/media_recorder/audio_track_recorder_unittest.cc",
1844 "../renderer/media_recorder/media_recorder_handler_unittest.cc",
1845 "../renderer/media_recorder/video_track_recorder_unittest.cc",
pkotwicz699de142015-10-22 15:26:511846 ]
1847 }
dprankedac4838b2015-05-01 16:38:131848 }
1849
johnme3ff48062016-04-11 15:51:081850 if (enable_webrtc && enable_plugins) {
brettwb167c7332016-09-07 22:52:461851 sources += [
1852 "../renderer/media/pepper_to_video_track_adapter_unittest.cc",
1853 "../renderer/media/video_track_to_pepper_adapter_unittest.cc",
1854 ]
johnme3ff48062016-04-11 15:51:081855 }
1856
miu32fb8992017-01-04 01:38:531857 # Screen capture unit tests.
1858 if (is_linux || is_mac || is_win) {
dalecurtis4b747aa2017-02-14 23:26:461859 deps += [ "//third_party/libyuv" ]
miu32fb8992017-01-04 01:38:531860 sources += [ "../browser/media/capture/web_contents_video_capture_device_unittest.cc" ]
1861 if (use_aura) {
1862 sources += [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ]
1863 }
braveyao1b086392017-02-10 00:09:241864 if (is_mac) {
1865 sources += [ "../browser/media/capture/cursor_renderer_mac_unittest.mm" ]
1866 }
miu32fb8992017-01-04 01:38:531867 if (is_chromeos) {
1868 sources +=
1869 [ "../browser/media/capture/desktop_capture_device_aura_unittest.cc" ]
1870 }
1871 }
1872
dprankedac4838b2015-05-01 16:38:131873 if (is_linux) {
1874 if (use_dbus) {
1875 deps += [ "//dbus:test_support" ]
brettw25309d392015-01-13 04:37:361876 }
dprankedac4838b2015-05-01 16:38:131877 }
1878 if (is_win) {
1879 deps += [ "//third_party/iaccessible2" ]
kulshin99aa1722016-08-08 20:50:591880 libs = [ "dwrite.lib" ]
dprankedac4838b2015-05-01 16:38:131881 }
1882 if (is_mac) {
brettwb78fc9e2016-03-25 21:02:511883 deps += [
kerrnel16b6fc52017-02-08 22:47:411884 "//sandbox/mac:seatbelt",
brettwb78fc9e2016-03-25 21:02:511885 "//third_party/mozilla",
1886 "//third_party/ocmock",
ennea46e8102016-06-21 22:47:091887 "//ui/accelerated_widget_mac",
brettwb78fc9e2016-03-25 21:02:511888 ]
ccameron469d0542017-05-06 19:15:441889 libs = [ "IOSurface.framework" ]
dprankedac4838b2015-05-01 16:38:131890 }
1891 if (is_chromeos) {
dprankedac4838b2015-05-01 16:38:131892 deps += [ "//chromeos" ]
1893 }
1894 if (is_android) {
brettwb167c7332016-09-07 22:52:461895 sources += [
liberato@chromium.org67462922017-06-07 17:45:231896 "../browser/android/android_overlay_provider_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461897 "../browser/android/java/gin_java_method_invocation_helper_unittest.cc",
1898 "../browser/android/java/java_type_unittest.cc",
1899 "../browser/android/java/jni_helper_unittest.cc",
sunyunjiabbea8a92017-08-31 11:18:541900 "../browser/android/overscroll_controller_android_unittest.cc",
tguilbertf08485bf2016-09-21 04:11:411901 "../browser/android/scoped_surface_request_manager_unittest.cc",
darin2d145fe2017-02-16 15:22:351902 "../browser/android/string_message_codec_unittest.cc",
brettwb167c7332016-09-07 22:52:461903 "../browser/android/url_request_content_job_unittest.cc",
braveyao709ed4c42016-11-05 01:12:061904 "../browser/media/capture/screen_capture_device_android_unittest.cc",
brettwb167c7332016-09-07 22:52:461905 "../renderer/java/gin_java_bridge_value_converter_unittest.cc",
1906 "../renderer/media/android/stream_texture_wrapper_impl_unittest.cc",
brettwb167c7332016-09-07 22:52:461907 ]
dprankedac4838b2015-05-01 16:38:131908 sources -= [
zqzhangd36b5ce2016-09-30 17:29:341909 "../browser/media/session/audio_focus_manager_unittest.cc",
erikchen3e164f72017-06-22 21:15:441910 "../browser/tracing/tracing_ui_unittest.cc",
dprankedac4838b2015-05-01 16:38:131911 "../browser/webui/url_data_manager_backend_unittest.cc",
1912 ]
pkotwicz86ef2312015-10-23 20:58:291913
agrieve97176362015-12-01 16:36:191914 deps += [
pkotwicz86ef2312015-10-23 20:58:291915 "//base:base_java_unittest_support",
1916 "//content/public/android:content_java",
mcasas4e216e72016-07-28 21:28:381917 "//device/geolocation:geolocation_java",
braveyao709ed4c42016-11-05 01:12:061918 "//media/capture/content/android",
1919 "//media/capture/content/android:screen_capture_java",
timavfe53c2c62016-11-23 02:35:461920 "//ui/android:android",
pkotwicz8c7027d2015-11-11 06:30:071921 "//v8:v8_external_startup_data_assets",
pkotwicz86ef2312015-10-23 20:58:291922 ]
pkotwiczefafec132015-10-22 20:23:001923
1924 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ]
brettw24746e52016-12-07 04:26:171925 } else {
1926 # Non-Android.
1927 sources += [
mcnee336ea2c2017-05-23 22:50:591928 "../browser/host_zoom_map_impl_unittest.cc",
brettw24746e52016-12-07 04:26:171929 "../browser/speech/chunked_byte_buffer_unittest.cc",
1930 "../browser/speech/endpointer/endpointer_unittest.cc",
1931 "../browser/speech/speech_recognition_engine_unittest.cc",
1932 "../browser/speech/speech_recognizer_impl_unittest.cc",
1933 ]
johannkoenig8cdf03472016-03-02 13:54:311934 deps += [ "//third_party/libvpx" ]
dprankedac4838b2015-05-01 16:38:131935 }
brettw25309d392015-01-13 04:37:361936
dprankedac4838b2015-05-01 16:38:131937 if (use_aura) {
1938 deps += [
brettwb78fc9e2016-03-25 21:02:511939 "//ui/aura:test_support",
brettw51d04a12015-05-05 19:43:041940 "//ui/aura_extra",
dprankedac4838b2015-05-01 16:38:131941 "//ui/wm",
1942 ]
1943 } else {
1944 sources -= [
1945 "../browser/renderer_host/render_widget_host_view_aura_unittest.cc",
dprankedac4838b2015-05-01 16:38:131946 "../browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc",
1947 "../browser/web_contents/aura/overscroll_window_animation_unittest.cc",
1948 "../browser/web_contents/aura/overscroll_window_delegate_unittest.cc",
mfomitchev7f790b6c2015-06-10 21:55:591949 "../browser/web_contents/web_contents_view_aura_unittest.cc",
dprankedac4838b2015-05-01 16:38:131950 ]
1951 }
isheriff727606c2015-11-10 23:46:571952
1953 # Avoid windows due to non-availability of cursor resources in test.
miu32fb8992017-01-04 01:38:531954 if (is_win) {
isheriff727606c2015-11-10 23:46:571955 sources -= [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ]
1956 }
dprankedac4838b2015-05-01 16:38:131957 if (use_aura || toolkit_views) {
1958 deps += [ "//ui/events:test_support" ]
1959 }
1960 if (!use_aura && !is_mac) {
1961 sources -= [
Stanislav Chiknavaryan47e66602017-08-04 21:31:311962 "../browser/compositor/gpu_vsync_begin_frame_source_unittest.cc",
dprankedac4838b2015-05-01 16:38:131963 "../browser/compositor/reflector_impl_unittest.cc",
1964 "../browser/compositor/software_browser_compositor_output_surface_unittest.cc",
danakjea89dd542017-03-29 23:30:471965 "../browser/renderer_host/compositor_resize_lock_unittest.cc",
dprankedac4838b2015-05-01 16:38:131966 ]
1967 }
brettw25309d392015-01-13 04:37:361968
dprankedac4838b2015-05-01 16:38:131969 if (!is_win && !is_mac) {
1970 sources -= [ "../common/plugin_list_unittest.cc" ]
1971 }
brettw25309d392015-01-13 04:37:361972
dprankedac4838b2015-05-01 16:38:131973 if (use_ozone) {
spang03357692016-02-24 00:10:571974 deps += [ "//ui/ozone" ]
dprankedac4838b2015-05-01 16:38:131975 } else {
1976 sources -=
1977 [ "../browser/compositor/software_output_device_ozone_unittest.cc" ]
1978 }
1979
svaldez2135be52016-04-20 16:34:531980 if (is_mac) {
dprankedac4838b2015-05-01 16:38:131981 deps += [ "//third_party/boringssl" ]
brettw25309d392015-01-13 04:37:361982 }
brettwb78fc9e2016-03-25 21:02:511983
1984 if (use_x11) {
1985 deps += [ "//ui/gfx/x" ]
1986 }
brettw25309d392015-01-13 04:37:361987}
brettwa14fc4bc2015-01-13 07:24:321988
mek38d9efa12016-12-28 20:21:321989service_manifest("content_unittests_manifest") {
1990 name = "content_unittests"
1991 source = "unittests_manifest.json"
John Abd-El-Malekcc5fd142017-08-02 18:14:011992 packaged_services = [
1993 "//content/network:manifest",
1994 "//services/file:manifest",
1995 ]
rockot0a386b5d92017-01-25 00:14:341996}
1997
1998catalog("content_unittests_catalog") {
1999 embedded_services = [ ":content_unittests_manifest" ]
2000}
2001
rockota60bd4e2017-01-28 02:11:402002catalog_cpp_source("content_unittests_catalog_source") {
2003 catalog = ":content_unittests_catalog"
2004 generated_function_name = "content::CreateContentUnittestsCatalog"
mek38d9efa12016-12-28 20:21:322005}
2006
brettw5ff98192015-10-22 06:36:152007test("content_perftests") {
brettwb78fc9e2016-03-25 21:02:512008 # See comment at the top of //content/BUILD.gn for why this is disabled in
2009 # component builds.
2010 if (is_component_build) {
2011 check_includes = false
2012 }
2013
brettw5ff98192015-10-22 06:36:152014 sources = [
Dave Tapuskac268151b82017-06-12 13:59:212015 "../browser/renderer_host/input/legacy_input_router_impl_perftest.cc",
brettw5ff98192015-10-22 06:36:152016 "../test/run_all_perftests.cc",
2017 ]
2018 deps = [
brettw5ff98192015-10-22 06:36:152019 "//base/test:test_support",
agrieved7a71c882015-11-20 19:53:282020 "//cc",
fsamuel812b8482016-05-16 18:52:182021 "//cc/ipc",
brettwb78fc9e2016-03-25 21:02:512022 "//content/browser:for_content_tests",
brettw5ff98192015-10-22 06:36:152023 "//content/public/browser",
2024 "//content/public/common",
2025 "//content/test:test_support",
brettw5ff98192015-10-22 06:36:152026 "//skia",
2027 "//testing/gtest",
2028 "//testing/perf",
chongz4a9751942016-08-17 17:49:392029 "//ui/events/blink",
brettw5ff98192015-10-22 06:36:152030 "//ui/gfx",
2031 "//ui/gfx/geometry",
2032 ]
brettwa14fc4bc2015-01-13 07:24:322033
brettw5ff98192015-10-22 06:36:152034 if (is_android) {
2035 deps += [ "//testing/android/native_test:native_test_native_code" ]
brettwa14fc4bc2015-01-13 07:24:322036 }
brettw5ff98192015-10-22 06:36:152037}
aizatskye62e3162016-06-03 20:48:112038
aizatsky69a64822016-07-19 21:28:472039group("fuzzers") {
aizatskye62e3162016-06-03 20:48:112040 deps = [
aizatsky69a64822016-07-19 21:28:472041 "//content/test/fuzzer",
aizatskye62e3162016-06-03 20:48:112042 ]
2043}