Bug 1804798 - Explicitly set auto page name (and corresponding debug flag) when inser...
[gecko.git] / security / generate_certdata.py
blobfee6b009ccf51858d2ba5903b698a66c8c42b464
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 os
11 import subprocess
13 import buildconfig
16 def main(output, *inputs):
17 env = dict(os.environ)
18 env["PERL"] = str(buildconfig.substs["PERL"])
19 output.write(
20 subprocess.check_output(
21 [buildconfig.substs["PYTHON3"], inputs[0], inputs[2]], env=env
24 return None