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/.
9 'nsIArrayExtensions.idl',
12 'nsIMutableArray.idl',
14 'nsIObserverService.idl',
15 'nsIPersistentProperties2.idl',
19 'nsIPropertyBag2.idl',
20 'nsISerializable.idl',
21 'nsISimpleEnumerator.idl',
22 'nsIStringEnumerator.idl',
23 'nsISupportsIterators.idl',
24 'nsISupportsPrimitives.idl',
26 'nsIWritablePropertyBag.idl',
27 'nsIWritablePropertyBag2.idl',
30 if CONFIG['OS_ARCH'] == 'WINNT':
32 'nsIWindowsRegKey.idl',
34 EXPORTS += ['nsWindowsRegKey.h']
39 XPIDL_MODULE = 'xpcom_ds'
45 'nsArrayEnumerator.h',
49 'nsCharSeparatedTokenizer.h',
56 'nsEnumeratorUtils.h',
57 'nsExpirationTracker.h',
60 'nsHashPropertyBag.h',
61 'nsInterfaceHashtable.h',
62 'nsJSThingHashtable.h',
64 'nsPointerHashKeys.h',
66 'nsRefPtrHashtable.h',
67 'nsStaticAtomUtils.h',
68 'nsStaticNameTable.h',
69 'nsStringEnumerator.h',
70 'nsSupportsPrimitives.h',
73 'nsTArrayForwardDeclare.h',
78 'nsWhitespaceTokenizer.h',
84 'ArenaAllocatorExtensions.h',
88 'IncrementalTokenizer.h',
90 'StickyTimeDuration.h',
96 'IncrementalTokenizer.cpp',
98 'nsArrayEnumerator.cpp',
104 'nsEnumeratorUtils.cpp',
105 'nsHashPropertyBag.cpp',
106 'nsINIParserImpl.cpp',
107 'nsObserverList.cpp',
108 'nsObserverService.cpp',
109 'nsPersistentProperties.cpp',
112 'nsStaticNameTable.cpp',
113 'nsStringEnumerator.cpp',
114 'nsSupportsPrimitives.cpp',
116 'nsTObserverArray.cpp',
125 if CONFIG['CC_TYPE'] == 'msvc':
126 # Needed for gGkAtoms.
127 SOURCES['nsGkAtoms.cpp'].flags += [
128 '-constexpr:steps300000',
129 '-Zc:externConstexpr',
132 EXTRA_COMPONENTS += [
134 'nsINIProcessor.manifest',
141 GENERATED_FILES += ['nsGkAtomList.h']
142 GENERATED_FILES['nsGkAtomList.h'].script = 'StaticAtoms.py:generate_nsgkatomlist_h'
143 GENERATED_FILES['nsGkAtomList.h'].inputs = ['Atom.py', 'HTMLAtoms.py']
145 GENERATED_FILES += ['nsGkAtomConsts.h']
146 GENERATED_FILES['nsGkAtomConsts.h'].script = 'StaticAtoms.py:generate_nsgkatomconsts_h'
147 GENERATED_FILES['nsGkAtomConsts.h'].inputs = ['Atom.py', 'HTMLAtoms.py']
149 FINAL_LIBRARY = 'xul'