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

Unified Diff: chromecast/BUILD.gn

Issue 2429963002: Use only headless Ozone on Cast audio-only platforms (Closed)
Patch Set: Fix cast_shell_browsertests args Created 4 years 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 | ui/ozone/ozone.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698