Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 5b207f5602bb98a226a64d09c0d89c98b98f014f..8cb41164dfc53a3f6a32e782cc1bcb4713120a1d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2387,10 +2387,18 @@ |
['disable_display==0', { |
# Enable the Cast ozone platform on all A/V Cast builds. |
'ozone_platform_cast%': 1, |
+ |
+ # For desktop Chromecast builds, override the default "headless" |
+ # platform with --ozone-platform=egltest |
+ # TODO(slan|halliwell): Make the default platform "cast" on |
+ # desktop too. |
'conditions': [ |
['OS=="linux" and target_arch!="arm"', { |
'ozone_platform_egltest%': 1, |
'ozone_platform_ozonex%': 1, |
+ }, { |
+ # On device builds, enable "cast" as the default platform. |
+ 'ozone_platform%': 'cast', |
}], |
], |
}], |