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 | 7 |
8 # Collection of all components. You wouldn't link to this, but this is rather | 8 # Collection of all components. You wouldn't link to this, but this is rather |
9 # to reference the files so they can be compiled by the build system. | 9 # to reference the files so they can be compiled by the build system. |
10 group("all_components") { | 10 group("all_components") { |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 test("components_unittests") { | 212 test("components_unittests") { |
213 sources = [ | 213 sources = [ |
214 "test/run_all_unittests.cc", | 214 "test/run_all_unittests.cc", |
215 ] | 215 ] |
216 | 216 |
217 # Add only ":unit_tests" dependencies here. If your tests have dependencies | 217 # Add only ":unit_tests" dependencies here. If your tests have dependencies |
218 # (this would at least include the component itself), they should be on the | 218 # (this would at least include the component itself), they should be on the |
219 # test source set and not here. | 219 # test source set and not here. |
220 deps = [ | 220 deps = [ |
221 "//components/auto_login_parser:unit_tests", | 221 "//components/auto_login_parser:unit_tests", |
| 222 |
222 # TODO(GYP) enable the rest of these. Some will likely work, but some | 223 # TODO(GYP) enable the rest of these. Some will likely work, but some |
223 # require extra dependencies to link properly. | 224 # require extra dependencies to link properly. |
224 "//components/autofill/content/browser:unit_tests", | 225 "//components/autofill/content/browser:unit_tests", |
225 "//components/autofill/core/browser:unit_tests", | 226 "//components/autofill/core/browser:unit_tests", |
226 "//components/autofill/core/common:unit_tests", | 227 "//components/autofill/core/common:unit_tests", |
| 228 |
227 #"//components/bookmarks/browser:unit_tests", | 229 #"//components/bookmarks/browser:unit_tests", |
228 #"//components/captive_portal:unit_tests", | 230 #"//components/captive_portal:unit_tests", |
229 #"//components/cloud_devices/common:unit_tests", | 231 #"//components/cloud_devices/common:unit_tests", |
230 #"//components/component_updater:unit_tests", | 232 #"//components/component_updater:unit_tests", |
231 #"//components/content_settings/core/browser:unit_tests", | 233 #"//components/content_settings/core/browser:unit_tests", |
232 "//components/content_settings/core/common:unit_tests", | 234 "//components/content_settings/core/common:unit_tests", |
| 235 |
233 #"//components/crx_file:unit_tests", | 236 #"//components/crx_file:unit_tests", |
234 #"//components/data_reduction_proxy/core/browser:unit_tests", | 237 #"//components/data_reduction_proxy/core/browser:unit_tests", |
235 #"//components/data_reduction_proxy/core/common:unit_tests", | 238 #"//components/data_reduction_proxy/core/common:unit_tests", |
236 #"//components/dom_distiller/core:unit_tests", | 239 #"//components/dom_distiller/core:unit_tests", |
237 #"//components/domain_reliability:unit_tests", | 240 #"//components/domain_reliability:unit_tests", |
238 "//components/google/core/browser:unit_tests", | 241 "//components/google/core/browser:unit_tests", |
| 242 |
239 #"//components/login:unit_tests", | 243 #"//components/login:unit_tests", |
240 #"//components/metrics:unit_tests", | 244 #"//components/metrics:unit_tests", |
241 "//components/omnibox:unit_tests", | 245 "//components/omnibox:unit_tests", |
242 "//components/ownership:unit_tests", | 246 "//components/ownership:unit_tests", |
243 "//components/proximity_auth:unit_tests", | 247 "//components/proximity_auth:unit_tests", |
244 "//components/variations:unit_tests", | 248 "//components/variations:unit_tests", |
245 "//components/web_resource:unit_tests", | 249 "//components/web_resource:unit_tests", |
246 | 250 |
247 # These are the deps required by the code in this target. | 251 # These are the deps required by the code in this target. |
248 "//base", | 252 "//base", |
249 "//base/test:test_support", | 253 "//base/test:test_support", |
250 "//content/test:test_support", | 254 "//content/test:test_support", |
251 "//ui/base", | 255 "//ui/base", |
252 ] | 256 ] |
253 | 257 |
254 # TODO(GYP) need this target. | 258 # TODO(GYP) need this target. |
255 #'breakpad/app/crash_keys_win_unittest.cc', | 259 #'breakpad/app/crash_keys_win_unittest.cc', |
256 | 260 |
257 # Precache tests need these defines. | 261 # Precache tests need these defines. |
258 #configs += [ "//components/precache/core:precache_config" ] | 262 #configs += [ "//components/precache/core:precache_config" ] |
259 | 263 |
260 if (toolkit_views) { | 264 if (toolkit_views) { |
261 # TODO(GYP) enable this as above. | 265 # TODO(GYP) enable this as above. |
262 #deps += [ "//components/constrained_window:unit_tests" ] | 266 #deps += [ "//components/constrained_window:unit_tests" ] |
263 } | 267 } |
264 } | 268 } |
OLD | NEW |