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; |
} |