1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/shell/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 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 +if CONFIG['OS_ARCH'] == 'WINNT': 1.11 + SOURCES += [ 1.12 + 'nsWindowsShellService.cpp', 1.13 + ] 1.14 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.15 + SOURCES += [ 1.16 + 'nsMacShellService.cpp', 1.17 + ] 1.18 +elif CONFIG['MOZ_WIDGET_GTK']: 1.19 + SOURCES += [ 1.20 + 'nsGNOMEShellService.cpp', 1.21 + ] 1.22 + 1.23 +if SOURCES: 1.24 + FINAL_LIBRARY = 'browsercomps' 1.25 + 1.26 +EXTRA_COMPONENTS += [ 1.27 + 'nsSetDefaultBrowser.js', 1.28 + 'nsSetDefaultBrowser.manifest', 1.29 +] 1.30 + 1.31 +for var in ('MOZ_APP_NAME', 'MOZ_APP_VERSION'): 1.32 + DEFINES[var] = '"%s"' % CONFIG[var]