1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/chromecast_build.gni")
8 # Select platforms automatically. Turn this off for manual control.
9 ozone_auto_platforms = true
13 # The platform that will be active by default.
16 # Enable individual platforms.
17 ozone_platform_caca = false
18 ozone_platform_cast = false
19 ozone_platform_egltest = false
20 ozone_platform_gbm = false
21 ozone_platform_ozonex = false
22 ozone_platform_test = false
24 if (ozone_auto_platforms) {
26 # The default platform used at runtime is "cast".
27 ozone_platform = "cast"
29 # For desktop Chromecast builds, override the default "cast" platform with
30 # --ozone_platform=egltest
31 ozone_platform_cast = true
32 ozone_platform_egltest = true
33 ozone_platform_ozonex = true
34 ozone_platform_test = true
36 # Use test as the default platform.
37 ozone_platform = "test"
39 # Build all platforms whose deps are in install-build-deps.sh.
40 # Only these platforms will be compile tested by buildbots.
41 ozone_platform_gbm = true
42 ozone_platform_test = true
43 ozone_platform_egltest = true