naiveproxy/third_party/libaom/options.gni
2018-08-14 22:19:20 +00:00

11 lines
357 B
Plaintext

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)