1 # -*- Mode: python; c-basic-offset: 4; 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 distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 # This file defines the headers exported by and the sources build for mfbt.
8 # It is included by mfbt itself and by the JS engine, which, when built
9 # standalone, must install mfbt's exported headers and build mfbt sources
10 # itself. It expects that mfbt_root is set to the relative path to mfbt
11 # before this file in included.
34 'IntegerPrintfMacros.h',
66 'decimal/Decimal.cpp',
67 'double-conversion/bignum-dtoa.cc',
68 'double-conversion/bignum.cc',
69 'double-conversion/cached-powers.cc',
70 'double-conversion/diy-fp.cc',
71 'double-conversion/double-conversion.cc',
72 'double-conversion/fast-dtoa.cc',
73 'double-conversion/fixed-dtoa.cc',
74 'double-conversion/strtod.cc',
81 DEFINES['IMPL_MFBT'] = True
83 EXPORTS.mozilla += ['%s/%s' % (mfbt_root, header) for header in mfbt_headers]
84 SOURCES += ['%s/%s' % (mfbt_root, src) for src in mfbt_sources]