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 # TODO(GYP) enable the rest of these. Some will likely work, but some | |
223 # require extra dependencies to link properly. | |
224 "//components/autofill/content/browser:unit_tests", | 222 "//components/autofill/content/browser:unit_tests", |
225 "//components/autofill/core/browser:unit_tests", | 223 "//components/autofill/core/browser:unit_tests", |
226 "//components/autofill/core/common:unit_tests", | 224 "//components/autofill/core/common:unit_tests", |
227 #"//components/bookmarks/browser:unit_tests", | 225 "//components/bookmarks/browser:unit_tests", |
228 #"//components/captive_portal:unit_tests", | 226 "//components/captive_portal:unit_tests", |
229 #"//components/cloud_devices/common:unit_tests", | 227 "//components/cloud_devices/common:unit_tests", |
230 #"//components/component_updater:unit_tests", | 228 "//components/component_updater:unit_tests", |
231 #"//components/content_settings/core/browser:unit_tests", | 229 "//components/content_settings/core/browser:unit_tests", |
232 "//components/content_settings/core/common:unit_tests", | 230 "//components/content_settings/core/common:unit_tests", |
233 #"//components/crx_file:unit_tests", | 231 "//components/crx_file:unit_tests", |
234 #"//components/data_reduction_proxy/core/browser:unit_tests", | 232 "//components/data_reduction_proxy/core/browser:unit_tests", |
235 #"//components/data_reduction_proxy/core/common:unit_tests", | 233 "//components/data_reduction_proxy/core/common:unit_tests", |
236 #"//components/dom_distiller/core:unit_tests", | 234 "//components/dom_distiller/core:unit_tests", |
237 #"//components/domain_reliability:unit_tests", | 235 "//components/domain_reliability:unit_tests", |
238 "//components/google/core/browser:unit_tests", | 236 "//components/google/core/browser:unit_tests", |
239 #"//components/login:unit_tests", | 237 "//components/login:unit_tests", |
240 #"//components/metrics:unit_tests", | 238 "//components/metrics:unit_tests", |
241 "//components/omnibox:unit_tests", | 239 "//components/omnibox:unit_tests", |
242 "//components/ownership:unit_tests", | 240 "//components/ownership:unit_tests", |
243 "//components/proximity_auth:unit_tests", | 241 "//components/proximity_auth:unit_tests", |
244 "//components/variations:unit_tests", | 242 "//components/variations:unit_tests", |
245 "//components/web_resource:unit_tests", | 243 "//components/web_resource:unit_tests", |
246 | 244 |
247 # These are the deps required by the code in this target. | 245 # These are the deps required by the code in this target. |
248 "//base", | 246 "//base", |
249 "//base/test:test_support", | 247 "//base/test:test_support", |
250 "//content/test:test_support", | 248 "//content/test:test_support", |
251 "//ui/base", | 249 "//ui/base", |
252 ] | 250 ] |
253 | 251 |
254 # TODO(GYP) need this target. | 252 # TODO(GYP) need this target. |
255 #'breakpad/app/crash_keys_win_unittest.cc', | 253 #'breakpad/app/crash_keys_win_unittest.cc', |
256 | 254 |
257 # Precache tests need these defines. | 255 # Precache tests need these defines. |
258 #configs += [ "//components/precache/core:precache_config" ] | 256 #configs += [ "//components/precache/core:precache_config" ] |
259 | 257 |
260 if (toolkit_views) { | 258 if (toolkit_views) { |
261 # TODO(GYP) enable this as above. | 259 # TODO(GYP) enable this as above. |
262 #deps += [ "//components/constrained_window:unit_tests" ] | 260 #deps += [ "//components/constrained_window:unit_tests" ] |
263 } | 261 } |
264 } | 262 } |
OLD | NEW |