blob: c00543d813d677ffe9bfc7ee64a7d3ca064d23e2 [file] [log] [blame]
import("//build/config/gclient_args.gni")
declare_args() {
# Enable decoding AV1 video files.
enable_av1_decoder = checkout_libaom && !is_android && !is_ios &&
(current_cpu == "x86" || current_cpu == "x64")
}
# Ensure that enable_av1_decoder is set iff the library is checked out.
assert(!enable_av1_decoder || checkout_libaom)