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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
634 "../renderer/render_view_browsertest.cc", | 634 "../renderer/render_view_browsertest.cc", |
635 "../renderer/render_view_browsertest_mac.mm", | 635 "../renderer/render_view_browsertest_mac.mm", |
636 "../renderer/render_widget_browsertest.cc", | 636 "../renderer/render_widget_browsertest.cc", |
637 "../renderer/visual_state_browsertest.cc", | 637 "../renderer/visual_state_browsertest.cc", |
638 "../renderer/webclipboard_impl_browsertest.cc", | 638 "../renderer/webclipboard_impl_browsertest.cc", |
639 "../test/browser_test_utils_browsertest.cc", | 639 "../test/browser_test_utils_browsertest.cc", |
640 "../test/content_browser_test_test.cc", | 640 "../test/content_browser_test_test.cc", |
641 "../test/webui_resource_browsertest.cc", | 641 "../test/webui_resource_browsertest.cc", |
642 ] | 642 ] |
643 | 643 |
644 if (is_android || is_linux || is_mac || is_win) { | |
645 data = [ | |
646 "$root_out_dir/content_shell.pak", | |
647 "data/", | |
648 "//media/test/data/", | |
649 ] | |
650 | |
651 if (!is_android) { | |
652 data += [ | |
653 "//net/tools/testserver/", | |
654 "//ppapi/tests/test_case.html", | |
655 "//ppapi/tests/test_page.css", | |
656 "//third_party/pyftpdlib/", | |
657 "//third_party/pywebsocket/", | |
658 "//third_party/tlslite/", | |
659 ] | |
660 | |
661 if (is_mac) { | |
662 data += [ "$root_out_dir/Content Shell.app/" ] | |
663 } | |
664 if (is_win) { | |
665 if (symbol_level != 0) { | |
666 data += [ "$root_out_dir/content_browsertests.exe.pdb" ] | |
667 } | |
668 } | |
669 if (is_linux) { | |
670 data += [ "//testing/buildbot/filters/browser-side-navigation.linux.cont ent_browsertests.filter" ] | |
671 } | |
672 | |
673 if (is_win || is_linux || is_android) { | |
674 data += [ "//testing/buildbot/filters/site-per-process.content_browserte sts.filter" ] | |
675 } | |
676 } | |
677 } | |
678 | |
679 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 644 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
680 | 645 |
681 configs += [ | 646 configs += [ |
682 "//build/config:precompiled_headers", | 647 "//build/config:precompiled_headers", |
683 "//build/config/compiler:no_size_t_to_int_warning", | 648 "//build/config/compiler:no_size_t_to_int_warning", |
684 ] | 649 ] |
685 | 650 |
686 deps = [ | 651 deps = [ |
687 ":browsertest_support", | 652 ":browsertest_support", |
688 ":content_test_mojo_bindings", | 653 ":content_test_mojo_bindings", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
758 "//ppapi/proxy", | 723 "//ppapi/proxy", |
759 "//ppapi/proxy:ipc", | 724 "//ppapi/proxy:ipc", |
760 "//ppapi/shared_impl:test_support", | 725 "//ppapi/shared_impl:test_support", |
761 ] | 726 ] |
762 data_deps += [ "//ppapi:ppapi_tests" ] | 727 data_deps += [ "//ppapi:ppapi_tests" ] |
763 if (is_mac) { | 728 if (is_mac) { |
764 data += [ "$root_out_dir/ppapi_tests.plugin/" ] | 729 data += [ "$root_out_dir/ppapi_tests.plugin/" ] |
765 } | 730 } |
766 } | 731 } |
767 | 732 |
733 if (is_android || is_linux || is_mac || is_win) { | |
734 data = [ | |
735 "$root_out_dir/content_shell.pak", | |
736 "data/", | |
737 "//media/test/data/", | |
738 ] | |
Łukasz Anforowicz
2016/10/20 21:40:54
I am not sure why these data dependencies aren't j
brettw
2016/10/20 21:56:11
This kind of thing would have normally just been c
| |
739 } | |
740 | |
741 if (is_linux || is_mac || is_win) { | |
742 data += [ | |
743 "//net/tools/testserver/", | |
744 "//ppapi/tests/test_case.html", | |
745 "//ppapi/tests/test_page.css", | |
746 "//third_party/pyftpdlib/", | |
747 "//third_party/pywebsocket/", | |
748 "//third_party/tlslite/", | |
749 ] | |
750 } | |
751 | |
752 if (is_win || is_linux || is_android) { | |
753 data += [ "//testing/buildbot/filters/site-per-process.content_browsertests. filter" ] | |
Łukasz Anforowicz
2016/10/20 21:40:54
Maybe this should be moved to the generic section
sky
2016/10/20 22:53:21
Not sure what you are proposing. I like what you h
Łukasz Anforowicz
2016/10/20 22:58:33
Okay, thanks. To clarify, I'll put together a sep
| |
754 } | |
755 | |
768 if (is_win) { | 756 if (is_win) { |
769 sources += [ "../browser/accessibility/accessibility_win_browsertest.cc" ] | 757 sources += [ "../browser/accessibility/accessibility_win_browsertest.cc" ] |
770 | 758 |
771 deps += [ | 759 deps += [ |
772 "//content/app/strings", | 760 "//content/app/strings", |
773 "//net:net_resources", | 761 "//net:net_resources", |
774 "//third_party/WebKit/public:resources", | 762 "//third_party/WebKit/public:resources", |
775 "//third_party/iaccessible2", | 763 "//third_party/iaccessible2", |
776 "//third_party/isimpledom", | 764 "//third_party/isimpledom", |
777 ] | 765 ] |
778 | 766 |
779 libs = [ "oleacc.lib" ] | 767 libs = [ "oleacc.lib" ] |
768 | |
769 if (symbol_level != 0) { | |
770 data += [ "$root_out_dir/content_browsertests.exe.pdb" ] | |
771 } | |
780 } | 772 } |
781 | 773 |
782 if (is_linux) { | 774 if (is_linux) { |
783 sources += [ "../zygote/zygote_browsertest.cc" ] | 775 sources += [ "../zygote/zygote_browsertest.cc" ] |
776 data += [ "//testing/buildbot/filters/browser-side-navigation.linux.content_ browsertests.filter" ] | |
Łukasz Anforowicz
2016/10/20 21:40:54
Same as above - the filter file can just go into a
| |
784 } | 777 } |
785 | 778 |
786 if (is_android) { | 779 if (is_android) { |
787 sources += [ | 780 sources += [ |
788 "../browser/accessibility/android_granularity_movement_browsertest.cc", | 781 "../browser/accessibility/android_granularity_movement_browsertest.cc", |
789 "../browser/media/session/audio_focus_delegate_android_browsertest.cc", | 782 "../browser/media/session/audio_focus_delegate_android_browsertest.cc", |
790 "../shell/android/browsertests_apk/content_browser_tests_jni_onload.cc", | 783 "../shell/android/browsertests_apk/content_browser_tests_jni_onload.cc", |
791 ] | 784 ] |
792 sources -= [ | 785 sources -= [ |
793 "../browser/battery_status/battery_monitor_impl_browsertest.cc", | 786 "../browser/battery_status/battery_monitor_impl_browsertest.cc", |
794 "../browser/media/session/audio_focus_delegate_default_browsertest.cc", | 787 "../browser/media/session/audio_focus_delegate_default_browsertest.cc", |
795 ] | 788 ] |
796 deps += [ | 789 deps += [ |
797 ":content_browsertests_java", | 790 ":content_browsertests_java", |
798 "//content/shell:content_shell_lib", | 791 "//content/shell:content_shell_lib", |
799 "//content/shell/android:content_shell_assets", | 792 "//content/shell/android:content_shell_assets", |
800 "//content/shell/android:content_shell_jni_headers", | 793 "//content/shell/android:content_shell_jni_headers", |
801 "//testing/android/native_test:native_test_support", | 794 "//testing/android/native_test:native_test_support", |
802 ] | 795 ] |
803 deps -= [ "//device/battery" ] | 796 deps -= [ "//device/battery" ] |
804 android_manifest = | 797 android_manifest = |
805 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" | 798 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" |
806 android_manifest_dep = ":content_browsertests_manifest" | 799 android_manifest_dep = ":content_browsertests_manifest" |
807 use_default_launcher = false | 800 use_default_launcher = false |
808 } | 801 } |
809 | 802 |
810 if (is_mac) { | 803 if (is_mac) { |
811 sources += [ "../renderer/external_popup_menu_browsertest.cc" ] | 804 sources += [ "../renderer/external_popup_menu_browsertest.cc" ] |
812 deps += [ "//content/shell:content_shell" ] | 805 deps += [ "//content/shell:content_shell" ] |
806 data += [ "$root_out_dir/Content Shell.app/" ] | |
813 } | 807 } |
814 | 808 |
815 if (is_chromeos) { | 809 if (is_chromeos) { |
816 deps += [ "//chromeos" ] | 810 deps += [ "//chromeos" ] |
817 } | 811 } |
818 | 812 |
819 if (use_aura && !is_win) { | 813 if (use_aura && !is_win) { |
820 deps += [ "//ui/events:test_support" ] | 814 deps += [ "//ui/events:test_support" ] |
821 } | 815 } |
822 | 816 |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1688 if (is_android) { | 1682 if (is_android) { |
1689 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1683 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1690 } | 1684 } |
1691 } | 1685 } |
1692 | 1686 |
1693 group("fuzzers") { | 1687 group("fuzzers") { |
1694 deps = [ | 1688 deps = [ |
1695 "//content/test/fuzzer", | 1689 "//content/test/fuzzer", |
1696 ] | 1690 ] |
1697 } | 1691 } |
OLD | NEW |