security/generate_certdata.py
author Ted Campbell <tcampbell@mozilla.com>
Wed, 19 Apr 2017 14:09:18 -0400
changeset 402420 fd25c2c275fceb51347b7a108c6ce17214dbf70c
parent 368291 ee70776759bf296c951a9805d5b79169291be4d3
child 410663 952cf10f8d8afa91d5b4e86702febfb0f19aa91e
permissions -rw-r--r--
Bug 1353358 - Use IfThenElseEmitter when optimizing spreadcall r=jandem MozReview-Commit-ID: 9HquKAFZ32k

#!/usr/bin/env python
#
# This exists to paper over differences between gyp's `action` definitions
# and moz.build `GENERATED_FILES` semantics.

import buildconfig
import subprocess

def main(output, *inputs):
    output.write(subprocess.check_output([buildconfig.substs['PERL']] + list(inputs)))
    return None