Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: content/test/BUILD.gn

Issue 1902463002: Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove bot changes. Will do in a separate CL Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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",
53 "//components/scheduler:scheduler", 54 "//components/scheduler:scheduler",
54 "//components/scheduler:test_support", 55 "//components/scheduler:test_support",
55 "//content/app:both_for_content_tests", 56 "//content/app:both_for_content_tests",
56 "//content/browser/speech/proto", 57 "//content/browser/speech/proto",
57 "//content/child:for_content_tests", 58 "//content/child:for_content_tests",
58 "//content/gpu", 59 "//content/gpu",
59 "//content/public/browser", 60 "//content/public/browser",
60 "//content/public/child", 61 "//content/public/child",
61 "//content/public/renderer", 62 "//content/public/renderer",
62 "//content/public/utility", 63 "//content/public/utility",
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 configs += [ "//build/config:precompiled_headers" ] 639 configs += [ "//build/config:precompiled_headers" ]
639 640
640 deps = [ 641 deps = [
641 ":content_test_mojo_bindings", 642 ":content_test_mojo_bindings",
642 ":test_support", 643 ":test_support",
643 "//base/test:test_support", 644 "//base/test:test_support",
644 "//base/third_party/dynamic_annotations", 645 "//base/third_party/dynamic_annotations",
645 "//cc", 646 "//cc",
646 "//cc:test_support", 647 "//cc:test_support",
647 "//cc/surfaces", 648 "//cc/surfaces",
649 "//components/display_compositor",
648 "//components/scheduler", 650 "//components/scheduler",
649 "//content:resources", 651 "//content:resources",
650 "//content/app:both_for_content_tests", 652 "//content/app:both_for_content_tests",
651 "//content/browser:for_content_tests", 653 "//content/browser:for_content_tests",
652 "//content/browser/cache_storage:cache_storage_proto", 654 "//content/browser/cache_storage:cache_storage_proto",
653 "//content/browser/notifications:notification_proto", 655 "//content/browser/notifications:notification_proto",
654 "//content/browser/service_worker:service_worker_proto", 656 "//content/browser/service_worker:service_worker_proto",
655 "//content/browser/speech/proto", 657 "//content/browser/speech/proto",
656 "//content/child:for_content_tests", 658 "//content/child:for_content_tests",
657 "//content/common:mojo_bindings", 659 "//content/common:mojo_bindings",
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 846
845 # Avoid windows due to non-availability of cursor resources in test. 847 # Avoid windows due to non-availability of cursor resources in test.
846 if (!use_aura || is_win) { 848 if (!use_aura || is_win) {
847 sources -= [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ] 849 sources -= [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ]
848 } 850 }
849 if (use_aura || toolkit_views) { 851 if (use_aura || toolkit_views) {
850 deps += [ "//ui/events:test_support" ] 852 deps += [ "//ui/events:test_support" ]
851 } 853 }
852 if (!use_aura && !is_mac) { 854 if (!use_aura && !is_mac) {
853 sources -= [ 855 sources -= [
854 "../browser/compositor/buffer_queue_unittest.cc",
855 "../browser/compositor/reflector_impl_unittest.cc", 856 "../browser/compositor/reflector_impl_unittest.cc",
856 "../browser/compositor/software_browser_compositor_output_surface_unittest .cc", 857 "../browser/compositor/software_browser_compositor_output_surface_unittest .cc",
857 ] 858 ]
858 } 859 }
859 860
860 if (!is_win && !is_mac) { 861 if (!is_win && !is_mac) {
861 sources -= [ "../common/plugin_list_unittest.cc" ] 862 sources -= [ "../common/plugin_list_unittest.cc" ]
862 } 863 }
863 864
864 if (use_ozone) { 865 if (use_ozone) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 } 910 }
910 911
911 test("content_gl_tests") { 912 test("content_gl_tests") {
912 # See comment at the top of //content/BUILD.gn for why this is disabled in 913 # See comment at the top of //content/BUILD.gn for why this is disabled in
913 # component builds. 914 # component builds.
914 if (is_component_build) { 915 if (is_component_build) {
915 check_includes = false 916 check_includes = false
916 } 917 }
917 918
918 sources = [ 919 sources = [
919 "../browser/compositor/gl_helper_unittest.cc",
920 "../browser/compositor/yuv_readback_unittest.cc",
921 "../common/gpu/client/gpu_context_tests.h", 920 "../common/gpu/client/gpu_context_tests.h",
922 "../common/gpu/client/gpu_in_process_context_tests.cc", 921 "../common/gpu/client/gpu_in_process_context_tests.cc",
923 "run_all_gl_tests.cc", 922 "run_all_gl_tests.cc",
924 ] 923 ]
925 924
926 deps = [ 925 deps = [
927 ":test_support", 926 ":test_support",
928 "//base/test:test_support", 927 "//base/test:test_support",
929 "//content/browser:for_content_tests", 928 "//content/browser:for_content_tests",
930 "//content/public/common", 929 "//content/public/common",
(...skipping 19 matching lines...) Expand all
950 "//content/shell/android:content_shell_assets", 949 "//content/shell/android:content_shell_assets",
951 ] 950 ]
952 } else { 951 } else {
953 data_deps = [ 952 data_deps = [
954 "//third_party/ffmpeg", 953 "//third_party/ffmpeg",
955 "//third_party/mesa:osmesa", 954 "//third_party/mesa:osmesa",
956 ] 955 ]
957 } 956 }
958 } 957 }
959 958
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
990 if (is_android) { 959 if (is_android) {
991 # TODO(GYP): Port Windows and ChromeOS logic. 960 # TODO(GYP): Port Windows and ChromeOS logic.
992 test("video_decode_accelerator_unittest") { 961 test("video_decode_accelerator_unittest") {
993 deps = [ 962 deps = [
994 "//base", 963 "//base",
995 "//content", 964 "//content",
996 "//media", 965 "//media",
997 "//testing/gtest", 966 "//testing/gtest",
998 "//ui/base", 967 "//ui/base",
999 "//ui/gfx", 968 "//ui/gfx",
(...skipping 21 matching lines...) Expand all
1021 "//gpu:test_support", 990 "//gpu:test_support",
1022 "//media/base/android", 991 "//media/base/android",
1023 "//media/base/android:media_java", 992 "//media/base/android:media_java",
1024 "//media/capture/video/android:capture_java", 993 "//media/capture/video/android:capture_java",
1025 "//testing/gmock", 994 "//testing/gmock",
1026 "//ui/android:ui_java", 995 "//ui/android:ui_java",
1027 ] 996 ]
1028 } 997 }
1029 } 998 }
1030 } 999 }
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698