910e62b5创建于 1月15日历史提交
# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# gn args.
declare_args() {
  # Used to enable the Accessibility Service. Override this in
  # gn args on supported platforms (see below).
  enable_accessibility_service = false
}

# Generated args.
declare_args() {
  # Shortcut for only allowing the service to run on Chrome OS, Windows,
  # Mac, Fuchsia, and Linux when the buildflag above is enabled.
  # This is exposed with the macro ENABLE_ACCESSIBILITY_SERVICE.
  enable_accessibility_service_internal =
      enable_accessibility_service &&
      (is_chromeos || is_linux || is_mac || is_win || is_fuchsia)
}