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

Unified Diff: content/common/gpu/media/video_decode_accelerator_unittest.cc

Issue 12844012: Remove the usage of omax-vda from video_decode_accelerator_unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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: content/common/gpu/media/video_decode_accelerator_unittest.cc
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc
index 6b01a9ae7ed13d4068631dd669f3d142104d16db..4deabd6db4668a1a19e19fbf65c0e425dd57071c 100644
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
@@ -974,10 +974,12 @@ int main(int argc, char **argv) {
}
if (it->first == "v" || it->first == "vmodule")
continue;
-#if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL)
- if (it->first == switches::kUseExynosVda)
- continue;
+ if (it->first == switches::kUseExynosVda) {
+#if !defined(OS_CHROMEOS) || !defined(ARCH_CPU_ARMEL)
+ LOG(WARNING) << "Unsupported switch: " << it->first << ", ignored";
#endif
+ continue;
+ }
LOG(FATAL) << "Unexpected switch: " << it->first << ":" << it->second;
}
« 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