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