Bug 1801850 - media/libopus: add ignore list to moz.build generation. r=sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D163104
This commit is contained in:
Adrien Champion 2022-11-27 14:40:45 +00:00
parent 45e57d0d40
commit 6e85003e32

View File

@ -8,10 +8,17 @@
import sys
import re
# These files are not used, ignore them.
ignore_list = [
]
def should_ignore(value):
return any(item in value for item in ignore_list)
def add_value(values, text):
text = text.replace('\\', '')
text = text.strip()
if text:
if text and not should_ignore(text):
values.append(text)
def write_values(output, values):