toolkit/library/libxul.mozbuild

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 MSVC_ENABLE_PGO = True
     9 FORCE_SHARED_LIB = True
    11 DELAYLOAD_DLLS += [
    12     'comdlg32.dll',
    13     'dbghelp.dll',
    14     'psapi.dll',
    15     'rasapi32.dll',
    16     'rasdlg.dll',
    17     'secur32.dll',
    18     'wininet.dll',
    19     'winspool.drv'
    20 ]
    22 if CONFIG['MOZ_METRO']:
    23     DELAYLOAD_DLLS += [
    24         'API-MS-WIN-CORE-WINRT-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL',
    25         'API-MS-WIN-CORE-WINRT-STRING-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL',
    26         'uiautomationcore.dll'
    27     ]
    29 if CONFIG['ACCESSIBILITY']:
    30     DELAYLOAD_DLLS += ['oleacc.dll']
    32 if CONFIG['MOZ_WEBRTC']:
    33     DELAYLOAD_DLLS += ['msdmo.dll']
    35 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    36     LDFLAGS += [
    37         '-framework OpenGL',
    38         '-framework SystemConfiguration',
    39         '-framework QTKit',
    40         '-framework IOKit',
    41         '-F%s' % CONFIG['MACOS_PRIVATE_FRAMEWORKS_DIR'],
    42         '-framework CoreUI',
    43     ]
    45 if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
    46     LOCAL_INCLUDES += [
    47         '/widget/windows',
    48         '/xpcom/base',
    49     ]
    50     # This file is (only) included from subdirectories, and the file is here.
    51     RCINCLUDE = '../xulrunner.rc'

mercurial