summaryrefslogtreecommitdiff
path: root/chromium/ui/base/ui_features.gni
blob: ef83c38f5fd44f3832e66ea9a20d09549586f618 (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
# Copyright 2016 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.

import("//build/config/ui.gni")

declare_args() {
  # Optional system library.
  use_xkbcommon = false

  # Whether the entire browser uses toolkit-views on Mac instead of Cocoa.
  mac_views_browser = is_mac && toolkit_views

  # Whether the platform provides a native accessibility toolkit.
  has_native_accessibility = use_atk || is_win || is_mac

  # Whether the message center should be included for displaying notifications.
  enable_message_center = is_win || is_mac || is_linux || is_chromeos

  # Set to true to if mus (aka the UI service) is enabled. Use the features kMus
  # (or kMash in chrome code) to start in mus/mash.
  enable_mus = is_chromeos
}

enable_hidpi = is_mac || is_win || is_linux