OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 # Collection of all components. You wouldn't link to this, but this is rather | 10 # Collection of all components. You wouldn't link to this, but this is rather |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 "//components/invalidation/impl", | 58 "//components/invalidation/impl", |
59 "//components/json_schema", | 59 "//components/json_schema", |
60 "//components/keyed_service/content", | 60 "//components/keyed_service/content", |
61 "//components/language_usage_metrics", | 61 "//components/language_usage_metrics", |
62 "//components/leveldb_proto", | 62 "//components/leveldb_proto", |
63 "//components/login", | 63 "//components/login", |
64 "//components/metrics", | 64 "//components/metrics", |
65 "//components/mime_util", | 65 "//components/mime_util", |
66 "//components/navigation_interception", | 66 "//components/navigation_interception", |
67 "//components/navigation_metrics", | 67 "//components/navigation_metrics", |
| 68 "//components/network_hints/browser", |
| 69 "//components/network_hints/common", |
| 70 "//components/network_hints/renderer", |
68 "//components/network_time", | 71 "//components/network_time", |
69 "//components/offline_pages", | 72 "//components/offline_pages", |
70 "//components/omnibox/browser", | 73 "//components/omnibox/browser", |
71 "//components/onc", | 74 "//components/onc", |
72 "//components/open_from_clipboard", | 75 "//components/open_from_clipboard", |
73 "//components/os_crypt", | 76 "//components/os_crypt", |
74 "//components/packed_ct_ev_whitelist", | 77 "//components/packed_ct_ev_whitelist", |
75 "//components/pairing", | 78 "//components/pairing", |
76 "//components/password_manager/content/browser", | 79 "//components/password_manager/content/browser", |
77 "//components/password_manager/core/browser", | 80 "//components/password_manager/core/browser", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 164 } |
162 | 165 |
163 if (!is_chromeos || !enable_extensions) { | 166 if (!is_chromeos || !enable_extensions) { |
164 deps -= [ "//components/chrome_apps" ] | 167 deps -= [ "//components/chrome_apps" ] |
165 } | 168 } |
166 | 169 |
167 if (is_ios) { | 170 if (is_ios) { |
168 deps -= [ | 171 deps -= [ |
169 "//components/history/content/browser", | 172 "//components/history/content/browser", |
170 "//components/keyed_service/content", | 173 "//components/keyed_service/content", |
| 174 "//components/network_hints/renderer", |
171 ] | 175 ] |
172 } | 176 } |
173 | 177 |
174 if (!enable_plugins) { | 178 if (!enable_plugins) { |
175 deps -= [ | 179 deps -= [ |
176 "//components/pdf/browser", | 180 "//components/pdf/browser", |
177 "//components/pdf/common", | 181 "//components/pdf/common", |
178 "//components/pdf/renderer", | 182 "//components/pdf/renderer", |
179 ] | 183 ] |
180 } | 184 } |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 "//components/cloud_devices/common:unit_tests", | 306 "//components/cloud_devices/common:unit_tests", |
303 "//components/component_updater:unit_tests", | 307 "//components/component_updater:unit_tests", |
304 "//components/content_settings/core/browser:unit_tests", | 308 "//components/content_settings/core/browser:unit_tests", |
305 "//components/content_settings/core/common:unit_tests", | 309 "//components/content_settings/core/common:unit_tests", |
306 "//components/crx_file:unit_tests", | 310 "//components/crx_file:unit_tests", |
307 "//components/data_reduction_proxy/content/browser:unit_tests", | 311 "//components/data_reduction_proxy/content/browser:unit_tests", |
308 "//components/data_reduction_proxy/core/browser:unit_tests", | 312 "//components/data_reduction_proxy/core/browser:unit_tests", |
309 "//components/data_reduction_proxy/core/common:unit_tests", | 313 "//components/data_reduction_proxy/core/common:unit_tests", |
310 "//components/device_event_log:unit_tests", | 314 "//components/device_event_log:unit_tests", |
311 "//components/devtools_http_handler:unit_tests", | 315 "//components/devtools_http_handler:unit_tests", |
| 316 "//components/dom_distiller/content:unit_tests", |
312 "//components/dom_distiller/core:unit_tests", | 317 "//components/dom_distiller/core:unit_tests", |
313 "//components/domain_reliability:unit_tests", | 318 "//components/domain_reliability:unit_tests", |
314 "//components/enhanced_bookmarks:unit_tests", | 319 "//components/enhanced_bookmarks:unit_tests", |
315 "//components/favicon/content:unit_tests", | 320 "//components/favicon/content:unit_tests", |
316 "//components/favicon/core:unit_tests", | 321 "//components/favicon/core:unit_tests", |
317 "//components/favicon_base:unit_tests", | 322 "//components/favicon_base:unit_tests", |
318 "//components/gcm_driver/crypto:unit_tests", | 323 "//components/gcm_driver/crypto:unit_tests", |
319 "//components/gcm_driver/instance_id:unit_tests", | 324 "//components/gcm_driver/instance_id:unit_tests", |
320 "//components/gcm_driver:unit_tests", | 325 "//components/gcm_driver:unit_tests", |
321 "//components/google/core/browser:unit_tests", | 326 "//components/google/core/browser:unit_tests", |
322 "//components/history/content/browser:unit_tests", | 327 "//components/history/content/browser:unit_tests", |
323 "//components/history/core/browser:unit_tests", | 328 "//components/history/core/browser:unit_tests", |
324 "//components/history/core/common:unit_tests", | 329 "//components/history/core/common:unit_tests", |
325 "//components/invalidation/impl:unit_tests", | 330 "//components/invalidation/impl:unit_tests", |
| 331 "//components/json_schema:unit_tests", |
326 "//components/keyed_service/content:unit_tests", | 332 "//components/keyed_service/content:unit_tests", |
327 "//components/keyed_service/core:unit_tests", | 333 "//components/keyed_service/core:unit_tests", |
| 334 "//components/leveldb_proto:unit_tests", |
328 "//components/login:unit_tests", | 335 "//components/login:unit_tests", |
329 "//components/metrics:unit_tests", | 336 "//components/metrics:unit_tests", |
330 "//components/mime_util:unit_tests", | 337 "//components/mime_util:unit_tests", |
331 "//components/offline_pages:unit_tests", | 338 "//components/offline_pages:unit_tests", |
332 "//components/omnibox/browser:unit_tests", | 339 "//components/omnibox/browser:unit_tests", |
333 "//components/open_from_clipboard:unit_tests", | 340 "//components/open_from_clipboard:unit_tests", |
334 "//components/packed_ct_ev_whitelist:unit_tests", | 341 "//components/packed_ct_ev_whitelist:unit_tests", |
335 "//components/password_manager/content/browser:unit_tests", | 342 "//components/password_manager/content/browser:unit_tests", |
336 "//components/password_manager/core/browser:unit_tests", | 343 "//components/password_manager/core/browser:unit_tests", |
337 "//components/password_manager/core/common:unit_tests", | 344 "//components/password_manager/core/common:unit_tests", |
338 "//components/password_manager/sync/browser:unit_tests", | 345 "//components/password_manager/sync/browser:unit_tests", |
| 346 "//components/precache/content:unit_tests", |
| 347 "//components/precache/core:unit_tests", |
| 348 "//components/proxy_config:unit_tests", |
339 "//components/rappor:unit_tests", | 349 "//components/rappor:unit_tests", |
340 "//components/search:unit_tests", | 350 "//components/search:unit_tests", |
341 "//components/search_engines:unit_tests", | 351 "//components/search_engines:unit_tests", |
| 352 "//components/search_provider_logos:unit_tests", |
342 "//components/signin/core/browser:unit_tests", | 353 "//components/signin/core/browser:unit_tests", |
343 "//components/suggestions:unit_tests", | 354 "//components/suggestions:unit_tests", |
344 "//components/sync_driver:unit_tests", | 355 "//components/sync_driver:unit_tests", |
| 356 "//components/translate/core/browser:unit_tests", |
| 357 "//components/translate/core/common:unit_tests", |
| 358 "//components/translate/core/language_detection:unit_tests", |
345 "//components/undo:unit_tests", | 359 "//components/undo:unit_tests", |
346 "//components/url_formatter:unit_tests", | 360 "//components/url_formatter:unit_tests", |
| 361 "//components/url_matcher:unit_tests", |
347 "//components/update_client:unit_tests", | 362 "//components/update_client:unit_tests", |
348 "//components/upload_list:unit_tests", | 363 "//components/upload_list:unit_tests", |
349 "//components/user_prefs/tracked:unit_tests", | 364 "//components/user_prefs/tracked:unit_tests", |
350 "//components/variations:unit_tests", | 365 "//components/variations:unit_tests", |
351 "//components/web_resource:unit_tests", | 366 "//components/web_resource:unit_tests", |
352 "//components/webcrypto:unit_tests", | 367 "//components/webcrypto:unit_tests", |
353 "//components/webdata/common:unit_tests", | 368 "//components/webdata/common:unit_tests", |
354 | 369 |
355 # These are the deps required by the code in this target. | 370 # These are the deps required by the code in this target. |
356 "//base", | 371 "//base", |
(...skipping 29 matching lines...) Expand all Loading... |
386 ] | 401 ] |
387 } | 402 } |
388 | 403 |
389 if (!is_android && !is_ios) { | 404 if (!is_android && !is_ios) { |
390 deps += [ | 405 deps += [ |
391 "//components/audio_modem:unit_tests", | 406 "//components/audio_modem:unit_tests", |
392 "//components/copresence:unit_tests", | 407 "//components/copresence:unit_tests", |
393 "//components/feedback:unit_tests", | 408 "//components/feedback:unit_tests", |
394 "//components/proximity_auth:unit_tests", | 409 "//components/proximity_auth:unit_tests", |
395 "//components/sessions:unit_tests", | 410 "//components/sessions:unit_tests", |
| 411 "//components/storage_monitor:unit_tests", |
396 ] | 412 ] |
397 } | 413 } |
398 | 414 |
399 if (is_chromeos) { | 415 if (is_chromeos) { |
400 deps += [ "//components/ownership:unit_tests" ] | 416 deps += [ "//components/ownership:unit_tests" ] |
401 } | 417 } |
402 | 418 |
403 # TODO(GYP) need this target. | 419 # TODO(GYP) need this target. |
404 #'breakpad/app/crash_keys_win_unittest.cc', | 420 #'breakpad/app/crash_keys_win_unittest.cc', |
405 | 421 |
(...skipping 11 matching lines...) Expand all Loading... |
417 # TODO bug 522654 Enable this when the undefined symbol is fixed in | 433 # TODO bug 522654 Enable this when the undefined symbol is fixed in |
418 # web_modal such that this links. | 434 # web_modal such that this links. |
419 #deps += [ "//components/constrained_window:unit_tests" ] | 435 #deps += [ "//components/constrained_window:unit_tests" ] |
420 } | 436 } |
421 if (is_win) { | 437 if (is_win) { |
422 deps += [ "//components/browser_watcher:unit_tests" ] | 438 deps += [ "//components/browser_watcher:unit_tests" ] |
423 } | 439 } |
424 if (is_ios) { | 440 if (is_ios) { |
425 deps += [ "//components/signin/core/browser:unit_tests" ] | 441 deps += [ "//components/signin/core/browser:unit_tests" ] |
426 deps -= [ "//components/devtools_http_handler:unit_tests" ] | 442 deps -= [ "//components/devtools_http_handler:unit_tests" ] |
427 } | 443 } else { |
428 if (!is_ios) { | 444 # Non-iOS tests. |
429 deps += [ | 445 deps += [ |
| 446 "//components/error_page/renderer:unit_tests", |
| 447 "//components/guest_view/browser:unit_tests", |
430 "//components/navigation_interception:unit_tests", | 448 "//components/navigation_interception:unit_tests", |
| 449 "//components/network_hints/renderer:unit_tests", |
431 "//components/safe_json:unit_tests", | 450 "//components/safe_json:unit_tests", |
432 "//components/scheduler:unit_tests", | 451 "//components/scheduler:unit_tests", |
433 ] | 452 ] |
434 } | 453 } |
435 | 454 |
436 if (enable_basic_printing || enable_print_preview) { | 455 if (enable_basic_printing || enable_print_preview) { |
437 deps += [ | 456 deps += [ |
438 "//components/printing/browser", | 457 "//components/printing/browser", |
439 "//components/printing/common", | 458 "//components/printing/common", |
440 "//components/printing/renderer", | 459 "//components/printing/renderer", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 574 |
556 deps = [ | 575 deps = [ |
557 "//base", | 576 "//base", |
558 "//base/test:test_support_perf", | 577 "//base/test:test_support_perf", |
559 "//testing/gtest", | 578 "//testing/gtest", |
560 "//testing/perf", | 579 "//testing/perf", |
561 "//content/test:test_support", | 580 "//content/test:test_support", |
562 "//components/visitedlink/browser", | 581 "//components/visitedlink/browser", |
563 ] | 582 ] |
564 } | 583 } |
OLD | NEW |