mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1296503 - Bonus: remove work around json.dump() mis-serialization of OptionValues. r=ted
This commit is contained in:
parent
f97add6317
commit
33f9ee19fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user