blob: ecbf3e6a88e05ca77edc95cc94188e9d35b91263 [file] [log] [blame]
# Copyright 2018 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/chromecast_build.gni")
import("//build/config/chromeos/ui_mode.gni")
declare_args() {
# Controls whether the build should use the version of Wayland
# library shipped with the system or Chromium third_party.
use_system_libwayland = is_linux && !is_chromecast && !is_chromeos_lacros &&
default_toolchain != "//build/toolchain/cros:target"
# Path to wayland-scanner. Has effect only when the system libwayland is used.
assert(host_os == "linux")
system_wayland_scanner_path = "/usr/bin/wayland-scanner"
# This may be set by Chromium packagers who do not wish to use the bundled
# wayland scanner.
use_system_wayland_scanner = false
}