blob: 5e0fe7ea3e09010135ed675f0bbee6dc8ab5c509 [file] [log] [blame]
# Copyright 2019 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/chromeos/ui_mode.gni")
import("//build/config/gclient_args.gni")
declare_args() {
# Enable libgav1 decoder.
# TODO(b/179825724): enable on LaCrOS.
enable_libgav1_decoder =
is_chromeos_ash && (target_cpu == "arm" || target_cpu == "arm64")
use_libgav1_parser =
(is_chromeos || is_linux || is_win) &&
(target_cpu == "x86" || target_cpu == "x64" ||
target_cpu == "arm64" || target_cpu == "ppc64")
}