1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/webapprt/win/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,45 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +PROGRAM = 'webapprt-stub' 1.11 + 1.12 +SOURCES += [ 1.13 + 'webapprt.cpp', 1.14 +] 1.15 + 1.16 +DEFINES['XPCOM_GLUE'] = True 1.17 +if CONFIG['DEBUG']: 1.18 + DEFINES['DEBUG'] = True 1.19 + 1.20 +# Statically link against the CRT 1.21 +USE_STATIC_LIBS = True 1.22 + 1.23 +GENERATED_INCLUDES += ['/build'] 1.24 +LOCAL_INCLUDES += [ 1.25 + '/toolkit/xre', 1.26 + '/xpcom/base', 1.27 + '/xpcom/build', 1.28 +] 1.29 + 1.30 +if CONFIG['_MSC_VER']: 1.31 + # Always enter a Windows program through wmain, whether or not we're 1.32 + # a console application. 1.33 + WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup'] 1.34 + 1.35 +# Control the default heap size. 1.36 +# This is the heap returned by GetProcessHeap(). 1.37 +# As we use the CRT heap, the default size is too large and wastes VM. 1.38 +# 1.39 +# The default heap size is 1MB on Win32. 1.40 +# The heap will grow if need be. 1.41 +# 1.42 +# Set it to 256k. See bug 127069. 1.43 +if not CONFIG['GNU_CC']: 1.44 + LDFLAGS += ['/HEAP:0x40000'] 1.45 + 1.46 +RCINCLUDE = 'webapprt.rc' 1.47 + 1.48 +DISABLE_STL_WRAPPING = True