1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("Core", "MFBT")
13 '../third_party/rust/encoding_c_mem/include/encoding_rs_mem.h',
47 'FastBernoulliTrial.h',
51 'FunctionTypeTraits.h',
56 'IntegerPrintfMacros.h',
58 'IntegerTypeTraits.h',
71 'NonDereferenceable.h',
74 'OperatorNewExtensions.h',
96 'SmallPointerArray.h',
101 'StaticAnalysisFunctions.h',
102 'TaggedAnonymousMemory.h',
107 'ThreadSafeWeakPtr.h',
114 'UniquePtrExtensions.h',
120 'WrappingOperations.h',
121 'XorShift128PlusRNG.h',
124 EXPORTS["double-conversion"] = [
125 'double-conversion/double-conversion/double-conversion.h',
126 'double-conversion/double-conversion/double-to-string.h',
127 'double-conversion/double-conversion/string-to-double.h',
128 'double-conversion/double-conversion/utils.h',
132 '/mfbt/double-conversion',
135 if CONFIG['OS_ARCH'] == 'WINNT':
140 if CONFIG['MOZ_TSAN']:
148 'double-conversion/double-conversion/bignum-dtoa.cc',
149 'double-conversion/double-conversion/bignum.cc',
150 'double-conversion/double-conversion/cached-powers.cc',
151 'double-conversion/double-conversion/double-to-string.cc',
152 'double-conversion/double-conversion/fast-dtoa.cc',
153 'double-conversion/double-conversion/fixed-dtoa.cc',
154 'double-conversion/double-conversion/string-to-double.cc',
155 'double-conversion/double-conversion/strtod.cc',
162 'TaggedAnonymousMemory.cpp',
163 'UniquePtrExtensions.cpp',
168 if CONFIG['MOZ_BUILD_APP'] not in (
170 'tools/crashreporter',
171 'tools/update-packaging',
172 'tools/update-programs',
174 # Building MFBT tests adds a large overhead when building.
175 TEST_DIRS += ['tests']
177 DEFINES['IMPL_MFBT'] = True
189 if CONFIG['MOZ_NEEDS_LIBATOMIC']:
190 OS_LIBS += ['atomic']
192 DEFINES['LZ4LIB_VISIBILITY'] = ''