xpcom/glue/standalone/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 # On win we build two glue libs - glue linked to crt dlls here and in staticruntime we build
     8 # a statically linked glue lib.
     9 if CONFIG['OS_ARCH'] == 'WINNT':
    10     DIRS += ['staticruntime']
    12 include('../objs.mozbuild')
    14 SOURCES += xpcom_glue_src_cppsrcs
    16 SOURCES += [
    17     '../nsStringAPI.cpp',
    18     'nsXPCOMGlue.cpp',
    19 ]
    21 LIBRARY_NAME = 'xpcomglue'
    23 EXPORTS += [
    24     'nsXPCOMGlue.h',
    25 ]
    27 SDK_LIBRARY = [
    28     "%s%s.%s" % (CONFIG['LIB_PREFIX'], 'xpcomglue', CONFIG['LIB_SUFFIX']),
    29 ]
    31 FORCE_STATIC_LIB = True
    33 if CONFIG['_MSC_VER']:
    34     DEFINES['_USE_ANSI_CPP'] = True
    36 DEFINES['XPCOM_GLUE'] = True
    38 if CONFIG['TARGET_XPCOM_ABI']:
    39     DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
    41 LOCAL_INCLUDES += [
    42     '../../build',
    43 ]
    45 # Don't use STL wrappers here (i.e. wrapped <new>); they require mozalloc
    46 DISABLE_STL_WRAPPING = True

mercurial