Chromium Code Reviews| 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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 816 "//gpu/blink", | 816 "//gpu/blink", |
| 817 "//testing/gtest", | 817 "//testing/gtest", |
| 818 "//third_party/WebKit/public:blink", | 818 "//third_party/WebKit/public:blink", |
| 819 "//ui/base", | 819 "//ui/base", |
| 820 "//ui/gfx", | 820 "//ui/gfx", |
| 821 "//ui/gfx/geometry", | 821 "//ui/gfx/geometry", |
| 822 "//ui/gl", | 822 "//ui/gl", |
| 823 "//ui/gl:test_support", | 823 "//ui/gl:test_support", |
| 824 ] | 824 ] |
| 825 } | 825 } |
| 826 | |
| 827 if (is_android) { | |
| 828 # TODO(GYP): Port Windows and ChromeOS logic. | |
| 829 test("video_decode_accelerator_unittest") { | |
| 830 deps = [ | |
| 831 "//base", | |
| 832 "//content", | |
| 833 "//media", | |
| 834 "//testing/gtest", | |
| 835 "//ui/base", | |
| 836 "//ui/gfx", | |
| 837 "//ui/gfx/geometry", | |
| 838 "//ui/gfx:test_support", | |
| 839 "//ui/gl", | |
| 840 "//ui/gl:test_support", | |
| 841 ] | |
| 842 include_dirs = [ "//third_party/khronos" ] | |
|
brettw
2015/11/20 22:04:18
You should almost never have to write include dir
| |
| 843 sources = [ | |
| 844 "//content/common/gpu/media/video_accelerator_unittest_helpers.h", | |
| 845 ] | |
| 846 if (is_android) { | |
| 847 sources += [ "//content/common/gpu/media/android_video_decode_accelerator_ unittest.cc" ] | |
| 848 } else { | |
| 849 sources += [ | |
| 850 "//content/common/gpu/media/rendering_helper.cc", | |
| 851 "//content/common/gpu/media/rendering_helper.h", | |
| 852 "//content/common/gpu/media/video_decode_accelerator_unittest.cc", | |
| 853 ] | |
| 854 } | |
| 855 | |
| 856 if (is_android) { | |
| 857 deps += [ | |
| 858 "//gpu:test_support", | |
| 859 "//media/base/android", | |
| 860 "//testing/gmock", | |
| 861 ] | |
| 862 apk_deps = [ | |
| 863 "//media/base/android:media_java", | |
| 864 "//ui/android:ui_java", | |
| 865 ] | |
| 866 } | |
| 867 } | |
| 868 } | |
| OLD | NEW |