Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / build / gen_symverscript.py
blobd1a5abd07d4e36187c48f6524ced71ceca968929
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distibuted with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 import sys
9 from mozbuild.preprocessor import Preprocessor
12 def main(output, input_file, version):
13 pp = Preprocessor()
14 pp.context.update(
16 "VERSION": version,
19 pp.out = output
20 pp.do_include(input_file)
23 if __name__ == "__main__":
24 main(*sys.agv[1:])