summaryrefslogtreecommitdiffstats
path: root/mfbt/objs.mozbuild
blob: 8aed3d179fd063538a8471e85fd3b02a72da65d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

mfbt_src_lcppsrcs = [
    'Assertions.cpp',
    'ChaosMode.cpp',
    'double-conversion/bignum-dtoa.cc',
    'double-conversion/bignum.cc',
    'double-conversion/cached-powers.cc',
    'double-conversion/diy-fp.cc',
    'double-conversion/double-conversion.cc',
    'double-conversion/fast-dtoa.cc',
    'double-conversion/fixed-dtoa.cc',
    'double-conversion/strtod.cc',
    'FloatingPoint.cpp',
    'HashFunctions.cpp',
    'JSONWriter.cpp',
    'Poison.cpp',
    'SHA1.cpp',
    'Unused.cpp',
]

mfbt_src_cppsrcs = [
    '/mfbt/%s' % s for s in mfbt_src_lcppsrcs
]

# Compression.cpp cannot be built in unified mode because it pulls in Windows system headers.
# Decimal.cpp doesn't build in unified mode with gcc.
mfbt_nonunified_src_lcppsrcs = [
    'Compression.cpp',
    'decimal/Decimal.cpp',
]

mfbt_nonunified_src_cppsrcs = [
    '/mfbt/%s' % s for s in mfbt_nonunified_src_lcppsrcs
]