Bug 853525, part 8 - Enable building of mfbt/decimal. r=Waldo
authorJonathan Watt <jwatt@jwatt.org>
Mon, 06 May 2013 00:23:17 +0100
changeset 141892 1c2a11eb7db0252cb5e6731fc5889bb442483377
parent 141891 1ca314d5783bff65468c929a910c937bf5d1ee23
child 141893 f40200a441622c0c73be1eb5789b9c185da46cb5
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs853525
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 853525, part 8 - Enable building of mfbt/decimal. r=Waldo
mfbt/exported_headers.mk
mfbt/sources.mk
--- a/mfbt/exported_headers.mk
+++ b/mfbt/exported_headers.mk
@@ -13,16 +13,17 @@ EXPORTS_mozilla += \
   Attributes.h \
   BloomFilter.h \
   Casting.h \
   Char16.h \
   CheckedInt.h \
   Compiler.h \
   Constants.h \
   DebugOnly.h \
+  decimal/Decimal.h \
   Endian.h \
   EnumSet.h \
   FloatingPoint.h \
   GuardObjects.h \
   HashFunctions.h \
   Likely.h \
   LinkedList.h \
   MathAlgorithms.h \
--- a/mfbt/sources.mk
+++ b/mfbt/sources.mk
@@ -21,8 +21,16 @@ CPPSRCS += \
   bignum.cc \
   cached-powers.cc \
   diy-fp.cc \
   double-conversion.cc \
   fast-dtoa.cc \
   fixed-dtoa.cc \
   strtod.cc \
   $(NULL)
+
+# Imported decimal sources.
+VPATH += $(MFBT_ROOT)/decimal \
+  $(NULL)
+
+CPPSRCS += \
+  Decimal.cpp
+