Bug 1617131 - Sort the list of third party paths. r=sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D63631

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2020-02-21 11:04:12 +00:00
parent 5a9cd51a1a
commit 1b3a3daa80

View File

@ -21,7 +21,7 @@ def generate(output, *input_paths):
if line.endswith('/'):
line = line[:-1]
tpp_list.append(line)
tpp_strings = ',\n '.join([json.dumps(tpp) for tpp in tpp_list])
tpp_strings = ',\n '.join([json.dumps(tpp) for tpp in sorted(tpp_list)])
output.write("""\
/* THIS FILE IS GENERATED BY ThirdPartyPaths.py - DO NOT EDIT */