b2g/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['GAIADIR']:
     9         PROGRAM = CONFIG['MOZ_APP_NAME'] + "-bin"
    10     else:
    11         PROGRAM = CONFIG['MOZ_APP_NAME']
    12     SOURCES += [
    13         'nsBrowserApp.cpp',
    14     ]
    15     if CONFIG['_MSC_VER']:
    16         # Always enter a Windows program through wmain, whether or not we're
    17         # a console application.
    18         WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
    20 DEFINES['XPCOM_GLUE'] = True
    22 for var in ('MOZ_APP_NAME', 'MOZ_APP_VERSION', 'MOZ_UPDATER', 'MOZ_SERVICES_FXACCOUNTS'):
    23     DEFINES[var] = CONFIG[var]
    25 GENERATED_INCLUDES += [
    26     '/build',
    27 ]
    29 LOCAL_INCLUDES += [
    30     '/toolkit/xre',
    31     '/xpcom/base',
    32     '/xpcom/build',
    33 ]
    35 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    36     LOCAL_INCLUDES += [
    37         '/widget/gonk/libdisplay',
    38     ]
    40     LDFLAGS += ['-Wl,--export-dynamic']
    42 DISABLE_STL_WRAPPING = True

mercurial