webapprt/win/moz.build

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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

mercurial