Index: chromecast/BUILD.gn |
diff --git a/chromecast/BUILD.gn b/chromecast/BUILD.gn |
index 56cec5d94303bb1b832dfd16ffd5e9de6c183e95..649e2cfb69a7c0852c1c00312919473b25fe2dc4 100644 |
--- a/chromecast/BUILD.gn |
+++ b/chromecast/BUILD.gn |
@@ -85,9 +85,13 @@ cast_test_group("cast_tests") { |
args = [ |
"--no-sandbox", |
"--enable-local-file-accesses", |
- "--ozone-platform=cast", |
"--test-launcher-jobs=1", |
] |
+ if (is_cast_audio_only) { |
+ args += [ "--ozone-platform=headless" ] |
+ } else { |
+ args += [ "--ozone-platform=cast" ] |
+ } |
if (!is_cast_desktop_build) { |
args += [ "--use-gpu-in-tests" ] |