зеркало из https://github.com/mozilla/gecko-dev.git
141 строка
3.1 KiB
Python
141 строка
3.1 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIArray.idl',
|
|
'nsIArrayExtensions.idl',
|
|
'nsIHashable.idl',
|
|
'nsIINIParser.idl',
|
|
'nsIMutableArray.idl',
|
|
'nsIObserver.idl',
|
|
'nsIObserverService.idl',
|
|
'nsIPersistentProperties2.idl',
|
|
'nsIProperties.idl',
|
|
'nsIProperty.idl',
|
|
'nsIPropertyBag.idl',
|
|
'nsIPropertyBag2.idl',
|
|
'nsISerializable.idl',
|
|
'nsISimpleEnumerator.idl',
|
|
'nsIStringEnumerator.idl',
|
|
'nsISupportsIterators.idl',
|
|
'nsISupportsPrimitives.idl',
|
|
'nsIVariant.idl',
|
|
'nsIWritablePropertyBag.idl',
|
|
'nsIWritablePropertyBag2.idl',
|
|
]
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
XPIDL_SOURCES += [
|
|
'nsIWindowsRegKey.idl',
|
|
]
|
|
EXPORTS += ['nsWindowsRegKey.h']
|
|
SOURCES += [
|
|
'nsWindowsRegKey.cpp'
|
|
]
|
|
|
|
XPIDL_MODULE = 'xpcom_ds'
|
|
|
|
EXPORTS += [
|
|
'nsArray.h',
|
|
'nsArrayEnumerator.h',
|
|
'nsArrayUtils.h',
|
|
'nsAtom.h',
|
|
'nsBaseHashtable.h',
|
|
'nsCharSeparatedTokenizer.h',
|
|
'nsCheapSets.h',
|
|
'nsClassHashtable.h',
|
|
'nsCOMArray.h',
|
|
'nsCRT.h',
|
|
'nsDataHashtable.h',
|
|
'nsDeque.h',
|
|
'nsEnumeratorUtils.h',
|
|
'nsExpirationTracker.h',
|
|
'nsGkAtomList.h',
|
|
'nsGkAtoms.h',
|
|
'nsHashKeys.h',
|
|
'nsHashPropertyBag.h',
|
|
'nsInterfaceHashtable.h',
|
|
'nsJSThingHashtable.h',
|
|
'nsMathUtils.h',
|
|
'nsPointerHashKeys.h',
|
|
'nsQuickSort.h',
|
|
'nsRefPtrHashtable.h',
|
|
'nsStaticAtom.h',
|
|
'nsStaticNameTable.h',
|
|
'nsStringEnumerator.h',
|
|
'nsSupportsPrimitives.h',
|
|
'nsTArray-inl.h',
|
|
'nsTArray.h',
|
|
'nsTArrayForwardDeclare.h',
|
|
'nsTHashtable.h',
|
|
'nsTObserverArray.h',
|
|
'nsTPriorityQueue.h',
|
|
'nsVariant.h',
|
|
'nsWhitespaceTokenizer.h',
|
|
'PLDHashTable.h',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'ArenaAllocator.h',
|
|
'ArenaAllocatorExtensions.h',
|
|
'ArrayIterator.h',
|
|
'AtomArray.h',
|
|
'Dafsa.h',
|
|
'IncrementalTokenizer.h',
|
|
'Observer.h',
|
|
'StickyTimeDuration.h',
|
|
'Tokenizer.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'Dafsa.cpp',
|
|
'IncrementalTokenizer.cpp',
|
|
'nsArray.cpp',
|
|
'nsArrayEnumerator.cpp',
|
|
'nsArrayUtils.cpp',
|
|
'nsAtomTable.cpp',
|
|
'nsCOMArray.cpp',
|
|
'nsCRT.cpp',
|
|
'nsDeque.cpp',
|
|
'nsEnumeratorUtils.cpp',
|
|
'nsHashPropertyBag.cpp',
|
|
'nsINIParserImpl.cpp',
|
|
'nsObserverList.cpp',
|
|
'nsObserverService.cpp',
|
|
'nsPersistentProperties.cpp',
|
|
'nsProperties.cpp',
|
|
'nsQuickSort.cpp',
|
|
'nsStaticNameTable.cpp',
|
|
'nsStringEnumerator.cpp',
|
|
'nsSupportsPrimitives.cpp',
|
|
'nsTArray.cpp',
|
|
'nsTObserverArray.cpp',
|
|
'nsVariant.cpp',
|
|
'PLDHashTable.cpp',
|
|
'Tokenizer.cpp',
|
|
]
|
|
|
|
SOURCES += [
|
|
'nsGkAtoms.cpp',
|
|
]
|
|
if CONFIG['CC_TYPE'] == 'msvc':
|
|
# Needed for gGkAtoms.
|
|
SOURCES['nsGkAtoms.cpp'].flags += [
|
|
'-constexpr:steps300000',
|
|
'-Zc:externConstexpr',
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'nsINIProcessor.js',
|
|
'nsINIProcessor.manifest',
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'../io',
|
|
]
|
|
|
|
FINAL_LIBRARY = 'xul'
|