1# Copyright 2019 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/chromeos/ui_mode.gni")
6import("//build/config/gclient_args.gni")
7
8declare_args() {
9  # Enable libgav1 decoder.
10  enable_libgav1_decoder =
11      is_ash && (target_cpu == "arm" || target_cpu == "arm64")
12  use_libgav1_parser = is_ash && (target_cpu == "x86" || target_cpu == "x64")
13}
14