objs.mozbuild 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. mfbt_src_lcppsrcs = [
  6. 'Assertions.cpp',
  7. 'ChaosMode.cpp',
  8. 'double-conversion/bignum-dtoa.cc',
  9. 'double-conversion/bignum.cc',
  10. 'double-conversion/cached-powers.cc',
  11. 'double-conversion/diy-fp.cc',
  12. 'double-conversion/double-conversion.cc',
  13. 'double-conversion/fast-dtoa.cc',
  14. 'double-conversion/fixed-dtoa.cc',
  15. 'double-conversion/strtod.cc',
  16. 'FloatingPoint.cpp',
  17. 'HashFunctions.cpp',
  18. 'JSONWriter.cpp',
  19. 'Poison.cpp',
  20. 'SHA1.cpp',
  21. 'Unused.cpp',
  22. ]
  23. mfbt_src_cppsrcs = [
  24. '/mfbt/%s' % s for s in mfbt_src_lcppsrcs
  25. ]
  26. # Compression.cpp cannot be built in unified mode because it pulls in Windows system headers.
  27. # Decimal.cpp doesn't build in unified mode with gcc.
  28. mfbt_nonunified_src_lcppsrcs = [
  29. 'Compression.cpp',
  30. 'decimal/Decimal.cpp',
  31. ]
  32. mfbt_nonunified_src_cppsrcs = [
  33. '/mfbt/%s' % s for s in mfbt_nonunified_src_lcppsrcs
  34. ]