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: if not CONFIG['LIBXUL_SDK']: michael@0: if CONFIG['OS_TARGET'] != 'Android': michael@0: PROGRAM = CONFIG['MOZ_APP_NAME'] michael@0: DEFINES['XPCOM_GLUE'] = True michael@0: GENERATED_INCLUDES += ['/build'] michael@0: LOCAL_INCLUDES += [ michael@0: '/toolkit/xre', michael@0: '/xpcom/base', michael@0: '/xpcom/build', michael@0: ] michael@0: DISABLE_STL_WRAPPING = True michael@0: michael@0: for var in ('APP_NAME', 'APP_VERSION'): michael@0: DEFINES[var] = CONFIG['MOZ_%s' % var] michael@0: michael@0: for var in ('MOZ_UPDATER', 'MOZ_APP_UA_NAME'): michael@0: DEFINES[var] = CONFIG[var] michael@0: michael@0: if CONFIG['MOZ_PKG_SPECIAL']: michael@0: DEFINES['MOZ_PKG_SPECIAL'] = CONFIG['MOZ_PKG_SPECIAL']