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("//build_overrides/v8.gni") | 10 import("//build_overrides/v8.gni") |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "//third_party/WebKit/public:test_support", | 43 "//third_party/WebKit/public:test_support", |
44 ] | 44 ] |
45 deps = [ | 45 deps = [ |
46 ":browsertest_base", | 46 ":browsertest_base", |
47 ":content_test_mojo_bindings", | 47 ":content_test_mojo_bindings", |
48 "//base/third_party/dynamic_annotations", | 48 "//base/third_party/dynamic_annotations", |
49 "//cc", | 49 "//cc", |
50 "//cc:test_support", | 50 "//cc:test_support", |
51 "//cc/blink", | 51 "//cc/blink", |
52 "//cc/surfaces", | 52 "//cc/surfaces", |
53 "//components/display_compositor", | |
54 "//components/scheduler:scheduler", | 53 "//components/scheduler:scheduler", |
55 "//components/scheduler:test_support", | 54 "//components/scheduler:test_support", |
56 "//content/app:both_for_content_tests", | 55 "//content/app:both_for_content_tests", |
57 "//content/browser/speech/proto", | 56 "//content/browser/speech/proto", |
58 "//content/child:for_content_tests", | 57 "//content/child:for_content_tests", |
59 "//content/gpu", | 58 "//content/gpu", |
60 "//content/public/browser", | 59 "//content/public/browser", |
61 "//content/public/child", | 60 "//content/public/child", |
62 "//content/public/renderer", | 61 "//content/public/renderer", |
63 "//content/public/utility", | 62 "//content/public/utility", |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 configs += [ "//build/config:precompiled_headers" ] | 638 configs += [ "//build/config:precompiled_headers" ] |
640 | 639 |
641 deps = [ | 640 deps = [ |
642 ":content_test_mojo_bindings", | 641 ":content_test_mojo_bindings", |
643 ":test_support", | 642 ":test_support", |
644 "//base/test:test_support", | 643 "//base/test:test_support", |
645 "//base/third_party/dynamic_annotations", | 644 "//base/third_party/dynamic_annotations", |
646 "//cc", | 645 "//cc", |
647 "//cc:test_support", | 646 "//cc:test_support", |
648 "//cc/surfaces", | 647 "//cc/surfaces", |
649 "//components/display_compositor", | |
650 "//components/scheduler", | 648 "//components/scheduler", |
651 "//content:resources", | 649 "//content:resources", |
652 "//content/app:both_for_content_tests", | 650 "//content/app:both_for_content_tests", |
653 "//content/browser:for_content_tests", | 651 "//content/browser:for_content_tests", |
654 "//content/browser/cache_storage:cache_storage_proto", | 652 "//content/browser/cache_storage:cache_storage_proto", |
655 "//content/browser/notifications:notification_proto", | 653 "//content/browser/notifications:notification_proto", |
656 "//content/browser/service_worker:service_worker_proto", | 654 "//content/browser/service_worker:service_worker_proto", |
657 "//content/browser/speech/proto", | 655 "//content/browser/speech/proto", |
658 "//content/child:for_content_tests", | 656 "//content/child:for_content_tests", |
659 "//content/common:mojo_bindings", | 657 "//content/common:mojo_bindings", |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 | 844 |
847 # Avoid windows due to non-availability of cursor resources in test. | 845 # Avoid windows due to non-availability of cursor resources in test. |
848 if (!use_aura || is_win) { | 846 if (!use_aura || is_win) { |
849 sources -= [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ] | 847 sources -= [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ] |
850 } | 848 } |
851 if (use_aura || toolkit_views) { | 849 if (use_aura || toolkit_views) { |
852 deps += [ "//ui/events:test_support" ] | 850 deps += [ "//ui/events:test_support" ] |
853 } | 851 } |
854 if (!use_aura && !is_mac) { | 852 if (!use_aura && !is_mac) { |
855 sources -= [ | 853 sources -= [ |
| 854 "../browser/compositor/buffer_queue_unittest.cc", |
856 "../browser/compositor/reflector_impl_unittest.cc", | 855 "../browser/compositor/reflector_impl_unittest.cc", |
857 "../browser/compositor/software_browser_compositor_output_surface_unittest
.cc", | 856 "../browser/compositor/software_browser_compositor_output_surface_unittest
.cc", |
858 ] | 857 ] |
859 } | 858 } |
860 | 859 |
861 if (!is_win && !is_mac) { | 860 if (!is_win && !is_mac) { |
862 sources -= [ "../common/plugin_list_unittest.cc" ] | 861 sources -= [ "../common/plugin_list_unittest.cc" ] |
863 } | 862 } |
864 | 863 |
865 if (use_ozone) { | 864 if (use_ozone) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 } | 909 } |
911 | 910 |
912 test("content_gl_tests") { | 911 test("content_gl_tests") { |
913 # See comment at the top of //content/BUILD.gn for why this is disabled in | 912 # See comment at the top of //content/BUILD.gn for why this is disabled in |
914 # component builds. | 913 # component builds. |
915 if (is_component_build) { | 914 if (is_component_build) { |
916 check_includes = false | 915 check_includes = false |
917 } | 916 } |
918 | 917 |
919 sources = [ | 918 sources = [ |
| 919 "../browser/compositor/gl_helper_unittest.cc", |
| 920 "../browser/compositor/yuv_readback_unittest.cc", |
920 "../common/gpu/client/gpu_context_tests.h", | 921 "../common/gpu/client/gpu_context_tests.h", |
921 "../common/gpu/client/gpu_in_process_context_tests.cc", | 922 "../common/gpu/client/gpu_in_process_context_tests.cc", |
922 "run_all_gl_tests.cc", | 923 "run_all_gl_tests.cc", |
923 ] | 924 ] |
924 | 925 |
925 deps = [ | 926 deps = [ |
926 ":test_support", | 927 ":test_support", |
927 "//base/test:test_support", | 928 "//base/test:test_support", |
928 "//content/browser:for_content_tests", | 929 "//content/browser:for_content_tests", |
929 "//content/public/common", | 930 "//content/public/common", |
(...skipping 19 matching lines...) Expand all Loading... |
949 "//content/shell/android:content_shell_assets", | 950 "//content/shell/android:content_shell_assets", |
950 ] | 951 ] |
951 } else { | 952 } else { |
952 data_deps = [ | 953 data_deps = [ |
953 "//third_party/ffmpeg", | 954 "//third_party/ffmpeg", |
954 "//third_party/mesa:osmesa", | 955 "//third_party/mesa:osmesa", |
955 ] | 956 ] |
956 } | 957 } |
957 } | 958 } |
958 | 959 |
| 960 test("content_gl_benchmark") { |
| 961 # See comment at the top of //content/BUILD.gn for why this is disabled in |
| 962 # component builds. |
| 963 if (is_component_build) { |
| 964 check_includes = false |
| 965 } |
| 966 |
| 967 sources = [ |
| 968 "../browser/compositor/gl_helper_benchmark.cc", |
| 969 "run_gl_benchmark.cc", |
| 970 ] |
| 971 |
| 972 deps = [ |
| 973 ":test_support", |
| 974 "//base/test:test_support", |
| 975 "//content/browser:for_content_tests", |
| 976 "//content/public/common", |
| 977 "//gpu/blink", |
| 978 "//gpu/command_buffer/client:gl_in_process_context", |
| 979 "//gpu/command_buffer/client:gles2_implementation", |
| 980 "//testing/gtest", |
| 981 "//third_party/WebKit/public:blink", |
| 982 "//ui/base", |
| 983 "//ui/gfx", |
| 984 "//ui/gfx/geometry", |
| 985 "//ui/gl", |
| 986 "//ui/gl:test_support", |
| 987 ] |
| 988 } |
| 989 |
959 if (is_android) { | 990 if (is_android) { |
960 # TODO(GYP): Port Windows and ChromeOS logic. | 991 # TODO(GYP): Port Windows and ChromeOS logic. |
961 test("video_decode_accelerator_unittest") { | 992 test("video_decode_accelerator_unittest") { |
962 deps = [ | 993 deps = [ |
963 "//base", | 994 "//base", |
964 "//content", | 995 "//content", |
965 "//media", | 996 "//media", |
966 "//testing/gtest", | 997 "//testing/gtest", |
967 "//ui/base", | 998 "//ui/base", |
968 "//ui/gfx", | 999 "//ui/gfx", |
(...skipping 21 matching lines...) Expand all Loading... |
990 "//gpu:test_support", | 1021 "//gpu:test_support", |
991 "//media/base/android", | 1022 "//media/base/android", |
992 "//media/base/android:media_java", | 1023 "//media/base/android:media_java", |
993 "//media/capture/video/android:capture_java", | 1024 "//media/capture/video/android:capture_java", |
994 "//testing/gmock", | 1025 "//testing/gmock", |
995 "//ui/android:ui_java", | 1026 "//ui/android:ui_java", |
996 ] | 1027 ] |
997 } | 1028 } |
998 } | 1029 } |
999 } | 1030 } |
OLD | NEW |