| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 ] | 335 ] |
| 336 | 336 |
| 337 output = "$root_out_dir/components_tests_resources.pak" | 337 output = "$root_out_dir/components_tests_resources.pak" |
| 338 | 338 |
| 339 deps = [ | 339 deps = [ |
| 340 "//components/resources", | 340 "//components/resources", |
| 341 "//components/strings", | 341 "//components/strings", |
| 342 ] | 342 ] |
| 343 } | 343 } |
| 344 | 344 |
| 345 if (is_android) { | |
| 346 import("//build/config/android/rules.gni") | |
| 347 | |
| 348 generate_jni("components_browsertests_jni_headers") { | |
| 349 jni_package = "components_browsertests/shell" | |
| 350 sources = [ | |
| 351 "test/android/browsertests_apk/src/org/chromium/components_browsertests_ap
k/ComponentsBrowserTestsActivity.java", | |
| 352 ] | |
| 353 } | |
| 354 } | |
| 355 | |
| 356 test("components_browsertests") { | 345 test("components_browsertests") { |
| 357 sources = [ | 346 sources = [ |
| 358 "autofill/content/browser/risk/fingerprint_browsertest.cc", | 347 "autofill/content/browser/risk/fingerprint_browsertest.cc", |
| 359 "autofill/content/renderer/password_form_conversion_utils_browsertest.cc", | 348 "autofill/content/renderer/password_form_conversion_utils_browsertest.cc", |
| 360 "dom_distiller/content/distillable_page_utils_browsertest.cc", | 349 "dom_distiller/content/distillable_page_utils_browsertest.cc", |
| 361 "dom_distiller/content/distiller_page_web_contents_browsertest.cc", | 350 "dom_distiller/content/distiller_page_web_contents_browsertest.cc", |
| 362 "password_manager/content/renderer/credential_manager_client_browsertest.cc"
, | 351 "password_manager/content/renderer/credential_manager_client_browsertest.cc"
, |
| 363 ] | 352 ] |
| 364 | 353 |
| 365 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 354 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| (...skipping 21 matching lines...) Expand all Loading... |
| 387 | 376 |
| 388 data_deps = [ ":components_tests_pak" ] | 377 data_deps = [ ":components_tests_pak" ] |
| 389 | 378 |
| 390 if (is_android) { | 379 if (is_android) { |
| 391 sources += [ | 380 sources += [ |
| 392 "test/android/browsertests_apk/components_browser_tests_android.cc", | 381 "test/android/browsertests_apk/components_browser_tests_android.cc", |
| 393 "test/android/browsertests_apk/components_browser_tests_android.h", | 382 "test/android/browsertests_apk/components_browser_tests_android.h", |
| 394 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", | 383 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", |
| 395 ] | 384 ] |
| 396 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] | 385 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] |
| 397 deps += [ | 386 deps += [ "//testing/android/native_test:native_test_support" ] |
| 398 ":components_browsertests_jni_headers", | |
| 399 "//testing/android/native_test:native_test_util", | |
| 400 ] | |
| 401 | 387 |
| 402 use_launcher = false | 388 use_launcher = false |
| 403 } | 389 } |
| 404 | 390 |
| 405 if (is_linux) { | 391 if (is_linux) { |
| 406 # content_extractor_browsertest is a standalone content extraction tool buil
t as | 392 # content_extractor_browsertest is a standalone content extraction tool buil
t as |
| 407 # a MANUAL component_browsertest. | 393 # a MANUAL component_browsertest. |
| 408 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] | 394 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] |
| 409 deps += [ | 395 deps += [ |
| 410 "pref_registry:test_support", | 396 "pref_registry:test_support", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 424 | 410 |
| 425 deps = [ | 411 deps = [ |
| 426 "//base", | 412 "//base", |
| 427 "//base/test:test_support_perf", | 413 "//base/test:test_support_perf", |
| 428 "//testing/gtest", | 414 "//testing/gtest", |
| 429 "//testing/perf", | 415 "//testing/perf", |
| 430 "//content/test:test_support", | 416 "//content/test:test_support", |
| 431 "//components/visitedlink/browser", | 417 "//components/visitedlink/browser", |
| 432 ] | 418 ] |
| 433 } | 419 } |
| OLD | NEW |