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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 297 |
298 output = "$root_out_dir/components_tests_resources.pak" | 298 output = "$root_out_dir/components_tests_resources.pak" |
299 | 299 |
300 deps = [ | 300 deps = [ |
301 "//components/resources", | 301 "//components/resources", |
302 "//components/strings", | 302 "//components/strings", |
303 "//ui/resources", | 303 "//ui/resources", |
304 "//ui/strings", | 304 "//ui/strings", |
305 ] | 305 ] |
306 } | 306 } |
| 307 |
| 308 if (is_linux && !is_chromeos) { |
| 309 # TODO(GYP): Figure out which of these work and are needed on other platforms. |
| 310 |
| 311 # TODO(GYP): Finish me ... |
| 312 # test("components_browsertests") { |
| 313 # sources = [ |
| 314 # "autofill/content/browser/risk/fingerprint_browsertest.cc", |
| 315 # "autofill/content/renderer/password_form_conversion_utils_browsertest.cc
", |
| 316 # "dom_distiller/content/distiller_page_web_contents_browsertest.cc", |
| 317 # "password_manager/content/renderer/credential_manager_client_browsertest
.cc", |
| 318 # ] |
| 319 # |
| 320 # defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 321 # |
| 322 # deps = [ |
| 323 # "//components/resources:components_resources", |
| 324 # "//components/strings", |
| 325 # "//components/autofill/content/browser", |
| 326 # "//components/autofill/content/renderer", |
| 327 # "//components/dom_distiller/content", |
| 328 # "//components/dom_distiller/core", |
| 329 # "//components/password_manager/content/renderer", |
| 330 # "//testing/gmock", |
| 331 # "//testing/gtest", |
| 332 # "//content/public/common", |
| 333 # "//content/public/renderer", |
| 334 # ] |
| 335 # |
| 336 # if (is_android) { |
| 337 # sources -= [ |
| 338 # ] |
| 339 # } |
| 340 # if (is_linux) { |
| 341 # # content_extractor_browsertest is a standalone content extraction tool
built as |
| 342 # # a MANUAL component_browsertest. |
| 343 # sources += [ |
| 344 # "dom_distiller/standalone/content_extractor_browsertest.cc", |
| 345 # ] |
| 346 # } |
| 347 # } |
| 348 |
| 349 test("components_perftests") { |
| 350 sources = [ |
| 351 "visitedlink/test/visitedlink_perftest.cc", |
| 352 ] |
| 353 |
| 354 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 355 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 356 |
| 357 deps = [ |
| 358 "//base", |
| 359 "//base/test:test_support_perf", |
| 360 "//testing/gtest", |
| 361 "//content/test:test_support", |
| 362 "//components/visitedlink/browser", |
| 363 ] |
| 364 } |
| 365 } |
OLD | NEW |