Commit 96fd40ef authored by kmackay's avatar kmackay Committed by Commit bot

Use only headless Ozone on Cast audio-only platforms

BUG= internal b/32244773

Review-Url: https://codereview.chromium.org/2429963002
Cr-Commit-Position: refs/heads/master@{#441434}
parent 7db45ad0
...@@ -85,9 +85,13 @@ cast_test_group("cast_tests") { ...@@ -85,9 +85,13 @@ cast_test_group("cast_tests") {
args = [ args = [
"--no-sandbox", "--no-sandbox",
"--enable-local-file-accesses", "--enable-local-file-accesses",
"--ozone-platform=cast",
"--test-launcher-jobs=1", "--test-launcher-jobs=1",
] ]
if (is_cast_audio_only) {
args += [ "--ozone-platform=headless" ]
} else {
args += [ "--ozone-platform=cast" ]
}
if (!is_cast_desktop_build) { if (!is_cast_desktop_build) {
args += [ "--use-gpu-in-tests" ] args += [ "--use-gpu-in-tests" ]
......
...@@ -33,7 +33,9 @@ declare_args() { ...@@ -33,7 +33,9 @@ declare_args() {
ozone_platform = "headless" ozone_platform = "headless"
ozone_platform_headless = true ozone_platform_headless = true
if (is_chromecast) { if (is_cast_audio_only) {
# Just use headless for audio-only Cast platforms.
} else if (is_chromecast) {
# Enable the Cast ozone platform on all A/V Cast builds. # Enable the Cast ozone platform on all A/V Cast builds.
ozone_platform_cast = true ozone_platform_cast = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment