Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android': |
michael@0 | 8 | if CONFIG['MOZ_UPDATER'] or CONFIG['MOZ_MAINTENANCE_SERVICE']: |
michael@0 | 9 | # If only the maintenance service is installed and not |
michael@0 | 10 | # the updater, then the maintenance service may still be |
michael@0 | 11 | # used for other things. We need to build update/common |
michael@0 | 12 | # which the maintenance service uses. |
michael@0 | 13 | DIRS += ['common'] |
michael@0 | 14 | if CONFIG['OS_ARCH'] == 'WINNT': |
michael@0 | 15 | DIRS += ['common-standalone'] |
michael@0 | 16 | |
michael@0 | 17 | if CONFIG['MOZ_UPDATER']: |
michael@0 | 18 | DIRS += ['updater'] |
michael@0 | 19 | |
michael@0 | 20 | XPIDL_MODULE = 'update' |
michael@0 | 21 | |
michael@0 | 22 | XPCSHELL_TESTS_MANIFESTS += ['tests/unit_timermanager/xpcshell.ini'] |
michael@0 | 23 | |
michael@0 | 24 | XPIDL_SOURCES += [ |
michael@0 | 25 | 'nsIUpdateTimerManager.idl', |
michael@0 | 26 | ] |
michael@0 | 27 | |
michael@0 | 28 | EXTRA_COMPONENTS += [ |
michael@0 | 29 | 'nsUpdateTimerManager.js', |
michael@0 | 30 | 'nsUpdateTimerManager.manifest', |
michael@0 | 31 | ] |
michael@0 | 32 | |
michael@0 | 33 | if CONFIG['MOZ_UPDATER']: |
michael@0 | 34 | TEST_DIRS += ['tests'] |
michael@0 | 35 | |
michael@0 | 36 | XPIDL_SOURCES += [ |
michael@0 | 37 | 'nsIUpdateService.idl', |
michael@0 | 38 | ] |
michael@0 | 39 | |
michael@0 | 40 | EXTRA_COMPONENTS += [ |
michael@0 | 41 | 'nsUpdateService.manifest', |
michael@0 | 42 | ] |
michael@0 | 43 | |
michael@0 | 44 | EXTRA_PP_COMPONENTS += [ |
michael@0 | 45 | 'nsUpdateService.js', |
michael@0 | 46 | 'nsUpdateServiceStub.js', |
michael@0 | 47 | ] |
michael@0 | 48 | |
michael@0 | 49 | JAR_MANIFESTS += ['jar.mn'] |