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-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
2013-07-01 21:24:53 +00:00
|
|
|
'nsXPCOM.h',
|
|
|
|
'nsXPCOMCID.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'nsXPCOMCIDInternal.h',
|
|
|
|
'nsXREAppData.h',
|
|
|
|
'nsXULAppAPI.h',
|
|
|
|
'xrecore.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'FileLocation.h',
|
2013-11-05 12:45:20 +00:00
|
|
|
'LateWriteChecks.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'Omnijar.h',
|
2013-11-05 12:45:20 +00:00
|
|
|
'PoisonIOInterposer.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'ServiceList.h',
|
|
|
|
'Services.h',
|
|
|
|
'XPCOM.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
EXPORTS.mozilla += ['perfprobe.h']
|
2013-11-18 18:21:26 +00:00
|
|
|
SOURCES += ['perfprobe.cpp']
|
|
|
|
if CONFIG['MOZ_ENABLE_PROFILER_SPS']:
|
|
|
|
SOURCES += [
|
|
|
|
'PoisonIOInterposerBase.cpp',
|
|
|
|
'PoisonIOInterposerWin.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
SOURCES += ['PoisonIOInterposerStub.cpp']
|
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin' and CONFIG['MOZ_ENABLE_PROFILER_SPS']:
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-11-01 01:30:45 +00:00
|
|
|
'mach_override.c',
|
2013-11-05 12:45:20 +00:00
|
|
|
'PoisonIOInterposerBase.cpp',
|
|
|
|
'PoisonIOInterposerMac.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-11-18 18:21:26 +00:00
|
|
|
else:
|
|
|
|
SOURCES += ['PoisonIOInterposerStub.cpp']
|
2013-04-23 21:54:15 +00:00
|
|
|
|
2013-08-30 13:09:06 +00:00
|
|
|
include('../glue/objs.mozbuild')
|
|
|
|
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += xpcom_gluens_src_cppsrcs
|
|
|
|
SOURCES += xpcom_glue_src_cppsrcs
|
2013-08-30 13:09:06 +00:00
|
|
|
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'FileLocation.cpp',
|
|
|
|
'FrozenFunctions.cpp',
|
2013-11-05 12:45:20 +00:00
|
|
|
'LateWriteChecks.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'nsXPComInit.cpp',
|
|
|
|
'nsXPCOMStrings.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'Omnijar.cpp',
|
|
|
|
'Services.cpp',
|
|
|
|
]
|
2013-08-22 06:56:01 +00:00
|
|
|
|
2013-08-22 06:56:01 +00:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-08-15 13:02:09 +00:00
|
|
|
LIBRARY_NAME = 'xpcom_core'
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|