2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:20:02 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIArray.idl',
|
|
|
|
'nsIAtom.idl',
|
|
|
|
'nsIAtomService.idl',
|
|
|
|
'nsICollection.idl',
|
|
|
|
'nsIEnumerator.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',
|
|
|
|
'nsISupportsArray.idl',
|
|
|
|
'nsISupportsIterators.idl',
|
|
|
|
'nsISupportsPrimitives.idl',
|
|
|
|
'nsIVariant.idl',
|
|
|
|
'nsIWritablePropertyBag.idl',
|
|
|
|
'nsIWritablePropertyBag2.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 10:20:41 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIWindowsRegKey.idl',
|
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += ['nsWindowsRegKey.h']
|
|
|
|
EXPORTS.mozilla += ['TimeStamp_windows.h']
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsWindowsRegKey.cpp'
|
|
|
|
]
|
2013-03-12 10:20:41 -07:00
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'xpcom_ds'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsArray.h',
|
|
|
|
'nsAtomService.h',
|
|
|
|
'nsCharSeparatedTokenizer.h',
|
|
|
|
'nsCheapSets.h',
|
2013-10-23 16:05:43 -07:00
|
|
|
'nsCRT.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsExpirationTracker.h',
|
|
|
|
'nsHashPropertyBag.h',
|
|
|
|
'nsMathUtils.h',
|
|
|
|
'nsStaticAtom.h',
|
|
|
|
'nsStaticNameTable.h',
|
|
|
|
'nsStringEnumerator.h',
|
|
|
|
'nsSupportsArray.h',
|
|
|
|
'nsSupportsPrimitives.h',
|
|
|
|
'nsVariant.h',
|
|
|
|
'nsWhitespaceTokenizer.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2014-09-24 22:25:50 -07:00
|
|
|
'StickyTimeDuration.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'TimeStamp.h',
|
|
|
|
]
|
|
|
|
|
2013-11-18 18:34:00 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsArray.cpp',
|
|
|
|
'nsAtomService.cpp',
|
|
|
|
'nsAtomTable.cpp',
|
|
|
|
'nsCRT.cpp',
|
|
|
|
'nsHashPropertyBag.cpp',
|
|
|
|
'nsINIParserImpl.cpp',
|
|
|
|
'nsObserverList.cpp',
|
|
|
|
'nsObserverService.cpp',
|
|
|
|
'nsProperties.cpp',
|
|
|
|
'nsStringEnumerator.cpp',
|
|
|
|
'nsSupportsArray.cpp',
|
|
|
|
'nsSupportsArrayEnumerator.cpp',
|
|
|
|
'nsSupportsPrimitives.cpp',
|
|
|
|
'nsVariant.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'TimeStamp.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-11-18 18:34:00 -08:00
|
|
|
# These two files cannot be built in unified mode because they use the
|
|
|
|
# PL_ARENA_CONST_ALIGN_MASK macro with plarena.h.
|
|
|
|
SOURCES += [
|
|
|
|
'nsPersistentProperties.cpp',
|
|
|
|
'nsStaticNameTable.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-16 05:08:44 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-07-16 05:08:44 -07:00
|
|
|
'TimeStamp_windows.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['HAVE_CLOCK_MONOTONIC']:
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'TimeStamp_posix.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'TimeStamp_darwin.cpp',
|
|
|
|
]
|
2013-11-06 17:37:45 -08:00
|
|
|
elif CONFIG['COMPILE_ENVIRONMENT']:
|
2013-04-23 14:54:15 -07:00
|
|
|
error('No TimeStamp implementation on this platform. Build will not succeed')
|
2013-06-17 12:21:01 -07:00
|
|
|
|
2013-06-11 13:38:22 -07:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsINIProcessor.js',
|
|
|
|
'nsINIProcessor.manifest',
|
|
|
|
]
|
|
|
|
|
2013-12-01 12:07:07 -08:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-09-12 05:15:51 -07:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../io',
|
|
|
|
]
|
2013-11-18 18:47:14 -08:00
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|