Bug 1523562 [wpt PR 14965] - Sync Mozilla CSS tests as of 2019-01-20, a=testonly
[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