browser/components/shell/src/moz.build
author Joshua Cranmer <Pidgeot18@gmail.com>
Mon, 21 Oct 2013 13:08:00 -0500
changeset 165412 fb42a764f90bc91a628e472889e00b27b28b55ed
parent 147250 d57032f0b27761d3495b29dbda57c1da36ac1054
child 165850 5dd08c88e328c4b821f5880340d15eaff8b3f92b
permissions -rw-r--r--
Bug 900526, part 2: Move backend.mk inclusion to config.mk instead of rules.mk, r=gps

# -*- 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/.

MODULE = 'shellservice'

if CONFIG['OS_ARCH'] == 'WINNT':
    CPP_SOURCES += [
        'nsWindowsShellService.cpp',
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    CPP_SOURCES += [
        'nsMacShellService.cpp',
    ]
elif CONFIG['MOZ_WIDGET_GTK']:
    CPP_SOURCES += [
        'nsGNOMEShellService.cpp',
    ]

if CPP_SOURCES:
    LIBRARY_NAME = 'shellservice_s'

EXTRA_COMPONENTS += [
    'nsSetDefaultBrowser.js',
    'nsSetDefaultBrowser.manifest',
]