mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
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:
parent
45e57d0d40
commit
6e85003e32
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user