toolkit/library/libxul.mozbuild
author Ben Tian <btian@mozilla.com>
Mon, 16 Jun 2014 16:47:11 +0800
changeset 211107 097125a96d846a085d7cbf6b017c133eb4a88a19
parent 196634 3f31b2d41649a3530ee255cfb85a1db5252cb014
child 218534 9565dc1c02c6a4917f1d8f68ba42654f4ee588c9
permissions -rw-r--r--
Bug 1020736 - Wrap adapter's new properties for BluetoothManager::GetAdapters call in BluetoothServiceBluedroid, r=echou

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

MSVC_ENABLE_PGO = True

FORCE_SHARED_LIB = True

DELAYLOAD_DLLS += [
    'comdlg32.dll',
    'dbghelp.dll',
    'psapi.dll',
    'rasapi32.dll',
    'rasdlg.dll',
    'secur32.dll',
    'wininet.dll',
    'winspool.drv'
]

if CONFIG['MOZ_METRO']:
    DELAYLOAD_DLLS += [
        'API-MS-WIN-CORE-WINRT-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL',
        'API-MS-WIN-CORE-WINRT-STRING-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL',
        'uiautomationcore.dll'
    ]

if CONFIG['ACCESSIBILITY']:
    DELAYLOAD_DLLS += ['oleacc.dll']

if CONFIG['MOZ_WEBRTC']:
    DELAYLOAD_DLLS += ['msdmo.dll']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    LDFLAGS += [
        '-framework OpenGL',
        '-framework SystemConfiguration',
        '-framework QTKit',
        '-framework IOKit',
        '-F%s' % CONFIG['MACOS_PRIVATE_FRAMEWORKS_DIR'],
        '-framework CoreUI',
    ]

if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
    LOCAL_INCLUDES += [
        '/widget/windows',
        '/xpcom/base',
    ]
    # This file is (only) included from subdirectories, and the file is here.
    RCINCLUDE = '../xulrunner.rc'