michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # This cannot be named "build" because of bug 922191. michael@0: SPHINX_TREES['buildsystem'] = 'docs' michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: DIRS += ['win32'] michael@0: else: michael@0: DIRS += ['unix'] michael@0: michael@0: if CONFIG['OS_TARGET'] == 'Android' and not CONFIG['MOZ_ANDROID_LIBSTDCXX']: michael@0: DIRS += ['stlport'] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': michael@0: DIRS += ['annotationProcessors'] michael@0: TEST_DIRS += [ michael@0: 'mobile/sutagent/android', michael@0: 'mobile/sutagent/android/watcher', michael@0: 'mobile/sutagent/android/ffxcp', michael@0: 'mobile/sutagent/android/fencp', michael@0: 'mobile/robocop', michael@0: ] michael@0: michael@0: for var in ('GRE_MILESTONE', 'MOZ_APP_VERSION', 'MOZ_APP_BASENAME', michael@0: 'MOZ_APP_VENDOR', 'MOZ_APP_ID', 'MAR_CHANNEL_ID', michael@0: 'ACCEPTED_MAR_CHANNEL_IDS'): michael@0: DEFINES[var] = CONFIG[var] michael@0: michael@0: if CONFIG['MOZ_APP_DISPLAYNAME'] != CONFIG['MOZ_APP_BASENAME']: michael@0: DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME'] michael@0: michael@0: if CONFIG['MOZ_BUILD_APP'] == 'browser': michael@0: DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True michael@0: michael@0: if CONFIG['MOZ_APP_PROFILE']: michael@0: DEFINES['MOZ_APP_PROFILE'] = CONFIG['MOZ_APP_PROFILE'] michael@0: michael@0: for var in ('MOZ_CRASHREPORTER', 'MOZ_PROFILE_MIGRATOR', michael@0: 'MOZ_EXTENSION_MANAGER', 'MOZ_APP_STATIC_INI'): michael@0: if CONFIG[var]: michael@0: DEFINES[var] = True michael@0: