toolkit/mozapps/update/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/.
     7 if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
     8     if CONFIG['MOZ_UPDATER'] or CONFIG['MOZ_MAINTENANCE_SERVICE']:
     9         # If only the maintenance service is installed and not
    10         # the updater, then the maintenance service may still be
    11         # used for other things.  We need to build update/common
    12         # which the maintenance service uses.
    13         DIRS += ['common']
    14         if CONFIG['OS_ARCH'] == 'WINNT':
    15             DIRS += ['common-standalone']
    17     if CONFIG['MOZ_UPDATER']:
    18         DIRS += ['updater']
    20 XPIDL_MODULE = 'update'
    22 XPCSHELL_TESTS_MANIFESTS += ['tests/unit_timermanager/xpcshell.ini']
    24 XPIDL_SOURCES += [
    25     'nsIUpdateTimerManager.idl',
    26 ]
    28 EXTRA_COMPONENTS += [
    29     'nsUpdateTimerManager.js',
    30     'nsUpdateTimerManager.manifest',
    31 ]
    33 if CONFIG['MOZ_UPDATER']:
    34     TEST_DIRS += ['tests']
    36     XPIDL_SOURCES += [
    37         'nsIUpdateService.idl',
    38     ]
    40     EXTRA_COMPONENTS += [
    41         'nsUpdateService.manifest',
    42     ]
    44     EXTRA_PP_COMPONENTS += [
    45         'nsUpdateService.js',
    46         'nsUpdateServiceStub.js',
    47     ]
    49 JAR_MANIFESTS += ['jar.mn']

mercurial