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