Bug 1795723 - Unified extensions UI should support High Contrast Mode. r=ayeddi,deskt...
[gecko.git] / dom / notification / moz.build
blobbc1c0136a8011df7e0c38e0e820fbba548302629
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 with Files("**"):
8     BUG_COMPONENT = ("Toolkit", "Notifications and Alerts")
10 EXTRA_JS_MODULES += [
11     "NotificationStorage.jsm",
14 XPCOM_MANIFESTS += [
15     "components.conf",
18 EXPORTS.mozilla.dom += [
19     "Notification.h",
20     "NotificationEvent.h",
23 UNIFIED_SOURCES += [
24     "Notification.cpp",
25     "NotificationEvent.cpp",
28 include("/ipc/chromium/chromium-config.mozbuild")
30 FINAL_LIBRARY = "xul"
31 LOCAL_INCLUDES += [
32     "/dom/base",
33     "/dom/ipc",
36 BROWSER_CHROME_MANIFESTS += ["test/browser/browser.ini"]
37 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
38 MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.ini"]
39 MOCHITEST_CHROME_MANIFESTS += ["test/chrome/chrome.ini"]
41 if CONFIG["MOZ_NEW_NOTIFICATION_STORE"]:
42     EXTRA_JS_MODULES += [
43         "new/NotificationDB.jsm",
44     ]
45 else:
46     EXTRA_JS_MODULES += [
47         "old/NotificationDB.jsm",
48     ]