2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:20:02 +00: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 17:17:46 +00: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 17:20:41 +00:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIWindowsRegKey.idl',
|
|
|
|
]
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += ['nsWindowsRegKey.h']
|
|
|
|
EXPORTS.mozilla += ['TimeStamp_windows.h']
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsWindowsRegKey.cpp'
|
|
|
|
]
|
2013-03-12 17:20:41 +00:00
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'xpcom_ds'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'nsArray.h',
|
|
|
|
'nsAtomService.h',
|
|
|
|
'nsCharSeparatedTokenizer.h',
|
|
|
|
'nsCheapSets.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'nsCRT.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'nsExpirationTracker.h',
|
|
|
|
'nsHashPropertyBag.h',
|
|
|
|
'nsMathUtils.h',
|
|
|
|
'nsStaticAtom.h',
|
|
|
|
'nsStaticNameTable.h',
|
|
|
|
'nsStringEnumerator.h',
|
|
|
|
'nsSupportsArray.h',
|
|
|
|
'nsSupportsPrimitives.h',
|
|
|
|
'nsVariant.h',
|
|
|
|
'nsWhitespaceTokenizer.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'TimeStamp.h',
|
|
|
|
]
|
|
|
|
|
2013-11-19 02:34:00 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 21:54:15 +00: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 23:05:43 +00:00
|
|
|
'TimeStamp.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-11-19 02:34:00 +00: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 12:08:44 +00:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-07-16 12:08:44 +00:00
|
|
|
'TimeStamp_windows.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['HAVE_CLOCK_MONOTONIC']:
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'TimeStamp_posix.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'TimeStamp_darwin.cpp',
|
|
|
|
]
|
2013-11-07 01:37:45 +00:00
|
|
|
elif CONFIG['COMPILE_ENVIRONMENT']:
|
2013-04-23 21:54:15 +00:00
|
|
|
error('No TimeStamp implementation on this platform. Build will not succeed')
|
2013-06-17 19:21:01 +00:00
|
|
|
|
2013-06-11 20:38:22 +00:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsINIProcessor.js',
|
|
|
|
'nsINIProcessor.manifest',
|
|
|
|
]
|
|
|
|
|
2013-12-01 20:07:07 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 06:56:01 +00:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-09-12 12:15:51 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../io',
|
|
|
|
]
|
2013-11-19 02:47:14 +00:00
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|