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/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build_overrides/v8.gni") | 9 import("//build_overrides/v8.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 "//gpu/blink", | 855 "//gpu/blink", |
856 "//testing/gtest", | 856 "//testing/gtest", |
857 "//third_party/WebKit/public:blink", | 857 "//third_party/WebKit/public:blink", |
858 "//ui/base", | 858 "//ui/base", |
859 "//ui/gfx", | 859 "//ui/gfx", |
860 "//ui/gfx/geometry", | 860 "//ui/gfx/geometry", |
861 "//ui/gl", | 861 "//ui/gl", |
862 "//ui/gl:test_support", | 862 "//ui/gl:test_support", |
863 ] | 863 ] |
864 } | 864 } |
| 865 |
| 866 if (is_android) { |
| 867 # TODO(GYP): Port Windows and ChromeOS logic. |
| 868 test("video_decode_accelerator_unittest") { |
| 869 deps = [ |
| 870 "//base", |
| 871 "//content", |
| 872 "//media", |
| 873 "//testing/gtest", |
| 874 "//ui/base", |
| 875 "//ui/gfx", |
| 876 "//ui/gfx:test_support", |
| 877 "//ui/gfx/geometry", |
| 878 "//ui/gl", |
| 879 "//ui/gl:test_support", |
| 880 ] |
| 881 configs += [ "//third_party/khronos:khronos_headers" ] |
| 882 sources = [ |
| 883 "//content/common/gpu/media/video_accelerator_unittest_helpers.h", |
| 884 ] |
| 885 if (is_android) { |
| 886 sources += [ "//content/common/gpu/media/android_video_decode_accelerator_
unittest.cc" ] |
| 887 } else { |
| 888 sources += [ |
| 889 "//content/common/gpu/media/rendering_helper.cc", |
| 890 "//content/common/gpu/media/rendering_helper.h", |
| 891 "//content/common/gpu/media/video_decode_accelerator_unittest.cc", |
| 892 ] |
| 893 } |
| 894 |
| 895 if (is_android) { |
| 896 deps += [ |
| 897 "//gpu:test_support", |
| 898 "//media/base/android", |
| 899 "//testing/gmock", |
| 900 ] |
| 901 apk_deps = [ |
| 902 "//media/base/android:media_java", |
| 903 "//ui/android:ui_java", |
| 904 ] |
| 905 } |
| 906 } |
| 907 } |
OLD | NEW |