Commit a2683945 authored by henryhsu's avatar henryhsu Committed by Commit bot

Add JPEG decoder unittest to GN

BUG=506059
TEST=build the unittest and run on Intel/ARM platform

Review-Url: https://codereview.chromium.org/2107133002
Cr-Commit-Position: refs/heads/master@{#407759}
parent e1a1f402
......@@ -471,3 +471,37 @@ if (is_chromeos || is_mac || is_win) {
}
}
}
if (is_chromeos) {
test("jpeg_decode_accelerator_unittest") {
deps = [
"//base",
"//media",
"//media/base:test_support",
"//media/gpu",
"//testing/gtest",
"//third_party/libyuv",
"//ui/base",
"//ui/gfx",
"//ui/gfx:test_support",
"//ui/gfx/geometry",
"//ui/gl",
"//ui/gl:test_support",
]
configs += [
"//third_party/libva:libva_config",
"//third_party/libyuv:libyuv_config",
":gpu_config",
]
sources = [
"jpeg_decode_accelerator_unittest.cc",
"video_accelerator_unittest_helpers.h",
]
if (use_x11) {
deps += [ "//ui/gfx/x" ]
}
if (use_ozone) {
deps += [ "//ui/ozone" ]
}
}
}
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