xulrunner/app/moz.build

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     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 DIRS += ['profile']
     9 PROGRAM = 'xulrunner'
    11 SOURCES += [
    12     'nsXULRunnerApp.cpp',
    13 ]
    15 DEFINES['XULRUNNER_PROGNAME'] = '"xulrunner"'
    16 DEFINES['XPCOM_GLUE'] = True
    17 if CONFIG['DEBUG']:
    18     DEFINES['DEBUG'] = True
    20 if CONFIG['TARGET_XPCOM_ABI']:
    21     DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
    23 LOCAL_INCLUDES += [
    24     '/toolkit/profile',
    25     '/toolkit/xre',
    26     '/xpcom/base',
    27     '/xpcom/build',
    28 ]
    30 if CONFIG['_MSC_VER']:
    31     # Always enter a Windows program through wmain, whether or not we're
    32     # a console application.
    33     WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
    35 # Control the default heap size.
    36 # This is the heap returned by GetProcessHeap().
    37 # As we use the CRT heap, the default size is too large and wastes VM.
    38 #
    39 # The default heap size is 1MB on Win32.
    40 # The heap will grow if need be.
    41 #
    42 # Set it to 256k.  See bug 127069.
    43 if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
    44     LDFLAGS += ['/HEAP:0x40000']
    46 if CONFIG['OS_ARCH'] == 'WINNT':
    47     RCINCLUDE = 'splash.rc'
    49 DISABLE_STL_WRAPPING = True

mercurial