summaryrefslogtreecommitdiff
path: root/system/framework/objs.mozbuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/framework/objs.mozbuild')
-rw-r--r--system/framework/objs.mozbuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/system/framework/objs.mozbuild b/system/framework/objs.mozbuild
new file mode 100644
index 000000000..c31816511
--- /dev/null
+++ b/system/framework/objs.mozbuild
@@ -0,0 +1,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 = [
+ '/system/framework/%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 = [
+ '/system/framework/%s' % s for s in mfbt_nonunified_src_lcppsrcs
+]