2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +04: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-19 22:47:00 +04:00
|
|
|
MODULE = 'xpcom'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2013-07-02 01:24:53 +04:00
|
|
|
'nsXPCOM.h',
|
|
|
|
'nsXPCOMCID.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsXPCOMCIDInternal.h',
|
|
|
|
'nsXREAppData.h',
|
|
|
|
'nsXULAppAPI.h',
|
|
|
|
'xrecore.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'FileLocation.h',
|
|
|
|
'Omnijar.h',
|
|
|
|
'ServiceList.h',
|
|
|
|
'Services.h',
|
|
|
|
'XPCOM.h',
|
|
|
|
'mozPoisonWrite.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
EXPORTS.mozilla += ['perfprobe.h']
|
2013-04-24 01:54:15 +04:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'mozPoisonWriteBase.cpp',
|
|
|
|
'mozPoisonWriteWin.cpp',
|
|
|
|
'perfprobe.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'mozPoisonWriteBase.cpp',
|
|
|
|
'mozPoisonWriteMac.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'mozPoisonWriteStub.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'$(XPCOM_GLUENS_SRC_LCPPSRCS)',
|
|
|
|
'$(XPCOM_GLUE_SRC_LCPPSRCS)',
|
|
|
|
'FileLocation.cpp',
|
|
|
|
'FrozenFunctions.cpp',
|
|
|
|
'Omnijar.cpp',
|
|
|
|
'Services.cpp',
|
|
|
|
'nsXPCOMStrings.cpp',
|
|
|
|
'nsXPComInit.cpp',
|
|
|
|
]
|
2013-08-22 10:56:01 +04:00
|
|
|
|
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-08-15 17:02:09 +04:00
|
|
|
LIBRARY_NAME = 'xpcom_core'
|
|
|
|
|