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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 ] | 145 ] |
146 } | 146 } |
147 | 147 |
148 if (!enable_configuration_policy) { | 148 if (!enable_configuration_policy) { |
149 deps -= [ "//components/policy" ] | 149 deps -= [ "//components/policy" ] |
150 } | 150 } |
151 | 151 |
152 if (!is_win && !is_mac) { | 152 if (!is_win && !is_mac) { |
153 deps -= [ "//components/wifi" ] | 153 deps -= [ "//components/wifi" ] |
154 } | 154 } |
155 if (!is_chromeos) { | 155 if (!use_cros_fe) { |
156 deps -= [ | 156 deps -= [ |
157 "//components/pairing", | 157 "//components/pairing", |
158 "//components/wifi_sync", | 158 "//components/wifi_sync", |
159 ] | 159 ] |
160 } | 160 } |
161 | 161 |
162 if (!is_chromeos || !enable_extensions) { | 162 if (!use_cros_fe || !enable_extensions) { |
163 deps -= [ "//components/chrome_apps" ] | 163 deps -= [ "//components/chrome_apps" ] |
164 } | 164 } |
165 | 165 |
166 if (is_ios) { | 166 if (is_ios) { |
167 deps -= [ | 167 deps -= [ |
168 "//components/history/content/browser", | 168 "//components/history/content/browser", |
169 "//components/keyed_service/content", | 169 "//components/keyed_service/content", |
170 ] | 170 ] |
171 } | 171 } |
172 | 172 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 deps -= [ | 364 deps -= [ |
365 "//components/gcm_driver:unit_tests", | 365 "//components/gcm_driver:unit_tests", |
366 "//components/gcm_driver/instance_id:unit_tests", | 366 "//components/gcm_driver/instance_id:unit_tests", |
367 ] | 367 ] |
368 } | 368 } |
369 | 369 |
370 if (!is_android && !is_ios) { | 370 if (!is_android && !is_ios) { |
371 deps += [ "//components/proximity_auth:unit_tests" ] | 371 deps += [ "//components/proximity_auth:unit_tests" ] |
372 } | 372 } |
373 | 373 |
374 if (is_chromeos) { | 374 if (use_cros_fe) { |
375 deps += [ "//components/ownership:unit_tests" ] | 375 deps += [ "//components/ownership:unit_tests" ] |
376 } | 376 } |
377 | 377 |
378 # TODO(GYP) need this target. | 378 # TODO(GYP) need this target. |
379 #'breakpad/app/crash_keys_win_unittest.cc', | 379 #'breakpad/app/crash_keys_win_unittest.cc', |
380 | 380 |
381 # Precache tests need these defines. | 381 # Precache tests need these defines. |
382 #configs += [ "//components/precache/core:precache_config" ] | 382 #configs += [ "//components/precache/core:precache_config" ] |
383 | 383 |
384 if (toolkit_views) { | 384 if (toolkit_views) { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 | 507 |
508 deps = [ | 508 deps = [ |
509 "//base", | 509 "//base", |
510 "//base/test:test_support_perf", | 510 "//base/test:test_support_perf", |
511 "//testing/gtest", | 511 "//testing/gtest", |
512 "//testing/perf", | 512 "//testing/perf", |
513 "//content/test:test_support", | 513 "//content/test:test_support", |
514 "//components/visitedlink/browser", | 514 "//components/visitedlink/browser", |
515 ] | 515 ] |
516 } | 516 } |
OLD | NEW |