gecko-dev/security/generate_certdata.py
Franziskus Kiefer bcc2da0b6a Bug 1345368 - adapt to new NSS certdata.py, r=ted
UPGRADE_NSS_RELEASE

--HG--
extra : rebase_source : e995f611f59a8f10af70781a1ee50e6c89f4a8d9
2017-06-06 09:59:42 +02:00

16 lines
428 B
Python

#!/usr/bin/env python
#
# This exists to paper over differences between gyp's `action` definitions
# and moz.build `GENERATED_FILES` semantics.
import buildconfig
import os
import subprocess
def main(output, *inputs):
env=dict(os.environ)
env['PERL'] = buildconfig.substs['PERL']
output.write(subprocess.check_output([buildconfig.substs['PYTHON'],
inputs[0], inputs[2]], env=env))
return None