1 # -*- Mode: python; c-basic-offset: 4; 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/.
11 'nsDependentString.h',
12 'nsDependentSubstring.h',
16 'nsPromiseFlatString.h',
24 'nsTDependentString.h',
25 'nsTDependentSubstring.h',
27 'nsTPromiseFlatString.h',
30 'nsTSubstringTuple.h',
34 'string-template-def-char.h',
35 'string-template-def-unichar.h',
36 'string-template-undef.h',
40 'nsDependentString.cpp',
41 'nsDependentSubstring.cpp',
42 'nsPromiseFlatString.cpp',
43 'nsReadableUtils.cpp',
45 'nsStringComparator.cpp',
46 'nsStringObsolete.cpp',
48 'nsSubstringTuple.cpp',
51 # Are we targeting x86 or x86-64? If so, compile the SSE2 functions for
53 if CONFIG['INTEL_ARCHITECTURE']:
54 SOURCES += ['nsUTF8UtilsSSE2.cpp']
55 SOURCES['nsUTF8UtilsSSE2.cpp'].flags += CONFIG['SSE2_FLAGS']
58 '/mfbt/double-conversion',
61 MSVC_ENABLE_PGO = True