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'] not in ('WINNT', 'OS2'):
12 elif CONFIG['OS_ARCH'] == 'WINNT':
15 if CONFIG['OS_TARGET'] == 'Android' and not CONFIG['MOZ_ANDROID_LIBSTDCXX']:
18 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
19 DIRS += ['annotationProcessors']
21 'mobile/sutagent/android',
22 'mobile/sutagent/android/watcher',
23 'mobile/sutagent/android/ffxcp',
24 'mobile/sutagent/android/fencp',
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_BUILD_APP'] == 'browser':
34 DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True
36 if CONFIG['MOZ_APP_PROFILE']:
37 DEFINES['MOZ_APP_PROFILE'] = CONFIG['MOZ_APP_PROFILE']
39 for var in ('MOZ_CRASHREPORTER', 'MOZ_PROFILE_MIGRATOR',
40 'MOZ_EXTENSION_MANAGER', 'MOZ_APP_STATIC_INI'):