b2g/app/moz.build

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

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

mercurial