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")
|
|
|
|
|
2019-01-30 22:27:51 +03:00
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
"NotificationStorage.jsm",
|
2013-10-03 05:27:53 +04:00
|
|
|
]
|
|
|
|
|
2019-01-30 22:27:51 +03:00
|
|
|
XPCOM_MANIFESTS += [
|
|
|
|
"components.conf",
|
2013-10-03 05:27:53 +04:00
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
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
|
|
|
"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",
|
|
|
|
]
|
|
|
|
|
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"]
|
2017-12-09 05:38:13 +03:00
|
|
|
MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.ini"]
|
2018-01-06 00:28:24 +03:00
|
|
|
MOCHITEST_CHROME_MANIFESTS += ["test/chrome/chrome.ini"]
|
|
|
|
|
2019-05-03 02:02:13 +03:00
|
|
|
if CONFIG["MOZ_NEW_NOTIFICATION_STORE"]:
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
"new/NotificationDB.jsm",
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
"old/NotificationDB.jsm",
|
|
|
|
]
|