Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Unified Diff: media/gpu/BUILD.gn

Issue 2107133002: Add JPEG decoder unittest to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix error Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/BUILD.gn
diff --git a/media/gpu/BUILD.gn b/media/gpu/BUILD.gn
index e8c264454dae52a164c9a23e1401fbb268aea355..574da031dbf3e0129a306c173876e90aa2f435a5 100644
--- a/media/gpu/BUILD.gn
+++ b/media/gpu/BUILD.gn
@@ -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" ]
+ }
+ }
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698