summaryrefslogtreecommitdiffstats
path: root/ui/ozone/ozone.gni
blob: 8556cee2f1f3b100aad8bfbbbcb30299c1a47647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

declare_args() {
  # Select platforms automatically. Turn this off for manual control.
  ozone_auto_platforms = true
}

declare_args() {
  # The platform that will be active by default.
  ozone_platform = ""

  # Enable individual platforms.
  ozone_platform_caca = false
  ozone_platform_dri = false
  ozone_platform_drm = false
  ozone_platform_egltest = false
  ozone_platform_gbm = false
  ozone_platform_test = false

  if (ozone_auto_platforms) {
    # Use test as the default platform.
    ozone_platform = "test"

    # Build all platforms whose deps are in install-build-deps.sh.
    # Only these platforms will be compile tested by buildbots.
    ozone_platform_dri = true
    ozone_platform_drm = true
    ozone_platform_test = true
    ozone_platform_egltest = true
  }
}