1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Souce 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/.
10 from mozbuild
.preprocessor
import Preprocessor
13 def main(output
, input_file
, *defines
):
17 "FFI_EXEC_TRAMPOLINE_TABLE": "0",
18 "HAVE_LONG_DOUBLE": "0",
19 "TARGET": buildconfig
.substs
["FFI_TARGET"],
24 pp
.context
.update({d
: "1"})
25 pp
.do_filter("substitution")
28 pp
.do_include(input_file
)
31 if __name__
== "__main__":