Chromium Code Reviews| Index: chromecast/BUILD.gn |
| diff --git a/chromecast/BUILD.gn b/chromecast/BUILD.gn |
| index bc1a8a019c6145741d9241193f611eafcd093e48..4a93980485ea18c7d03b74f8d9f1a3e7186f3bfc 100644 |
| --- a/chromecast/BUILD.gn |
| +++ b/chromecast/BUILD.gn |
| @@ -50,7 +50,8 @@ cast_test_group("cast_tests") { |
| filters = [] |
| - if (target_cpu == "arm" && target_os == "linux") { |
| + # Apply filters to embedded linux devices. |
| + if (target_os == "linux" && !is_cast_desktop_build) { |
| filters += [ |
| # Run net_unittests first to avoid random failures due to slow python startup |
| # KeygenHandlerTest.SmokeTest and KeygenHandlerTest.ConcurrencyTest fail due to |
| @@ -94,7 +95,7 @@ cast_test_group("cast_tests") { |
| # DoAppendUTF8Invalid fails because of dcheck_always_on flag in Eng builds |
| "url_unittests --gtest_filter=-URLCanonTest.DoAppendUTF8Invalid", |
| ] |
| - } else if (target_cpu != "arm" || target_os == "android") { |
| + } else if (is_cast_desktop_build || target_os == "android") { |
|
byungchul
2015/12/15 23:14:17
It can be just "else".
slan
2015/12/16 02:48:00
This was done to be explicit about the condition:
|
| filters += [ |
| # Disable PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM (not supported) |
| "media_unittests --gtest_filter=-PipelineIntegrationTest.BasicPlayback_MediaSource_VP9_WebM", |