michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: FORCE_SHARED_LIB = True michael@0: michael@0: DELAYLOAD_DLLS += [ michael@0: 'comdlg32.dll', michael@0: 'dbghelp.dll', michael@0: 'psapi.dll', michael@0: 'rasapi32.dll', michael@0: 'rasdlg.dll', michael@0: 'secur32.dll', michael@0: 'wininet.dll', michael@0: 'winspool.drv' michael@0: ] michael@0: michael@0: if CONFIG['MOZ_METRO']: michael@0: DELAYLOAD_DLLS += [ michael@0: 'API-MS-WIN-CORE-WINRT-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL', michael@0: 'API-MS-WIN-CORE-WINRT-STRING-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL', michael@0: 'uiautomationcore.dll' michael@0: ] michael@0: michael@0: if CONFIG['ACCESSIBILITY']: michael@0: DELAYLOAD_DLLS += ['oleacc.dll'] michael@0: michael@0: if CONFIG['MOZ_WEBRTC']: michael@0: DELAYLOAD_DLLS += ['msdmo.dll'] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': michael@0: LDFLAGS += [ michael@0: '-framework OpenGL', michael@0: '-framework SystemConfiguration', michael@0: '-framework QTKit', michael@0: '-framework IOKit', michael@0: '-F%s' % CONFIG['MACOS_PRIVATE_FRAMEWORKS_DIR'], michael@0: '-framework CoreUI', michael@0: ] michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']: michael@0: LOCAL_INCLUDES += [ michael@0: '/widget/windows', michael@0: '/xpcom/base', michael@0: ] michael@0: # This file is (only) included from subdirectories, and the file is here. michael@0: RCINCLUDE = '../xulrunner.rc'