summaryrefslogtreecommitdiffstats
path: root/mfbt/objs.mozbuild
diff options
context:
space:
mode:
Diffstat (limited to 'mfbt/objs.mozbuild')
-rw-r--r--mfbt/objs.mozbuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/mfbt/objs.mozbuild b/mfbt/objs.mozbuild
new file mode 100644
index 000000000..37b2240c4
--- /dev/null
+++ b/mfbt/objs.mozbuild
@@ -0,0 +1,40 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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',
+ 'TaggedAnonymousMemory.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
+]