2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:19:09 +00:00
|
|
|
# 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/.
|
|
|
|
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2014-11-14 03:04:00 +00:00
|
|
|
'nsAlertsIconListener.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsGnomeModule.cpp',
|
2014-11-14 03:04:00 +00:00
|
|
|
'nsSystemAlertsService.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_GCONF']:
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsGConfService.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_GIO']:
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsGIOService.cpp',
|
|
|
|
'nsGSettingsService.cpp',
|
2015-02-17 04:59:00 +00:00
|
|
|
'nsPackageKitService.cpp'
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-06-17 19:21:01 +00:00
|
|
|
|
2014-08-24 00:11:05 +00:00
|
|
|
XPCOMBinaryComponent('mozgnome')
|
2013-06-17 19:21:01 +00:00
|
|
|
|
2014-02-15 20:24:59 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/toolkit/components/build/',
|
|
|
|
]
|
|
|
|
|
2014-07-24 15:55:33 +00:00
|
|
|
CXXFLAGS += CONFIG['MOZ_GCONF_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']
|
2014-08-05 22:25:33 +00:00
|
|
|
|
|
|
|
OS_LIBS += CONFIG['MOZ_GCONF_LIBS']
|
|
|
|
OS_LIBS += CONFIG['GLIB_LIBS']
|
|
|
|
OS_LIBS += CONFIG['MOZ_GIO_LIBS']
|
|
|
|
OS_LIBS += CONFIG['MOZ_DBUS_GLIB_LIBS']
|
2015-09-23 04:39:03 +00:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wshadow']
|