1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/embedding/tests/winEmbed/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 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 = 'winEmbed' 1.11 + 1.12 +SOURCES += [ 1.13 + 'WebBrowserChrome.cpp', 1.14 + 'WindowCreator.cpp', 1.15 + 'winEmbed.cpp', 1.16 +] 1.17 + 1.18 +XPI_NAME = 'winembed' 1.19 + 1.20 +DEFINES['XPCOM_GLUE'] = True 1.21 + 1.22 +RESFILE = 'winEmbed.res' 1.23 + 1.24 +if CONFIG['GNU_CC']: 1.25 + # Get rid of console window 1.26 + LDFLAGS += ['-mwindows'] 1.27 +else: 1.28 + # Control the default heap size. 1.29 + # This is the heap returned by GetProcessHeap(). 1.30 + # As we use the CRT heap, the default size is too large and wastes VM. 1.31 + # 1.32 + # The default heap size is 1MB on Win32. 1.33 + # The heap will grow if need be. 1.34 + # 1.35 + # Set it to 256k. See bug 127069. 1.36 + LDFLAGS += ['/HEAP:0x40000'] 1.37 + 1.38 +DISABLE_STL_WRAPPING = True