diff options
Diffstat (limited to 'chromium/media/renderers/BUILD.gn')
-rw-r--r-- | chromium/media/renderers/BUILD.gn | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/chromium/media/renderers/BUILD.gn b/chromium/media/renderers/BUILD.gn index bbbc19ade69..42981ccb8b3 100644 --- a/chromium/media/renderers/BUILD.gn +++ b/chromium/media/renderers/BUILD.gn @@ -2,8 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//third_party/libaom/options.gni") - source_set("renderers") { # Do not expand the visibility here without double-checking with OWNERS, this # is a roll-up target which is part of the //media component. Most other DEPs @@ -50,7 +48,6 @@ source_set("renderers") { "//media/base", "//media/filters", "//media/video", - "//third_party/libaom:libaom_buildflags", "//third_party/libyuv", "//ui/gfx:geometry_skia", "//ui/gfx:memory_buffer", @@ -102,6 +99,27 @@ source_set("renderers") { ] } +# Note: This is a roll-up only target; do not expand the visibility. DEPS should +# depend on the //media:test_support target instead. +static_library("test_support") { + visibility = [ "//media:test_support" ] + testonly = true + sources = [ + "shared_image_video_frame_test_utils.cc", + "shared_image_video_frame_test_utils.h", + ] + configs += [ "//media:media_config" ] + deps = [ + "//base", + "//components/viz/common", + "//gpu:test_support", + "//gpu/command_buffer/client:gles2_interface", + "//gpu/command_buffer/common", + "//media/base:test_support", + "//ui/gfx", + ] +} + source_set("unit_tests") { testonly = true sources = [ |