mobile/android/app/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 if not CONFIG['LIBXUL_SDK']:
     8     if CONFIG['OS_TARGET'] != 'Android':
     9         PROGRAM = CONFIG['MOZ_APP_NAME']
    10         DEFINES['XPCOM_GLUE'] = True
    11         GENERATED_INCLUDES += ['/build']
    12         LOCAL_INCLUDES += [
    13             '/toolkit/xre',
    14             '/xpcom/base',
    15             '/xpcom/build',
    16         ]
    17         DISABLE_STL_WRAPPING = True
    19 for var in ('APP_NAME', 'APP_VERSION'):
    20     DEFINES[var] = CONFIG['MOZ_%s' % var]
    22 for var in ('MOZ_UPDATER', 'MOZ_APP_UA_NAME'):
    23     DEFINES[var] = CONFIG[var]
    25 if CONFIG['MOZ_PKG_SPECIAL']:
    26     DEFINES['MOZ_PKG_SPECIAL'] = CONFIG['MOZ_PKG_SPECIAL']

mercurial