browser/app/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

     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 DIRS += ['profile/extensions']
     9 PROGRAM = CONFIG['MOZ_APP_NAME']
    11 SOURCES += [
    12     'nsBrowserApp.cpp',
    13 ]
    15 DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
    17 for var in ('MOZILLA_OFFICIAL', 'LIBXUL_SDK'):
    18     if CONFIG[var]:
    19         DEFINES[var] = True
    21 DEFINES['XPCOM_GLUE'] = True
    23 GENERATED_INCLUDES += [
    24     '/build',
    25 ]
    27 LOCAL_INCLUDES += [
    28     '/toolkit/xre',
    29     '/xpcom/base',
    30     '/xpcom/build',
    31 ]
    33 if CONFIG['_MSC_VER']:
    34     # Always enter a Windows program through wmain, whether or not we're
    35     # a console application.
    36     WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
    38 if CONFIG['OS_ARCH'] == 'WINNT':
    39     RCINCLUDE = 'splash.rc'
    40     DEFINES['MOZ_PHOENIX'] = True
    42 # Control the default heap size.
    43 # This is the heap returned by GetProcessHeap().
    44 # As we use the CRT heap, the default size is too large and wastes VM.
    45 #
    46 # The default heap size is 1MB on Win32.
    47 # The heap will grow if need be.
    48 #
    49 # Set it to 256k.  See bug 127069.
    50 if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
    51     LDFLAGS += ['/HEAP:0x40000']
    53 DISABLE_STL_WRAPPING = True

mercurial