| 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 declare_args() { |   5 declare_args() { | 
|   6   # Select platforms automatically. Turn this off for manual control. |   6   # Select platforms automatically. Turn this off for manual control. | 
|   7   ozone_auto_platforms = true |   7   ozone_auto_platforms = true | 
 |   8  | 
 |   9   # This enables memory-mapped access to accelerated graphics buffers via the | 
 |  10   # VGEM ("virtual GEM") driver. This is currently only available on Chrome OS | 
 |  11   # kernels and affects code in the GBM ozone platform. | 
 |  12   # TODO(dshwang): remove this flag when all gbm hardware supports vgem map. | 
 |  13   # crbug.com/519587 | 
 |  14   use_vgem_map = false | 
|   8 } |  15 } | 
|   9  |  16  | 
|  10 declare_args() { |  17 declare_args() { | 
|  11   # The platform that will be active by default. |  18   # The platform that will be active by default. | 
|  12   ozone_platform = "" |  19   ozone_platform = "" | 
|  13  |  20  | 
|  14   # Enable individual platforms. |  21   # Enable individual platforms. | 
|  15   ozone_platform_caca = false |  22   ozone_platform_caca = false | 
|  16   ozone_platform_drm = false |  23   ozone_platform_drm = false | 
|  17   ozone_platform_egltest = false |  24   ozone_platform_egltest = false | 
|  18   ozone_platform_gbm = false |  25   ozone_platform_gbm = false | 
|  19   ozone_platform_ozonex = false |  26   ozone_platform_ozonex = false | 
|  20   ozone_platform_test = false |  27   ozone_platform_test = false | 
|  21  |  28  | 
|  22   if (ozone_auto_platforms) { |  29   if (ozone_auto_platforms) { | 
|  23     # Use test as the default platform. |  30     # Use test as the default platform. | 
|  24     ozone_platform = "test" |  31     ozone_platform = "test" | 
|  25  |  32  | 
|  26     # Build all platforms whose deps are in install-build-deps.sh. |  33     # Build all platforms whose deps are in install-build-deps.sh. | 
|  27     # Only these platforms will be compile tested by buildbots. |  34     # Only these platforms will be compile tested by buildbots. | 
|  28     ozone_platform_drm = true |  35     ozone_platform_drm = true | 
|  29     ozone_platform_test = true |  36     ozone_platform_test = true | 
|  30     ozone_platform_egltest = true |  37     ozone_platform_egltest = true | 
|  31   } |  38   } | 
|  32 } |  39 } | 
| OLD | NEW |