toolkit/mozapps/update/moz.build

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:8f97142017fb
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/.
6
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']
16
17 if CONFIG['MOZ_UPDATER']:
18 DIRS += ['updater']
19
20 XPIDL_MODULE = 'update'
21
22 XPCSHELL_TESTS_MANIFESTS += ['tests/unit_timermanager/xpcshell.ini']
23
24 XPIDL_SOURCES += [
25 'nsIUpdateTimerManager.idl',
26 ]
27
28 EXTRA_COMPONENTS += [
29 'nsUpdateTimerManager.js',
30 'nsUpdateTimerManager.manifest',
31 ]
32
33 if CONFIG['MOZ_UPDATER']:
34 TEST_DIRS += ['tests']
35
36 XPIDL_SOURCES += [
37 'nsIUpdateService.idl',
38 ]
39
40 EXTRA_COMPONENTS += [
41 'nsUpdateService.manifest',
42 ]
43
44 EXTRA_PP_COMPONENTS += [
45 'nsUpdateService.js',
46 'nsUpdateServiceStub.js',
47 ]
48
49 JAR_MANIFESTS += ['jar.mn']

mercurial