OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 declare_args() { |
| 6 # Select platforms automatically. Turn this off for manual control. |
| 7 ozone_auto_platforms = true |
| 8 } |
6 | 9 |
7 if (use_ozone) { | 10 declare_args() { |
8 # Enable built-in ozone platforms if ozone is enabled. | 11 # The platform that will be active by default. |
9 ozone_platform_caca = false | 12 ozone_platform = "" |
10 ozone_platform_dri = true | 13 |
11 ozone_platform_ozonex = false | 14 # Enable individual platforms. |
12 ozone_platform_test = true | |
13 } else { | |
14 ozone_platform_caca = false | 15 ozone_platform_caca = false |
15 ozone_platform_dri = false | 16 ozone_platform_dri = false |
16 ozone_platform_ozonex = false | 17 ozone_platform_egltest = false |
| 18 ozone_platform_gbm = false |
17 ozone_platform_test = false | 19 ozone_platform_test = false |
| 20 |
| 21 if (ozone_auto_platforms) { |
| 22 # Use test as the default platform. |
| 23 ozone_platform = "test" |
| 24 |
| 25 # Build all platforms whose deps are in install-build-deps.sh. |
| 26 # Only these platforms will be compile tested by buildbots. |
| 27 ozone_platform_dri = true |
| 28 ozone_platform_test = true |
| 29 ozone_platform_egltest = true |
| 30 } |
18 } | 31 } |
OLD | NEW |