Bumping manifests a=b2g-bump
[gecko.git] / xpcom / ds / moz.build
blob81c2a9cd0049ef87e2ca3060f3ba6f7e73199e09
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 XPIDL_SOURCES += [
8     'nsIArray.idl',
9     'nsIAtom.idl',
10     'nsIAtomService.idl',
11     'nsICollection.idl',
12     'nsIEnumerator.idl',
13     'nsIHashable.idl',
14     'nsIINIParser.idl',
15     'nsIMutableArray.idl',
16     'nsIObserver.idl',
17     'nsIObserverService.idl',
18     'nsIPersistentProperties2.idl',
19     'nsIProperties.idl',
20     'nsIProperty.idl',
21     'nsIPropertyBag.idl',
22     'nsIPropertyBag2.idl',
23     'nsISerializable.idl',
24     'nsISimpleEnumerator.idl',
25     'nsIStringEnumerator.idl',
26     'nsISupportsArray.idl',
27     'nsISupportsIterators.idl',
28     'nsISupportsPrimitives.idl',
29     'nsIVariant.idl',
30     'nsIWritablePropertyBag.idl',
31     'nsIWritablePropertyBag2.idl',
34 if CONFIG['OS_ARCH'] == 'WINNT':
35     XPIDL_SOURCES += [
36         'nsIWindowsRegKey.idl',
37     ]
38     EXPORTS += ['nsWindowsRegKey.h']
39     EXPORTS.mozilla += ['TimeStamp_windows.h']
40     SOURCES += [
41         'nsWindowsRegKey.cpp'
42     ]
44 XPIDL_MODULE = 'xpcom_ds'
46 EXPORTS += [
47     'nsArray.h',
48     'nsAtomService.h',
49     'nsCharSeparatedTokenizer.h',
50     'nsCheapSets.h',
51     'nsCRT.h',
52     'nsExpirationTracker.h',
53     'nsHashPropertyBag.h',
54     'nsMathUtils.h',
55     'nsStaticAtom.h',
56     'nsStaticNameTable.h',
57     'nsStringEnumerator.h',
58     'nsSupportsArray.h',
59     'nsSupportsPrimitives.h',
60     'nsVariant.h',
61     'nsWhitespaceTokenizer.h',
64 EXPORTS.mozilla += [
65     'TimeStamp.h',
68 UNIFIED_SOURCES += [
69     'nsArray.cpp',
70     'nsAtomService.cpp',
71     'nsAtomTable.cpp',
72     'nsCRT.cpp',
73     'nsHashPropertyBag.cpp',
74     'nsINIParserImpl.cpp',
75     'nsObserverList.cpp',
76     'nsObserverService.cpp',
77     'nsProperties.cpp',
78     'nsStringEnumerator.cpp',
79     'nsSupportsArray.cpp',
80     'nsSupportsArrayEnumerator.cpp',
81     'nsSupportsPrimitives.cpp',
82     'nsVariant.cpp',
83     'TimeStamp.cpp',
86 # These two files cannot be built in unified mode because they use the
87 # PL_ARENA_CONST_ALIGN_MASK macro with plarena.h.
88 SOURCES += [
89     'nsPersistentProperties.cpp',
90     'nsStaticNameTable.cpp',
93 if CONFIG['OS_ARCH'] == 'WINNT':
94     SOURCES += [
95         'TimeStamp_windows.cpp',
96     ]
97 elif CONFIG['HAVE_CLOCK_MONOTONIC']:
98     SOURCES += [
99         'TimeStamp_posix.cpp',
100     ]
101 elif CONFIG['OS_ARCH'] == 'Darwin':
102     SOURCES += [
103         'TimeStamp_darwin.cpp',
104     ]
105 elif CONFIG['COMPILE_ENVIRONMENT']:
106     error('No TimeStamp implementation on this platform.  Build will not succeed')
108 EXTRA_COMPONENTS += [
109     'nsINIProcessor.js',
110     'nsINIProcessor.manifest',
113 FAIL_ON_WARNINGS = True
115 MSVC_ENABLE_PGO = True
117 LOCAL_INCLUDES += [
118     '../io',
121 FINAL_LIBRARY = 'xul'