Bug 1592002 [wpt PR 19951] - Fix web-tests that failed with UAv2 same-origin visibili...
[gecko.git] / security / generate_certdata.py
blob2a7ffeb9ee2dff92e330d99858b550f85a656376
1 #!/usr/bin/env python
3 # This exists to paper over differences between gyp's `action` definitions
4 # and moz.build `GENERATED_FILES` semantics.
6 import buildconfig
7 import os
8 import subprocess
11 def main(output, *inputs):
12 env = dict(os.environ)
13 env['PERL'] = str(buildconfig.substs['PERL'])
14 output.write(subprocess.check_output([buildconfig.substs['PYTHON'],
15 inputs[0], inputs[2]], env=env))
16 return None