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.
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 # This cannot be named "build" because of bug 922191.
8 SPHINX_TREES['buildsystem'] = 'docs'
10 if CONFIG['OS_ARCH'] == 'WINNT':
11 DIRS += ['win32']
12 else:
13 DIRS += ['unix']
15 if CONFIG['OS_TARGET'] == 'Android' and not CONFIG['MOZ_ANDROID_LIBSTDCXX']:
16 DIRS += ['stlport']
18 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
19 DIRS += ['annotationProcessors']
20 TEST_DIRS += [
21 'mobile/sutagent/android',
22 'mobile/sutagent/android/watcher',
23 'mobile/sutagent/android/ffxcp',
24 'mobile/sutagent/android/fencp',
25 'mobile/robocop',
26 ]
28 for var in ('GRE_MILESTONE', 'MOZ_APP_VERSION', 'MOZ_APP_BASENAME',
29 'MOZ_APP_VENDOR', 'MOZ_APP_ID', 'MAR_CHANNEL_ID',
30 'ACCEPTED_MAR_CHANNEL_IDS'):
31 DEFINES[var] = CONFIG[var]
33 if CONFIG['MOZ_APP_DISPLAYNAME'] != CONFIG['MOZ_APP_BASENAME']:
34 DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME']
36 if CONFIG['MOZ_BUILD_APP'] == 'browser':
37 DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True
39 if CONFIG['MOZ_APP_PROFILE']:
40 DEFINES['MOZ_APP_PROFILE'] = CONFIG['MOZ_APP_PROFILE']
42 for var in ('MOZ_CRASHREPORTER', 'MOZ_PROFILE_MIGRATOR',
43 'MOZ_EXTENSION_MANAGER', 'MOZ_APP_STATIC_INI'):
44 if CONFIG[var]:
45 DEFINES[var] = True