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.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 DIRS += ['profile']
michael@0 8
michael@0 9 PROGRAM = 'xulrunner'
michael@0 10
michael@0 11 SOURCES += [
michael@0 12 'nsXULRunnerApp.cpp',
michael@0 13 ]
michael@0 14
michael@0 15 DEFINES['XULRUNNER_PROGNAME'] = '"xulrunner"'
michael@0 16 DEFINES['XPCOM_GLUE'] = True
michael@0 17 if CONFIG['DEBUG']:
michael@0 18 DEFINES['DEBUG'] = True
michael@0 19
michael@0 20 if CONFIG['TARGET_XPCOM_ABI']:
michael@0 21 DEFINES['TARGET_XPCOM_ABI'] = '"%s"' % CONFIG['TARGET_XPCOM_ABI']
michael@0 22
michael@0 23 LOCAL_INCLUDES += [
michael@0 24 '/toolkit/profile',
michael@0 25 '/toolkit/xre',
michael@0 26 '/xpcom/base',
michael@0 27 '/xpcom/build',
michael@0 28 ]
michael@0 29
michael@0 30 if CONFIG['_MSC_VER']:
michael@0 31 # Always enter a Windows program through wmain, whether or not we're
michael@0 32 # a console application.
michael@0 33 WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
michael@0 34
michael@0 35 # Control the default heap size.
michael@0 36 # This is the heap returned by GetProcessHeap().
michael@0 37 # As we use the CRT heap, the default size is too large and wastes VM.
michael@0 38 #
michael@0 39 # The default heap size is 1MB on Win32.
michael@0 40 # The heap will grow if need be.
michael@0 41 #
michael@0 42 # Set it to 256k. See bug 127069.
michael@0 43 if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
michael@0 44 LDFLAGS += ['/HEAP:0x40000']
michael@0 45
michael@0 46 if CONFIG['OS_ARCH'] == 'WINNT':
michael@0 47 RCINCLUDE = 'splash.rc'
michael@0 48
michael@0 49 DISABLE_STL_WRAPPING = True

mercurial