2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04: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/.
|
|
|
|
|
2017-02-06 17:45:55 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Toolkit", "Notifications and Alerts")
|
|
|
|
|
2013-10-03 05:27:53 +04:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'NotificationStorage.js',
|
|
|
|
'NotificationStorage.manifest',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'NotificationDB.jsm'
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'DesktopNotification.h',
|
2013-05-03 20:54:45 +04:00
|
|
|
'Notification.h',
|
2015-06-26 04:50:25 +03:00
|
|
|
'NotificationEvent.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-11-26 20:38:52 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'DesktopNotification.cpp',
|
|
|
|
'Notification.cpp',
|
2015-06-26 04:50:25 +03:00
|
|
|
'NotificationEvent.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/ipc',
|
2015-06-26 04:53:02 +03:00
|
|
|
'/dom/workers',
|
2013-11-11 12:04:11 +04:00
|
|
|
]
|
|
|
|
|
2016-04-20 23:48:36 +03:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
|
2014-04-28 10:55:00 +04:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
|
2016-05-11 10:00:01 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|