toolkit/system/gnome/moz.build
author Iris Hsiao <ihsiao@mozilla.com>
Thu, 06 Apr 2017 10:35:56 +0800
changeset 351425 7fbe40fa54dfcd23ec8cac8b0f06fe82c9772d9b
parent 351422 c859506b2e4eda3da6c4866f8dc5ab10dff200bc
child 351663 91f503f8385118a6f37e2c639a17c43a143e741d
permissions -rw-r--r--
Backed out 3 changesets (bug 1344038) for bustage Backed out changeset 4befea89d81b (bug 1344038) Backed out changeset c859506b2e4e (bug 1344038) Backed out changeset 5d28a6382285 (bug 1344038)

# -*- Mode: python; 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 += [
    'nsAlertsIconListener.cpp',
    'nsGnomeModule.cpp',
    'nsSystemAlertsService.cpp',
]

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

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

FINAL_LIBRARY = 'xul'

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

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

if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
    CXXFLAGS += CONFIG['TK_CFLAGS']