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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 "//testing/perf", | 901 "//testing/perf", |
902 "//ui/gfx", | 902 "//ui/gfx", |
903 "//ui/gfx/geometry", | 903 "//ui/gfx/geometry", |
904 ] | 904 ] |
905 | 905 |
906 if (is_android) { | 906 if (is_android) { |
907 deps += [ "//testing/android/native_test:native_test_native_code" ] | 907 deps += [ "//testing/android/native_test:native_test_native_code" ] |
908 } | 908 } |
909 } | 909 } |
910 | 910 |
911 test("content_gl_tests") { | |
912 # See comment at the top of //content/BUILD.gn for why this is disabled in | |
913 # component builds. | |
914 if (is_component_build) { | |
915 check_includes = false | |
916 } | |
917 | |
918 sources = [ | |
919 "../common/gpu/client/gpu_context_tests.h", | |
920 "../common/gpu/client/gpu_in_process_context_tests.cc", | |
921 "run_all_gl_tests.cc", | |
922 ] | |
923 | |
924 deps = [ | |
925 ":test_support", | |
926 "//base/test:test_support", | |
927 "//content/browser:for_content_tests", | |
928 "//content/public/common", | |
929 "//gpu/command_buffer/client:gl_in_process_context", | |
930 "//gpu/command_buffer/client:gles2_implementation", | |
931 "//gpu/command_buffer/common", | |
932 "//media", | |
933 "//testing/gtest", | |
934 "//third_party/WebKit/public:blink", | |
935 "//ui/base", | |
936 "//ui/gfx", | |
937 "//ui/gfx:test_support", | |
938 "//ui/gfx/geometry", | |
939 "//ui/gl", | |
940 "//ui/gl:test_support", | |
941 "//v8", | |
942 ] | |
943 | |
944 if (is_android) { | |
945 deps += [ | |
946 "//content/public/test/android:content_java_test_support", | |
947 "//content/shell/android:content_shell_assets", | |
948 ] | |
949 } else { | |
950 data_deps = [ | |
951 "//third_party/ffmpeg", | |
952 "//third_party/mesa:osmesa", | |
953 ] | |
954 } | |
955 } | |
956 | |
957 if (is_android) { | 911 if (is_android) { |
958 # TODO(GYP): Port Windows and ChromeOS logic. | 912 # TODO(GYP): Port Windows and ChromeOS logic. |
959 test("video_decode_accelerator_unittest") { | 913 test("video_decode_accelerator_unittest") { |
960 deps = [ | 914 deps = [ |
961 "//base", | 915 "//base", |
962 "//content", | 916 "//content", |
963 "//media", | 917 "//media", |
964 "//testing/gtest", | 918 "//testing/gtest", |
965 "//ui/base", | 919 "//ui/base", |
966 "//ui/gfx", | 920 "//ui/gfx", |
(...skipping 21 matching lines...) Expand all Loading... |
988 "//gpu:test_support", | 942 "//gpu:test_support", |
989 "//media/base/android", | 943 "//media/base/android", |
990 "//media/base/android:media_java", | 944 "//media/base/android:media_java", |
991 "//media/capture/video/android:capture_java", | 945 "//media/capture/video/android:capture_java", |
992 "//testing/gmock", | 946 "//testing/gmock", |
993 "//ui/android:ui_java", | 947 "//ui/android:ui_java", |
994 ] | 948 ] |
995 } | 949 } |
996 } | 950 } |
997 } | 951 } |
OLD | NEW |