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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 "//gpu/command_buffer/client:gles2_implementation", | 976 "//gpu/command_buffer/client:gles2_implementation", |
977 "//testing/gtest", | 977 "//testing/gtest", |
978 "//third_party/WebKit/public:blink", | 978 "//third_party/WebKit/public:blink", |
979 "//ui/base", | 979 "//ui/base", |
980 "//ui/gfx", | 980 "//ui/gfx", |
981 "//ui/gfx/geometry", | 981 "//ui/gfx/geometry", |
982 "//ui/gl", | 982 "//ui/gl", |
983 "//ui/gl:test_support", | 983 "//ui/gl:test_support", |
984 ] | 984 ] |
985 } | 985 } |
986 | |
987 if (is_android) { | |
988 # TODO(GYP): Port Windows and ChromeOS logic. | |
989 test("video_decode_accelerator_unittest") { | |
990 deps = [ | |
991 "//base", | |
992 "//content", | |
993 "//media", | |
994 "//testing/gtest", | |
995 "//ui/base", | |
996 "//ui/gfx", | |
997 "//ui/gfx:test_support", | |
998 "//ui/gfx/geometry", | |
999 "//ui/gl", | |
1000 "//ui/gl:test_support", | |
1001 ] | |
1002 configs += [ "//third_party/khronos:khronos_headers" ] | |
1003 sources = [ | |
1004 "//content/common/gpu/media/video_accelerator_unittest_helpers.h", | |
1005 ] | |
1006 if (is_android) { | |
1007 sources += [ "//content/common/gpu/media/android_video_decode_accelerator_
unittest.cc" ] | |
1008 } else { | |
1009 sources += [ | |
1010 "//content/common/gpu/media/rendering_helper.cc", | |
1011 "//content/common/gpu/media/rendering_helper.h", | |
1012 "//content/common/gpu/media/video_decode_accelerator_unittest.cc", | |
1013 ] | |
1014 } | |
1015 | |
1016 if (is_android) { | |
1017 deps += [ | |
1018 "//gpu:test_support", | |
1019 "//media/base/android", | |
1020 "//media/base/android:media_java", | |
1021 "//media/capture/video/android:capture_java", | |
1022 "//testing/gmock", | |
1023 "//ui/android:ui_java", | |
1024 ] | |
1025 } | |
1026 } | |
1027 } | |
OLD | NEW |