naiveproxy/third_party/libaom/options.gni

11 lines
357 B
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +03:00
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)