Bug 1700051: part 31.2) Move `mSoftBegin` to `SoftText`. r=smaug
[gecko.git] / security / generate_certdata.py
blob3dda68ec8af2cec5b3f31b460987d8ef6ac0a8b5
1 #!/usr/bin/env python
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 # This exists to paper over differences between gyp's `action` definitions
8 # and moz.build `GENERATED_FILES` semantics.
10 import buildconfig
11 import os
12 import subprocess
15 def main(output, *inputs):
16 env = dict(os.environ)
17 env["PERL"] = str(buildconfig.substs["PERL"])
18 output.write(
19 subprocess.check_output(
20 [buildconfig.substs["PYTHON3"], inputs[0], inputs[2]], env=env
23 return None