From 99ed16064aed08591222a01ac0fdcebab3342dd8 Mon Sep 17 00:00:00 2001 From: trav90 Date: Mon, 15 Oct 2018 21:48:14 -0500 Subject: Add --enable-av1 configure switch --- toolkit/moz.configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'toolkit/moz.configure') diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 7d3065f53..792fb113d 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -358,6 +358,20 @@ set_config('MOZ_FMP4', fmp4) set_define('MOZ_FMP4', fmp4) add_old_configure_assignment('MOZ_FMP4', fmp4) +# Libaom AV1 Video Codec Support +# ============================================================== +option('--enable-av1', + help='Enable libaom for av1 video support') + +@depends('--enable-av1') +def av1(value): + enabled = bool(value) + if enabled: + return True + +set_config('MOZ_AV1', av1) +set_define('MOZ_AV1', av1) + # Miscellaneous # ============================================================== option(name='--enable-chrome-format', -- cgit v1.2.3