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-08-30 06:09:06 -07:00
|
|
|
include('../objs.mozbuild')
|
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += xpcom_gluens_src_cppsrcs
|
|
|
|
SOURCES += xpcom_glue_src_cppsrcs
|
2013-08-30 06:09:06 -07:00
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-08-30 06:09:06 -07:00
|
|
|
'../GenericModule.cpp',
|
|
|
|
'../nsStringAPI.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-06-17 12:21:01 -07:00
|
|
|
LIBRARY_NAME = 'xpcomglue_s_nomozalloc'
|
|
|
|
|
2013-09-20 15:00:48 -07:00
|
|
|
SDK_LIBRARY = [
|
|
|
|
"%s%s.%s" % (CONFIG['LIB_PREFIX'], 'xpcomglue_s_nomozalloc', CONFIG['LIB_SUFFIX']),
|
|
|
|
]
|
2013-10-24 10:51:00 -07:00
|
|
|
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
|
|
|
FORCE_STATIC_LIB = True
|
2013-11-27 05:55:07 -08:00
|
|
|
|
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
DEFINES['_USE_ANSI_CPP'] = True
|
|
|
|
|
|
|
|
if CONFIG['TARGET_XPCOM_ABI']:
|
|
|
|
DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
|
|
|
|
|
|
|
|
DEFINES['MOZ_NO_MOZALLOC'] = True
|