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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 "//components/password_manager/core/common", | 69 "//components/password_manager/core/common", |
70 "//components/pdf/browser", | 70 "//components/pdf/browser", |
71 "//components/pdf/common", | 71 "//components/pdf/common", |
72 "//components/pdf/renderer", | 72 "//components/pdf/renderer", |
73 "//components/plugins/renderer", | 73 "//components/plugins/renderer", |
74 "//components/policy", | 74 "//components/policy", |
75 "//components/power", | 75 "//components/power", |
76 "//components/precache/core", | 76 "//components/precache/core", |
77 "//components/precache/content", | 77 "//components/precache/content", |
78 "//components/pref_registry", | 78 "//components/pref_registry", |
79 "//components/proximity_auth", | |
80 "//components/proximity_auth/cryptauth", | |
81 "//components/query_parser", | 79 "//components/query_parser", |
82 "//components/rappor", | 80 "//components/rappor", |
83 "//components/renderer_context_menu", | 81 "//components/renderer_context_menu", |
84 "//components/resources:components_resources", | 82 "//components/resources:components_resources", |
85 "//components/search", | 83 "//components/search", |
86 "//components/search_engines", | 84 "//components/search_engines", |
87 "//components/search_provider_logos", | 85 "//components/search_provider_logos", |
88 "//components/sessions:sessions_content", | 86 "//components/sessions:sessions_content", |
89 "//components/signin/core/browser", | 87 "//components/signin/core/browser", |
90 "//components/startup_metric_utils", | 88 "//components/startup_metric_utils", |
(...skipping 20 matching lines...) Expand all Loading... |
111 "//components/web_cache/common", | 109 "//components/web_cache/common", |
112 "//components/web_cache/renderer", | 110 "//components/web_cache/renderer", |
113 "//components/web_modal", | 111 "//components/web_modal", |
114 "//components/web_resource", | 112 "//components/web_resource", |
115 "//components/webdata/common", | 113 "//components/webdata/common", |
116 "//components/webui_generator", | 114 "//components/webui_generator", |
117 "//components/wifi", | 115 "//components/wifi", |
118 "//components/wifi_sync", | 116 "//components/wifi_sync", |
119 ] | 117 ] |
120 | 118 |
| 119 if (!is_android && !is_ios) { |
| 120 deps += [ |
| 121 "//components/proximity_auth", |
| 122 "//components/proximity_auth/cryptauth", |
| 123 ] |
| 124 } |
| 125 |
121 if (!enable_configuration_policy) { | 126 if (!enable_configuration_policy) { |
122 deps -= [ "//components/policy" ] | 127 deps -= [ "//components/policy" ] |
123 } | 128 } |
124 | 129 |
125 if (!is_win && !is_mac) { | 130 if (!is_win && !is_mac) { |
126 deps -= [ "//components/wifi" ] | 131 deps -= [ "//components/wifi" ] |
127 } | 132 } |
128 if (!is_chromeos) { | 133 if (!is_chromeos) { |
129 deps -= [ | 134 deps -= [ |
130 "//components/pairing", | 135 "//components/pairing", |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 "//components/dom_distiller/core:unit_tests", | 259 "//components/dom_distiller/core:unit_tests", |
255 "//components/domain_reliability:unit_tests", | 260 "//components/domain_reliability:unit_tests", |
256 "//components/favicon_base:unit_tests", | 261 "//components/favicon_base:unit_tests", |
257 "//components/google/core/browser:unit_tests", | 262 "//components/google/core/browser:unit_tests", |
258 "//components/invalidation:unittests", | 263 "//components/invalidation:unittests", |
259 "//components/login:unit_tests", | 264 "//components/login:unit_tests", |
260 "//components/metrics:unit_tests", | 265 "//components/metrics:unit_tests", |
261 "//components/omnibox:unit_tests", | 266 "//components/omnibox:unit_tests", |
262 "//components/ownership:unit_tests", | 267 "//components/ownership:unit_tests", |
263 "//components/packed_ct_ev_whitelist:unit_tests", | 268 "//components/packed_ct_ev_whitelist:unit_tests", |
264 "//components/proximity_auth:unit_tests", | |
265 "//components/update_client:unit_tests", | 269 "//components/update_client:unit_tests", |
266 "//components/variations:unit_tests", | 270 "//components/variations:unit_tests", |
267 "//components/web_resource:unit_tests", | 271 "//components/web_resource:unit_tests", |
268 "//components/webdata/common:unit_tests", | 272 "//components/webdata/common:unit_tests", |
269 | 273 |
270 # These are the deps required by the code in this target. | 274 # These are the deps required by the code in this target. |
271 "//base", | 275 "//base", |
272 "//base/test:test_support", | 276 "//base/test:test_support", |
273 "//content/test:test_support", | 277 "//content/test:test_support", |
274 "//ui/base", | 278 "//ui/base", |
275 ] | 279 ] |
276 data_deps = [ ":components_tests_pak" ] | 280 data_deps = [ ":components_tests_pak" ] |
277 | 281 |
| 282 if (!is_android && !is_ios) { |
| 283 deps += [ "//components/proximity_auth:unit_tests" ] |
| 284 } |
| 285 |
278 # TODO(GYP) need this target. | 286 # TODO(GYP) need this target. |
279 #'breakpad/app/crash_keys_win_unittest.cc', | 287 #'breakpad/app/crash_keys_win_unittest.cc', |
280 | 288 |
281 # Precache tests need these defines. | 289 # Precache tests need these defines. |
282 #configs += [ "//components/precache/core:precache_config" ] | 290 #configs += [ "//components/precache/core:precache_config" ] |
283 | 291 |
284 if (toolkit_views) { | 292 if (toolkit_views) { |
285 # TODO(GYP) enable this as above. | 293 # TODO(GYP) enable this as above. |
286 #deps += [ "//components/constrained_window:unit_tests" ] | 294 #deps += [ "//components/constrained_window:unit_tests" ] |
287 } | 295 } |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 376 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
369 | 377 |
370 deps = [ | 378 deps = [ |
371 "//base", | 379 "//base", |
372 "//base/test:test_support_perf", | 380 "//base/test:test_support_perf", |
373 "//testing/gtest", | 381 "//testing/gtest", |
374 "//content/test:test_support", | 382 "//content/test:test_support", |
375 "//components/visitedlink/browser", | 383 "//components/visitedlink/browser", |
376 ] | 384 ] |
377 } | 385 } |
OLD | NEW |