Bumping manifests a=b2g-bump
[gecko.git] / xpcom / string / moz.build
blob0f10ff627830ee0b064299ca236d6c4bd7240f6b
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/.
7 EXPORTS += [
8     'nsAlgorithm.h',
9     'nsAString.h',
10     'nsCharTraits.h',
11     'nsDependentString.h',
12     'nsDependentSubstring.h',
13     'nsEmbedString.h',
14     'nsLiteralString.h',
15     'nsPrintfCString.h',
16     'nsPromiseFlatString.h',
17     'nsReadableUtils.h',
18     'nsString.h',
19     'nsStringBuffer.h',
20     'nsStringFwd.h',
21     'nsStringIterator.h',
22     'nsSubstring.h',
23     'nsSubstringTuple.h',
24     'nsTDependentString.h',
25     'nsTDependentSubstring.h',
26     'nsTLiteralString.h',
27     'nsTPromiseFlatString.h',
28     'nsTString.h',
29     'nsTSubstring.h',
30     'nsTSubstringTuple.h',
31     'nsUTF8Utils.h',
32     'nsXPCOMStrings.h',
33     'nsXPIDLString.h',
34     'string-template-def-char.h',
35     'string-template-def-unichar.h',
36     'string-template-undef.h',
39 UNIFIED_SOURCES += [
40     'nsDependentString.cpp',
41     'nsDependentSubstring.cpp',
42     'nsPromiseFlatString.cpp',
43     'nsReadableUtils.cpp',
44     'nsString.cpp',
45     'nsStringComparator.cpp',
46     'nsStringObsolete.cpp',
47     'nsSubstring.cpp',
48     'nsSubstringTuple.cpp',
51 # Are we targeting x86 or x86-64?  If so, compile the SSE2 functions for
52 # nsUTF8Utils.cpp.
53 if CONFIG['INTEL_ARCHITECTURE']:
54     SOURCES += ['nsUTF8UtilsSSE2.cpp']
55     SOURCES['nsUTF8UtilsSSE2.cpp'].flags += CONFIG['SSE2_FLAGS']
57 LOCAL_INCLUDES += [
58     '/mfbt/double-conversion',
61 MSVC_ENABLE_PGO = True
63 FINAL_LIBRARY = 'xul'