| 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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 "//testing/gtest", | 891 "//testing/gtest", |
| 892 "//testing/perf", | 892 "//testing/perf", |
| 893 "//ui/gfx", | 893 "//ui/gfx", |
| 894 "//ui/gfx/geometry", | 894 "//ui/gfx/geometry", |
| 895 ] | 895 ] |
| 896 | 896 |
| 897 if (is_android) { | 897 if (is_android) { |
| 898 deps += [ "//testing/android/native_test:native_test_native_code" ] | 898 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 899 } | 899 } |
| 900 } | 900 } |
| 901 | |
| 902 if (is_android) { | |
| 903 # TODO(GYP): Port Windows and ChromeOS logic. | |
| 904 test("video_decode_accelerator_unittest") { | |
| 905 deps = [ | |
| 906 "//base", | |
| 907 "//content", | |
| 908 "//media", | |
| 909 "//testing/gtest", | |
| 910 "//ui/base", | |
| 911 "//ui/gfx", | |
| 912 "//ui/gfx:test_support", | |
| 913 "//ui/gfx/geometry", | |
| 914 "//ui/gl", | |
| 915 "//ui/gl:test_support", | |
| 916 ] | |
| 917 configs += [ "//third_party/khronos:khronos_headers" ] | |
| 918 sources = [ | |
| 919 "//content/common/gpu/media/video_accelerator_unittest_helpers.h", | |
| 920 ] | |
| 921 if (is_android) { | |
| 922 sources += [ "//content/common/gpu/media/android_video_decode_accelerator_
unittest.cc" ] | |
| 923 } else { | |
| 924 sources += [ | |
| 925 "//content/common/gpu/media/rendering_helper.cc", | |
| 926 "//content/common/gpu/media/rendering_helper.h", | |
| 927 "//content/common/gpu/media/video_decode_accelerator_unittest.cc", | |
| 928 ] | |
| 929 } | |
| 930 | |
| 931 if (is_android) { | |
| 932 deps += [ | |
| 933 "//gpu:test_support", | |
| 934 "//media/base/android", | |
| 935 "//media/base/android:media_java", | |
| 936 "//media/capture/video/android:capture_java", | |
| 937 "//testing/gmock", | |
| 938 "//ui/android:ui_java", | |
| 939 ] | |
| 940 } | |
| 941 } | |
| 942 } | |
| OLD | NEW |