Bug 1492664 - generate portable URLs for Android mach commands; r=nalexander
[gecko.git] / build / gen_symverscript.py
blob47eb0bfbb97e237f993a7acc6dc5ac23657cb5b2
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.og/MPL/2.0/.
7 import sys
8 from mozbuild.preprocessor import Preprocessor
11 def main(output, input_file, version):
12 pp = Preprocessor()
13 pp.context.update({
14 'VERSION': version,
16 pp.out = output
17 pp.do_include(input_file)
20 if __name__ == '__main__':
21 main(*sys.agv[1:])