mozglue/build/moz.build
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Thu, 03 Jul 2014 01:25:25 -0700
changeset 205896 8c6d2ef269cd87cb34d6a46ca2fd9490712a8033
parent 182898 7d223c2e7fa9fe18c4380679df63cc9db41a63bc
child 209962 9565dc1c02c6a4917f1d8f68ba42654f4ee588c9
permissions -rw-r--r--
Bumping gaia.json for 4 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/f98cc089db06 Author: Jose M. Cantera <jmcanterafonseca@gmail.com> Desc: Merge pull request #20613 from jmcanterafonseca/contacts_Data Bug 989929 - [Contacts][Refactor] Create Contacts indexed DB library to ... ======== https://hg.mozilla.org/integration/gaia-central/rev/5e71e90bb54f Author: José Manuel Cantera <jmcanterafonseca@gmail.com> Desc: Bug 989929 - [Contacts][Refactor] Create Contacts indexed DB library to support synchronization from the Global Contacts Datastore ======== https://hg.mozilla.org/integration/gaia-central/rev/7fb5ac42a379 Author: Greg Weng <snowmantw@gmail.com> Desc: Merge pull request #21317 from snowmantw/issue1033135 Bug 1033135 - [System] Hide SIM pin dialog if the screen unlock into Cam... ======== https://hg.mozilla.org/integration/gaia-central/rev/487e7faa8395 Author: Greg Weng <snowmantw@gmail.com> Desc: Bug 1033135 - [System] Hide SIM pin dialog if the screen unlock into Camera app

# -*- 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'):
    FORCE_SHARED_LIB = True
else:
    FORCE_SHARED_LIB = False
    FORCE_STATIC_LIB = 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

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',
    ]


LIBRARY_NAME = 'mozglue'

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

DEFINES['IMPL_MFBT'] = True