mozglue/build/moz.build
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Wed, 21 Jan 2015 04:34:57 -0800
changeset 251999 ea4d2b8a3ea7539929427b70dfb83297211ae9dc
parent 246138 0163b91e747830b320186b7cd21152397f80c0ec
child 260696 cf2a5c5edfdf306d05937765acf7a4be002c9bf4
permissions -rw-r--r--
Bumping gaia.json for 6 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/43498e12a533 Author: autolander <bug.autolander@gmail.com> Desc: Bug 1120704 - merge pull request #27531 from etiennesegonzac:bug-1120704 to mozilla-b2g:master ======== https://hg.mozilla.org/integration/gaia-central/rev/e3b6cfa41030 Author: Etienne Segonzac <etienne@segonzac.info> Desc: Bug 1120704 - No longer "freeze" the iframe sizing for background apps on orientation change. r=alive This was originally done to prevent reflows but it's not. So the added complexity isn't worth it. ======== https://hg.mozilla.org/integration/gaia-central/rev/406533ce97f7 Author: George <georgeiscoming@gmail.com> Desc: Merge pull request #27449 from cctuan/1119723 Bug 1119723 - [Flame][Homescreen]A partial facebook view overlaps on the top left corner of home screen ======== https://hg.mozilla.org/integration/gaia-central/rev/dadb29e5156f Author: cctuan <georgeiscoming@gmail.com> Desc: Bug 1119723 - [Flame][Homescreen]A partial facebook view overlaps on the top left corner of home screen. ======== https://hg.mozilla.org/integration/gaia-central/rev/b3274c0b96ec Author: steveck-chung <schung@mozilla.com> Desc: Merge pull request #27225 from steveck-chung/message-reduce-flashing-taskrunner Bug 1091441 - [Messages] the thread view is flashing while loading if there are MMS, r=azasypkin ======== https://hg.mozilla.org/integration/gaia-central/rev/179d21a7a12e Author: Steve Chung <schung@mozilla.com> Desc: Bug 1091441 - [Messages] the thread view is flashing while loading if there are MMS. r=azasypkin

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Build mozglue as a shared lib on Windows, OSX and Android.
# If this is ever changed, update MOZ_SHARED_MOZGLUE in browser/installer/Makefile.in
if CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android'):
    SharedLibrary('mozglue')
else:
    Library('mozglue')

SDK_LIBRARY = True

if CONFIG['MOZ_MEMORY'] and (CONFIG['MOZ_NATIVE_JEMALLOC'] or FORCE_SHARED_LIB):
    pass
    # TODO: SHARED_LIBRARY_LIBS go here
else:
    # Temporary, until bug 662814 lands
    NO_VISIBILITY_FLAGS = True
    SOURCES += [
        'dummy.cpp',
    ]

if CONFIG['OS_TARGET'] == 'Android':
    SOURCES += [
        'BionicGlue.cpp',
    ]

if CONFIG['OS_TARGET'] == 'WINNT':
    SOURCES += [
        'WindowsDllBlocklist.cpp',
    ]
    DEFFILE = 'mozglue.def'
    DISABLE_STL_WRAPPING = True
    OS_LIBS += [
        'version',
    ]

if CONFIG['MOZ_NUWA_PROCESS']:
    EXPORTS.ipc += [
        'Nuwa.h',
    ]
    SOURCES += [
        'Nuwa.cpp',
    ]

EXPORTS.mozilla += [
    'arm.h',
    'SSE.h',
    'WindowsDllBlocklist.h',
]

if CONFIG['CPU_ARCH'].startswith('x86'):
    SOURCES += [
        'SSE.cpp',
    ]

if CONFIG['CPU_ARCH'] == 'arm':
    SOURCES += [
        'arm.cpp',
    ]

if CONFIG['MOZ_ASAN']:
    SOURCES += [
        'AsanOptions.cpp',
    ]


USE_LIBS += [
    'mfbt',
]

if CONFIG['MOZ_LINKER']:
    USE_LIBS += [
        'zlib',
    ]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    SOURCES += [
        'cpuacct.c',
    ]

DEFINES['IMPL_MFBT'] = True

LDFLAGS += CONFIG['MOZ_GLUE_WRAP_LDFLAGS']

if not CONFIG['_MSC_VER']:
    FAIL_ON_WARNINGS = True