1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/library/libxul.mozbuild Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,51 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +MSVC_ENABLE_PGO = True 1.11 + 1.12 +FORCE_SHARED_LIB = True 1.13 + 1.14 +DELAYLOAD_DLLS += [ 1.15 + 'comdlg32.dll', 1.16 + 'dbghelp.dll', 1.17 + 'psapi.dll', 1.18 + 'rasapi32.dll', 1.19 + 'rasdlg.dll', 1.20 + 'secur32.dll', 1.21 + 'wininet.dll', 1.22 + 'winspool.drv' 1.23 +] 1.24 + 1.25 +if CONFIG['MOZ_METRO']: 1.26 + DELAYLOAD_DLLS += [ 1.27 + 'API-MS-WIN-CORE-WINRT-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL', 1.28 + 'API-MS-WIN-CORE-WINRT-STRING-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL', 1.29 + 'uiautomationcore.dll' 1.30 + ] 1.31 + 1.32 +if CONFIG['ACCESSIBILITY']: 1.33 + DELAYLOAD_DLLS += ['oleacc.dll'] 1.34 + 1.35 +if CONFIG['MOZ_WEBRTC']: 1.36 + DELAYLOAD_DLLS += ['msdmo.dll'] 1.37 + 1.38 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.39 + LDFLAGS += [ 1.40 + '-framework OpenGL', 1.41 + '-framework SystemConfiguration', 1.42 + '-framework QTKit', 1.43 + '-framework IOKit', 1.44 + '-F%s' % CONFIG['MACOS_PRIVATE_FRAMEWORKS_DIR'], 1.45 + '-framework CoreUI', 1.46 + ] 1.47 + 1.48 +if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']: 1.49 + LOCAL_INCLUDES += [ 1.50 + '/widget/windows', 1.51 + '/xpcom/base', 1.52 + ] 1.53 + # This file is (only) included from subdirectories, and the file is here. 1.54 + RCINCLUDE = '../xulrunner.rc'