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) |