toolkit/system/gnome/moz.build
author Bill McCloskey <wmccloskey@mozilla.com>
Sat, 13 Sep 2014 11:20:16 -0700
changeset 205207 161056025760f1b74506953da9c8df17b5c18676
parent 201231 62b9f6d4328bb3609e731c694aabf9ad2ba9406d
child 215844 616a7e93b73e4f3522f8308c6d3137b8172ebf1e
permissions -rw-r--r--
Bug 1047076 - Disable e10s on Nightly if Accessibility is enabled (r=felipe)

# -*- 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/.

SOURCES += [
    'nsGnomeModule.cpp',
]

if CONFIG['MOZ_ENABLE_GCONF']:
    SOURCES += [
        'nsGConfService.cpp',
    ]

if CONFIG['MOZ_ENABLE_GNOMEVFS']:
    SOURCES += [
        'nsGnomeVFSService.cpp',
    ]

if CONFIG['MOZ_ENABLE_GIO']:
    SOURCES += [
        'nsGIOService.cpp',
        'nsGSettingsService.cpp',
    ]

XPCOMBinaryComponent('mozgnome')

FAIL_ON_WARNINGS = True

LOCAL_INCLUDES += [
    '/toolkit/components/build/',
]

CXXFLAGS += CONFIG['MOZ_GCONF_CFLAGS']
CXXFLAGS += CONFIG['MOZ_GNOMEVFS_CFLAGS']
CXXFLAGS += CONFIG['MOZ_GIO_CFLAGS']
CXXFLAGS += CONFIG['GLIB_CFLAGS']
CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']

if CONFIG['MOZ_ENABLE_GTK']:
    CXXFLAGS += CONFIG['TK_CFLAGS']

OS_LIBS += CONFIG['MOZ_GCONF_LIBS']
OS_LIBS += CONFIG['MOZ_GNOMEVFS_LIBS']
OS_LIBS += CONFIG['GLIB_LIBS']
OS_LIBS += CONFIG['MOZ_GIO_LIBS']
OS_LIBS += CONFIG['MOZ_DBUS_GLIB_LIBS']