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 if (is_android) { | 10 if (is_android) { |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 } | 643 } |
644 | 644 |
645 if (is_mac) { | 645 if (is_mac) { |
646 data += [ "$root_out_dir/Content Shell.app/" ] | 646 data += [ "$root_out_dir/Content Shell.app/" ] |
647 } | 647 } |
648 | 648 |
649 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 649 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
650 deps = [ | 650 deps = [ |
651 "//base", | 651 "//base", |
652 "//base/test:test_support", | 652 "//base/test:test_support", |
| 653 "//components/strings", |
653 "//testing/gmock", | 654 "//testing/gmock", |
654 "//testing/gtest", | 655 "//testing/gtest", |
655 "strings", | |
656 ] | 656 ] |
657 if (!is_ios) { | 657 if (!is_ios) { |
658 deps += [ | 658 deps += [ |
| 659 "//components/autofill/content/browser", |
| 660 "//components/autofill/content/renderer", |
| 661 "//components/content_settings/core/common", |
| 662 "//components/dom_distiller/content:content_browser", |
| 663 "//components/dom_distiller/core", |
| 664 "//components/dom_distiller/core:test_support", |
| 665 "//components/password_manager/content/browser", |
| 666 "//components/password_manager/content/common", |
| 667 "//components/password_manager/content/renderer", |
659 "//components/tracing", | 668 "//components/tracing", |
660 "//content/test:browsertest_support", | 669 "//content/test:browsertest_support", |
661 "//content/test:test_support", | 670 "//content/test:test_support", |
662 "//device/bluetooth", | 671 "//device/bluetooth", |
663 "//ui/base", | 672 "//ui/base", |
664 "autofill/content/browser", | |
665 "autofill/content/renderer", | |
666 "content_settings/core/common", | |
667 "dom_distiller/content:content_browser", | |
668 "dom_distiller/core", | |
669 "dom_distiller/core:test_support", | |
670 "password_manager/content/browser", | |
671 "password_manager/content/common", | |
672 "password_manager/content/renderer", | |
673 ] | 673 ] |
674 | 674 |
675 data_deps = [ | 675 data_deps = [ |
676 ":components_tests_pak", | 676 ":components_tests_pak", |
677 "//third_party/mesa:osmesa", | 677 "//third_party/mesa:osmesa", |
678 ] | 678 ] |
679 } | 679 } |
680 if (is_android) { | 680 if (is_android) { |
681 sources += [ "test/android/browsertests_apk/components_browser_tests_jni_onl
oad.cc" ] | 681 sources += [ "test/android/browsertests_apk/components_browser_tests_jni_onl
oad.cc" ] |
682 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] | 682 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] |
683 deps += [ "//testing/android/native_test:native_test_support" ] | 683 deps += [ "//testing/android/native_test:native_test_support" ] |
684 use_default_launcher = false | 684 use_default_launcher = false |
685 isolate_file = "components_browsertests.isolate" | 685 isolate_file = "components_browsertests.isolate" |
686 android_manifest = | 686 android_manifest = |
687 "${target_gen_dir}/components_browsertests_manifest/AndroidManifest.xml" | 687 "${target_gen_dir}/components_browsertests_manifest/AndroidManifest.xml" |
688 apk_deps = [ | 688 apk_deps = [ |
689 ":components_browsertests_assets", | 689 ":components_browsertests_assets", |
690 ":components_browsertests_java", | 690 ":components_browsertests_java", |
691 ":components_browsertests_manifest", | 691 ":components_browsertests_manifest", |
692 ] | 692 ] |
693 } | 693 } |
694 | 694 |
695 if (is_linux) { | 695 if (is_linux) { |
696 # content_extractor_browsertest is a standalone content extraction tool buil
t as | 696 # content_extractor_browsertest is a standalone content extraction tool buil
t as |
697 # a MANUAL component_browsertest. | 697 # a MANUAL component_browsertest. |
698 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] | 698 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] |
699 deps += [ | 699 deps += [ |
700 "//base:prefs_test_support", | 700 "//base:prefs_test_support", |
701 "pref_registry:test_support", | 701 "//components/pref_registry:test_support", |
702 ] | 702 ] |
703 } | 703 } |
704 | 704 |
705 if (enable_basic_printing || enable_print_preview) { | 705 if (enable_basic_printing || enable_print_preview) { |
706 sources += [ "printing/test/print_web_view_helper_browsertest.cc" ] | 706 sources += [ "printing/test/print_web_view_helper_browsertest.cc" ] |
707 deps += [ "//components/printing/test:test_support" ] | 707 deps += [ "//components/printing/test:test_support" ] |
708 } | 708 } |
709 } | 709 } |
710 | 710 |
711 test("components_perftests") { | 711 test("components_perftests") { |
(...skipping 13 matching lines...) Expand all Loading... |
725 ] | 725 ] |
726 if (!is_ios) { | 726 if (!is_ios) { |
727 deps += [ | 727 deps += [ |
728 "//base", | 728 "//base", |
729 "//base/test:test_support_perf", | 729 "//base/test:test_support_perf", |
730 "//components/visitedlink/browser", | 730 "//components/visitedlink/browser", |
731 "//content/test:test_support", | 731 "//content/test:test_support", |
732 ] | 732 ] |
733 } | 733 } |
734 } | 734 } |
OLD | NEW |