mobile/android/app/moz.build

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 if not CONFIG['LIBXUL_SDK']:
michael@0 8 if CONFIG['OS_TARGET'] != 'Android':
michael@0 9 PROGRAM = CONFIG['MOZ_APP_NAME']
michael@0 10 DEFINES['XPCOM_GLUE'] = True
michael@0 11 GENERATED_INCLUDES += ['/build']
michael@0 12 LOCAL_INCLUDES += [
michael@0 13 '/toolkit/xre',
michael@0 14 '/xpcom/base',
michael@0 15 '/xpcom/build',
michael@0 16 ]
michael@0 17 DISABLE_STL_WRAPPING = True
michael@0 18
michael@0 19 for var in ('APP_NAME', 'APP_VERSION'):
michael@0 20 DEFINES[var] = CONFIG['MOZ_%s' % var]
michael@0 21
michael@0 22 for var in ('MOZ_UPDATER', 'MOZ_APP_UA_NAME'):
michael@0 23 DEFINES[var] = CONFIG[var]
michael@0 24
michael@0 25 if CONFIG['MOZ_PKG_SPECIAL']:
michael@0 26 DEFINES['MOZ_PKG_SPECIAL'] = CONFIG['MOZ_PKG_SPECIAL']

mercurial