webapprt/win/moz.build

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

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 PROGRAM = 'webapprt-stub'
michael@0 8
michael@0 9 SOURCES += [
michael@0 10 'webapprt.cpp',
michael@0 11 ]
michael@0 12
michael@0 13 DEFINES['XPCOM_GLUE'] = True
michael@0 14 if CONFIG['DEBUG']:
michael@0 15 DEFINES['DEBUG'] = True
michael@0 16
michael@0 17 # Statically link against the CRT
michael@0 18 USE_STATIC_LIBS = True
michael@0 19
michael@0 20 GENERATED_INCLUDES += ['/build']
michael@0 21 LOCAL_INCLUDES += [
michael@0 22 '/toolkit/xre',
michael@0 23 '/xpcom/base',
michael@0 24 '/xpcom/build',
michael@0 25 ]
michael@0 26
michael@0 27 if CONFIG['_MSC_VER']:
michael@0 28 # Always enter a Windows program through wmain, whether or not we're
michael@0 29 # a console application.
michael@0 30 WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
michael@0 31
michael@0 32 # Control the default heap size.
michael@0 33 # This is the heap returned by GetProcessHeap().
michael@0 34 # As we use the CRT heap, the default size is too large and wastes VM.
michael@0 35 #
michael@0 36 # The default heap size is 1MB on Win32.
michael@0 37 # The heap will grow if need be.
michael@0 38 #
michael@0 39 # Set it to 256k. See bug 127069.
michael@0 40 if not CONFIG['GNU_CC']:
michael@0 41 LDFLAGS += ['/HEAP:0x40000']
michael@0 42
michael@0 43 RCINCLUDE = 'webapprt.rc'
michael@0 44
michael@0 45 DISABLE_STL_WRAPPING = True

mercurial