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