Bug 1296503 - Bonus: remove work around json.dump() mis-serialization of OptionValues. r=ted

This commit is contained in:
Mike Hommey 2016-08-19 17:42:04 +09:00
parent f97add6317
commit 33f9ee19fb

View File

@ -369,11 +369,7 @@ def eme(value, fmp4):
@depends('--enable-eme')
def eme_modules(value):
# Theoretically, we could pass `value` directly when it is a
# PositiveOptionValue, but somehow, the JSON serialization in configure.py
# outputs inconsistent data in some cases when we do (a closing bracket
# without an opening one).
return list(value) if value else []
return value
set_config('MOZ_EME', eme)
set_define('MOZ_EME', eme)