no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / dom / notification / moz.build
blobb42e7a13ab3a7bcf6f44c445b3868b314eada2a0
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 = ("Core", "DOM: Notifications")
10 EXTRA_JS_MODULES += [
11     "NotificationStorage.sys.mjs",
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.toml"]
37 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
38 MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"]
39 MOCHITEST_CHROME_MANIFESTS += ["test/chrome/chrome.toml"]
41 if CONFIG["MOZ_NEW_NOTIFICATION_STORE"]:
42     EXTRA_JS_MODULES += [
43         "new/NotificationDB.sys.mjs",
44     ]
45 else:
46     EXTRA_JS_MODULES += [
47         "old/NotificationDB.sys.mjs",
48     ]