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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
741 "//ui/events:test_support", | 706 "//ui/events:test_support", |
742 "//ui/gfx", | 707 "//ui/gfx", |
743 "//ui/gfx/geometry", | 708 "//ui/gfx/geometry", |
744 "//ui/gl", | 709 "//ui/gl", |
745 "//ui/gl:test_support", | 710 "//ui/gl:test_support", |
746 "//ui/resources", | 711 "//ui/resources", |
747 "//ui/shell_dialogs", | 712 "//ui/shell_dialogs", |
748 "//ui/snapshot", | 713 "//ui/snapshot", |
749 ] | 714 ] |
750 | 715 |
716 data = [] | |
717 | |
751 data_deps = [ | 718 data_deps = [ |
752 "//third_party/mesa:osmesa", | 719 "//third_party/mesa:osmesa", |
753 ] | 720 ] |
754 | 721 |
755 if (enable_plugins) { | 722 if (enable_plugins) { |
756 deps += [ | 723 deps += [ |
757 "//ppapi/host", | 724 "//ppapi/host", |
758 "//ppapi/proxy", | 725 "//ppapi/proxy", |
759 "//ppapi/proxy:ipc", | 726 "//ppapi/proxy:ipc", |
760 "//ppapi/shared_impl:test_support", | 727 "//ppapi/shared_impl:test_support", |
761 ] | 728 ] |
762 data_deps += [ "//ppapi:ppapi_tests" ] | 729 data_deps += [ "//ppapi:ppapi_tests" ] |
763 if (is_mac) { | 730 if (is_mac) { |
764 data += [ "$root_out_dir/ppapi_tests.plugin/" ] | 731 data += [ "$root_out_dir/ppapi_tests.plugin/" ] |
Łukasz Anforowicz
2016/10/20 23:13:29
This is the line that was failing on Mac... :-/
| |
765 } | 732 } |
766 } | 733 } |
767 | 734 |
735 if (is_android || is_linux || is_mac || is_win) { | |
736 data += [ | |
737 "$root_out_dir/content_shell.pak", | |
738 "data/", | |
739 "//media/test/data/", | |
740 ] | |
741 } | |
742 | |
743 if (is_linux || is_mac || is_win) { | |
744 data += [ | |
745 "//net/tools/testserver/", | |
746 "//ppapi/tests/test_case.html", | |
747 "//ppapi/tests/test_page.css", | |
748 "//third_party/pyftpdlib/", | |
749 "//third_party/pywebsocket/", | |
750 "//third_party/tlslite/", | |
751 ] | |
752 } | |
753 | |
754 if (is_win || is_linux || is_android) { | |
755 data += [ "//testing/buildbot/filters/site-per-process.content_browsertests. filter" ] | |
756 } | |
757 | |
768 if (is_win) { | 758 if (is_win) { |
769 sources += [ "../browser/accessibility/accessibility_win_browsertest.cc" ] | 759 sources += [ "../browser/accessibility/accessibility_win_browsertest.cc" ] |
770 | 760 |
771 deps += [ | 761 deps += [ |
772 "//content/app/strings", | 762 "//content/app/strings", |
773 "//net:net_resources", | 763 "//net:net_resources", |
774 "//third_party/WebKit/public:resources", | 764 "//third_party/WebKit/public:resources", |
775 "//third_party/iaccessible2", | 765 "//third_party/iaccessible2", |
776 "//third_party/isimpledom", | 766 "//third_party/isimpledom", |
777 ] | 767 ] |
778 | 768 |
779 libs = [ "oleacc.lib" ] | 769 libs = [ "oleacc.lib" ] |
770 | |
771 if (symbol_level != 0) { | |
772 data += [ "$root_out_dir/content_browsertests.exe.pdb" ] | |
773 } | |
780 } | 774 } |
781 | 775 |
782 if (is_linux) { | 776 if (is_linux) { |
783 sources += [ "../zygote/zygote_browsertest.cc" ] | 777 sources += [ "../zygote/zygote_browsertest.cc" ] |
778 data += [ "//testing/buildbot/filters/browser-side-navigation.linux.content_ browsertests.filter" ] | |
784 } | 779 } |
785 | 780 |
786 if (is_android) { | 781 if (is_android) { |
787 sources += [ | 782 sources += [ |
788 "../browser/accessibility/android_granularity_movement_browsertest.cc", | 783 "../browser/accessibility/android_granularity_movement_browsertest.cc", |
789 "../browser/media/session/audio_focus_delegate_android_browsertest.cc", | 784 "../browser/media/session/audio_focus_delegate_android_browsertest.cc", |
790 "../shell/android/browsertests_apk/content_browser_tests_jni_onload.cc", | 785 "../shell/android/browsertests_apk/content_browser_tests_jni_onload.cc", |
791 ] | 786 ] |
792 sources -= [ | 787 sources -= [ |
793 "../browser/battery_status/battery_monitor_impl_browsertest.cc", | 788 "../browser/battery_status/battery_monitor_impl_browsertest.cc", |
794 "../browser/media/session/audio_focus_delegate_default_browsertest.cc", | 789 "../browser/media/session/audio_focus_delegate_default_browsertest.cc", |
795 ] | 790 ] |
796 deps += [ | 791 deps += [ |
797 ":content_browsertests_java", | 792 ":content_browsertests_java", |
798 "//content/shell:content_shell_lib", | 793 "//content/shell:content_shell_lib", |
799 "//content/shell/android:content_shell_assets", | 794 "//content/shell/android:content_shell_assets", |
800 "//content/shell/android:content_shell_jni_headers", | 795 "//content/shell/android:content_shell_jni_headers", |
801 "//testing/android/native_test:native_test_support", | 796 "//testing/android/native_test:native_test_support", |
802 ] | 797 ] |
803 deps -= [ "//device/battery" ] | 798 deps -= [ "//device/battery" ] |
804 android_manifest = | 799 android_manifest = |
805 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" | 800 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" |
806 android_manifest_dep = ":content_browsertests_manifest" | 801 android_manifest_dep = ":content_browsertests_manifest" |
807 use_default_launcher = false | 802 use_default_launcher = false |
808 } | 803 } |
809 | 804 |
810 if (is_mac) { | 805 if (is_mac) { |
811 sources += [ "../renderer/external_popup_menu_browsertest.cc" ] | 806 sources += [ "../renderer/external_popup_menu_browsertest.cc" ] |
812 deps += [ "//content/shell:content_shell" ] | 807 deps += [ "//content/shell:content_shell" ] |
808 data += [ "$root_out_dir/Content Shell.app/" ] | |
813 } | 809 } |
814 | 810 |
815 if (is_chromeos) { | 811 if (is_chromeos) { |
816 deps += [ "//chromeos" ] | 812 deps += [ "//chromeos" ] |
817 } | 813 } |
818 | 814 |
819 if (use_aura && !is_win) { | 815 if (use_aura && !is_win) { |
820 deps += [ "//ui/events:test_support" ] | 816 deps += [ "//ui/events:test_support" ] |
821 } | 817 } |
822 | 818 |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1688 if (is_android) { | 1684 if (is_android) { |
1689 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1685 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1690 } | 1686 } |
1691 } | 1687 } |
1692 | 1688 |
1693 group("fuzzers") { | 1689 group("fuzzers") { |
1694 deps = [ | 1690 deps = [ |
1695 "//content/test/fuzzer", | 1691 "//content/test/fuzzer", |
1696 ] | 1692 ] |
1697 } | 1693 } |
OLD | NEW |