mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
180e7d761c
Tests were split between dom/notification and dom/test/mochitest/notification. Moving them all to the same place. MozReview-Commit-ID: IP1YtIBmHcD --HG-- rename : dom/tests/mochitest/notification/MockServices.js => dom/notification/test/mochitest/MockServices.js rename : dom/tests/mochitest/notification/NotificationTest.js => dom/notification/test/mochitest/NotificationTest.js rename : dom/tests/mochitest/notification/mochitest.ini => dom/notification/test/mochitest/mochitest.ini rename : dom/tests/mochitest/notification/test_bug931307.html => dom/notification/test/mochitest/test_bug931307.html rename : dom/tests/mochitest/notification/test_notification_basics.html => dom/notification/test/mochitest/test_notification_basics.html rename : dom/tests/mochitest/notification/test_notification_storage.html => dom/notification/test/mochitest/test_notification_storage.html
44 lines
1.0 KiB
Python
44 lines
1.0 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Toolkit", "Notifications and Alerts")
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'NotificationStorage.js',
|
|
'NotificationStorage.manifest',
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'NotificationDB.jsm'
|
|
]
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'Notification.h',
|
|
'NotificationEvent.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'Notification.cpp',
|
|
'NotificationEvent.cpp',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
LOCAL_INCLUDES += [
|
|
'/dom/base',
|
|
'/dom/ipc',
|
|
'/dom/workers',
|
|
]
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
|
|
MOCHITEST_MANIFESTS += ['test/mochitest/mochitest.ini']
|
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
|
CXXFLAGS += ['-Wno-error=shadow']
|