naiveproxy/third_party/libaom/options.gni
2018-12-09 21:59:24 -05: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)