2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-12-18 23:15:45 +04:00
|
|
|
# This cannot be named "build" because of bug 922191.
|
|
|
|
SPHINX_TREES['buildsystem'] = 'docs'
|
2013-11-21 00:37:22 +04:00
|
|
|
|
2014-02-11 02:57:01 +04:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2013-02-26 00:47:18 +04:00
|
|
|
DIRS += ['win32']
|
2014-02-11 02:57:01 +04:00
|
|
|
else:
|
|
|
|
DIRS += ['unix']
|
2013-02-26 00:47:18 +04:00
|
|
|
|
2013-07-15 13:48:39 +04:00
|
|
|
if CONFIG['OS_TARGET'] == 'Android' and not CONFIG['MOZ_ANDROID_LIBSTDCXX']:
|
2013-02-26 00:47:18 +04:00
|
|
|
DIRS += ['stlport']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
2013-10-10 04:05:37 +04:00
|
|
|
DIRS += ['annotationProcessors']
|
2013-02-26 00:47:18 +04:00
|
|
|
TEST_DIRS += [
|
|
|
|
'mobile/sutagent/android',
|
|
|
|
'mobile/sutagent/android/watcher',
|
|
|
|
'mobile/sutagent/android/ffxcp',
|
|
|
|
'mobile/sutagent/android/fencp',
|
|
|
|
'mobile/robocop',
|
|
|
|
]
|
|
|
|
|
2013-11-27 17:55:07 +04:00
|
|
|
for var in ('GRE_MILESTONE', 'MOZ_APP_VERSION', 'MOZ_APP_BASENAME',
|
|
|
|
'MOZ_APP_VENDOR', 'MOZ_APP_ID', 'MAR_CHANNEL_ID',
|
|
|
|
'ACCEPTED_MAR_CHANNEL_IDS'):
|
|
|
|
DEFINES[var] = CONFIG[var]
|
|
|
|
|
2014-02-20 13:42:28 +04:00
|
|
|
if CONFIG['MOZ_APP_DISPLAYNAME'] != CONFIG['MOZ_APP_BASENAME']:
|
|
|
|
DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME']
|
|
|
|
|
2013-11-27 17:55:07 +04:00
|
|
|
if CONFIG['MOZ_BUILD_APP'] == 'browser':
|
|
|
|
DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True
|
|
|
|
|
|
|
|
if CONFIG['MOZ_APP_PROFILE']:
|
|
|
|
DEFINES['MOZ_APP_PROFILE'] = CONFIG['MOZ_APP_PROFILE']
|
|
|
|
|
|
|
|
for var in ('MOZ_CRASHREPORTER', 'MOZ_PROFILE_MIGRATOR',
|
|
|
|
'MOZ_EXTENSION_MANAGER', 'MOZ_APP_STATIC_INI'):
|
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = True
|
|
|
|
|