| 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 if (is_android) { | 10 if (is_android) { |
| 11 import("//build/config/android/rules.gni") | 11 import("//build/config/android/rules.gni") |
| 12 } | 12 } |
| 13 | 13 |
| 14 # Collection of all components. You wouldn't link to this, but this is rather | 14 # Collection of all components. You wouldn't link to this, but this is rather |
| 15 # to reference the files so they can be compiled by the build system. | 15 # to reference the files so they can be compiled by the build system. |
| 16 group("all_components") { | 16 group("all_components") { |
| 17 testonly = true # You shouldn't actually link to this. | 17 testonly = true # You shouldn't actually link to this. |
| 18 visibility = [ "//:*" ] # Only for the root targets to bring in. | 18 visibility = [ "//:*" ] # Only for the root targets to bring in. |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 "//components/autofill/core/browser", |
| 22 "//components/autofill/core/common", |
| 21 "//components/bookmarks/browser", | 23 "//components/bookmarks/browser", |
| 22 "//components/bookmarks/common", | 24 "//components/bookmarks/common", |
| 23 "//components/bookmarks/managed", | 25 "//components/bookmarks/managed", |
| 24 "//components/bookmarks/test", | 26 "//components/bookmarks/test", |
| 25 "//components/browser_sync/common", | 27 "//components/browser_sync/common", |
| 26 "//components/bubble", | 28 "//components/bubble", |
| 27 "//components/captive_portal", | 29 "//components/captive_portal", |
| 28 "//components/chrome_apps", | 30 "//components/chrome_apps", |
| 29 "//components/component_updater", | 31 "//components/component_updater", |
| 30 "//components/compression", | 32 "//components/compression", |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 if (!is_win && !is_mac) { | 209 if (!is_win && !is_mac) { |
| 208 deps -= [ "//components/wifi" ] | 210 deps -= [ "//components/wifi" ] |
| 209 } | 211 } |
| 210 | 212 |
| 211 if (!is_chromeos) { | 213 if (!is_chromeos) { |
| 212 deps -= [ | 214 deps -= [ |
| 213 "//components/pairing", | 215 "//components/pairing", |
| 214 "//components/wifi_sync", | 216 "//components/wifi_sync", |
| 215 ] | 217 ] |
| 216 } | 218 } |
| 219 } else { |
| 220 deps += [ "//components/autofill/ios/browser" ] |
| 217 } | 221 } |
| 218 | 222 |
| 219 if (toolkit_views) { | 223 if (toolkit_views) { |
| 220 deps += [ "//components/constrained_window" ] | 224 deps += [ "//components/constrained_window" ] |
| 221 } | 225 } |
| 222 | 226 |
| 223 if (is_android) { | 227 if (is_android) { |
| 224 deps -= [ | 228 deps -= [ |
| 225 "//components/autofill/content/browser", # Blocked on content/blink. | 229 "//components/autofill/content/browser", # Blocked on content/blink. |
| 226 "//components/autofill/content/common", # Blocked on content. | 230 "//components/autofill/content/common", # Blocked on content. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 ] | 309 ] |
| 306 } | 310 } |
| 307 | 311 |
| 308 # Add only ":unit_tests" dependencies here. If your tests have dependencies | 312 # Add only ":unit_tests" dependencies here. If your tests have dependencies |
| 309 # (this would at least include the component itself), they should be on the | 313 # (this would at least include the component itself), they should be on the |
| 310 # test source set and not here. | 314 # test source set and not here. |
| 311 | 315 |
| 312 deps = [ | 316 deps = [ |
| 313 "//base", | 317 "//base", |
| 314 "//base/test:test_support", | 318 "//base/test:test_support", |
| 319 "//components/autofill/core/browser:unit_tests", |
| 320 "//components/autofill/core/common:unit_tests", |
| 315 "//components/bookmarks/browser:unit_tests", | 321 "//components/bookmarks/browser:unit_tests", |
| 316 "//components/bookmarks/managed:unit_tests", | 322 "//components/bookmarks/managed:unit_tests", |
| 317 "//components/compression:unit_tests", | 323 "//components/compression:unit_tests", |
| 318 "//components/content_settings/core/common", | 324 "//components/content_settings/core/common", |
| 319 "//components/data_usage/core:unit_tests", | 325 "//components/data_usage/core:unit_tests", |
| 320 "//components/google/core/browser:unit_tests", | 326 "//components/google/core/browser:unit_tests", |
| 321 "//components/net_log:unit_tests", | 327 "//components/net_log:unit_tests", |
| 322 "//components/search:unit_tests", | 328 "//components/search:unit_tests", |
| 323 "//components/sessions:unit_tests", | 329 "//components/sessions:unit_tests", |
| 324 "//components/syncable_prefs:unit_tests", | 330 "//components/syncable_prefs:unit_tests", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 349 "//components/safe_json:unit_tests", | 355 "//components/safe_json:unit_tests", |
| 350 "//components/scheduler:unit_tests", | 356 "//components/scheduler:unit_tests", |
| 351 "//components/test_runner:test_runner", | 357 "//components/test_runner:test_runner", |
| 352 "//components/tracing:unit_tests", | 358 "//components/tracing:unit_tests", |
| 353 "//components/ui/zoom:unit_tests", | 359 "//components/ui/zoom:unit_tests", |
| 354 "//components/visitedlink/test:unit_tests", | 360 "//components/visitedlink/test:unit_tests", |
| 355 "//components/web_cache/browser:unit_tests", | 361 "//components/web_cache/browser:unit_tests", |
| 356 "//components/auto_login_parser:unit_tests", | 362 "//components/auto_login_parser:unit_tests", |
| 357 "//components/autofill/content/browser:unit_tests", | 363 "//components/autofill/content/browser:unit_tests", |
| 358 "//components/autofill/content/renderer:unit_tests", | 364 "//components/autofill/content/renderer:unit_tests", |
| 359 "//components/autofill/core/browser:unit_tests", | |
| 360 "//components/autofill/core/common:unit_tests", | |
| 361 "//components/bubble:unit_tests", | 365 "//components/bubble:unit_tests", |
| 362 "//components/captive_portal:unit_tests", | 366 "//components/captive_portal:unit_tests", |
| 363 "//components/cloud_devices/common:unit_tests", | 367 "//components/cloud_devices/common:unit_tests", |
| 364 "//components/component_updater:unit_tests", | 368 "//components/component_updater:unit_tests", |
| 365 "//components/content_settings/core/browser:unit_tests", | 369 "//components/content_settings/core/browser:unit_tests", |
| 366 "//components/content_settings/core/common:unit_tests", | 370 "//components/content_settings/core/common:unit_tests", |
| 367 "//components/crx_file:unit_tests", | 371 "//components/crx_file:unit_tests", |
| 368 "//components/data_reduction_proxy/content/browser:unit_tests", | 372 "//components/data_reduction_proxy/content/browser:unit_tests", |
| 369 "//components/data_reduction_proxy/core/browser:unit_tests", | 373 "//components/data_reduction_proxy/core/browser:unit_tests", |
| 370 "//components/data_reduction_proxy/core/common:unit_tests", | 374 "//components/data_reduction_proxy/core/common:unit_tests", |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 ] | 684 ] |
| 681 if (!is_ios) { | 685 if (!is_ios) { |
| 682 deps += [ | 686 deps += [ |
| 683 "//base", | 687 "//base", |
| 684 "//base/test:test_support_perf", | 688 "//base/test:test_support_perf", |
| 685 "//content/test:test_support", | 689 "//content/test:test_support", |
| 686 "//components/visitedlink/browser", | 690 "//components/visitedlink/browser", |
| 687 ] | 691 ] |
| 688 } | 692 } |
| 689 } | 693 } |
| OLD | NEW |