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/.
9 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
10 # This is going to be a framework named "XUL", not an ordinary library named
12 SHARED_LIBRARY_NAME = 'XUL'
15 SHARED_LIBRARY_NAME = 'xul'
16 FORCE_SHARED_LIB = True
30 if CONFIG['MOZ_METRO']:
32 'API-MS-WIN-CORE-WINRT-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL',
33 'API-MS-WIN-CORE-WINRT-STRING-L' + CONFIG['CRTEXPDLLVERSION'] + '.DLL',
34 'uiautomationcore.dll'
37 if CONFIG['ACCESSIBILITY']:
38 DELAYLOAD_DLLS += ['oleacc.dll']
40 if CONFIG['MOZ_WEBRTC']:
41 DELAYLOAD_DLLS += ['msdmo.dll']
43 if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
48 # config/version.mk says $(srcdir)/$(RCINCLUDE), and this needs to
49 # be valid in both toolkit/library and toolkit/library/gtest.
50 # Eventually, the make backend would do its own path canonicalization
51 # and config/version.mk would lift the $(srcdir)
52 RCINCLUDE = '$(DEPTH)/toolkit/library/xulrunner.rc'