Commit 15099869 authored by Gil Dekel's avatar Gil Dekel Committed by Commit Bot

media/gpu: Fix component build compilation error for VaapiWebpDecoder

This CL fixes a compilation error with the webp_decoder_unit_test when
building in component mode.

Bug: 1007498, 1008962
Test: Now compiles in component mode
Cq-Include-Trybots: luci.chromium.try:chromeos-amd64-generic-dbg
Change-Id: I494d76a0445a4d9bc8f9f0fd6490440e8fbb8c45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832661
Commit-Queue: Gil Dekel <gildekel@chromium.org>
Reviewed-by: default avatarAndres Calderon Jaramillo <andrescj@chromium.org>
Reviewed-by: default avatarMiguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701337}
parent ccc7c35c
......@@ -242,18 +242,13 @@ test("jpeg_decode_accelerator_unittest") {
deps += [
"//media/gpu/vaapi",
"//media/gpu/vaapi:jpeg_decoder_unit_test",
]
# TODO(crbug.com/1008962): Build this on component builds as well.
if (!is_component_build) {
deps += [
# TODO(crbug.com/986074): we should move this to its own executable, but
# this would imply creating a new Tast wrapper in Chrome OS. So, for
# convenience, we make the WebP tests run with the
# jpeg_decode_accelerator_unittest binary.
"//media/gpu/vaapi:webp_decoder_unit_test",
]
}
# TODO(crbug.com/986074): we should move this to its own executable, but
# this would imply creating a new Tast wrapper in Chrome OS. So, for
# convenience, we make the WebP tests run with the
# jpeg_decode_accelerator_unittest binary.
"//media/gpu/vaapi:webp_decoder_unit_test",
]
data += [ "//media/test/data/pixel-1280x720.jpg" ]
}
......
......@@ -224,7 +224,7 @@ source_set("webp_decoder_unit_test") {
"//media:test_support",
"//media/parsers",
"//testing/gtest",
"//third_party/libwebp:libwebp_webp",
"//third_party/libwebp",
"//ui/gfx:memory_buffer",
"//ui/gfx/geometry",
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment