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-08-30 17:09:06 +04:00
|
|
|
include('../objs.mozbuild')
|
|
|
|
|
2013-12-01 19:47:52 +04:00
|
|
|
UNIFIED_SOURCES += xpcom_gluens_src_cppsrcs
|
|
|
|
UNIFIED_SOURCES += xpcom_glue_src_cppsrcs
|
2013-08-30 17:09:06 +04:00
|
|
|
|
2013-12-01 19:47:52 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-08-30 17:09:06 +04:00
|
|
|
'../GenericModule.cpp',
|
|
|
|
'../nsStringAPI.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-06-17 23:21:01 +04:00
|
|
|
LIBRARY_NAME = 'xpcomglue_staticruntime_s'
|
|
|
|
|
2014-07-23 08:29:09 +04:00
|
|
|
SDK_LIBRARY = True
|
2013-09-21 02:00:48 +04:00
|
|
|
|
2013-10-24 21:51:00 +04:00
|
|
|
FORCE_STATIC_LIB = True
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
DEFINES['_USE_ANSI_CPP'] = True
|
2014-06-27 18:32:05 +04:00
|
|
|
# Don't include directives about which CRT to use
|
|
|
|
CFLAGS += ['-Zl']
|
|
|
|
CXXFLAGS += ['-Zl']
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2013-12-31 13:06:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../../build',
|
|
|
|
]
|
|
|
|
|
2014-02-11 18:12:33 +04:00
|
|
|
# Statically link to the CRT on Windows
|
|
|
|
USE_STATIC_LIBS = True
|
2014-03-05 04:39:06 +04:00
|
|
|
|
|
|
|
# Don't use STL wrappers here (i.e. wrapped <new>); they require mozalloc
|
|
|
|
DISABLE_STL_WRAPPING = True
|