dom/notification/moz.build
author J. Ryan Stinnett <jryans@gmail.com>
Fri, 01 Sep 2017 13:07:48 -0500
changeset 428532 62cebea1d1578461a423a9ca7848706455db9ea5
parent 387704 c373084a5a579a5e01cb417fd895761472a7ddae
child 447482 5ec58e0e3a347e2504d7544d5d0312a70e8735cd
permissions -rw-r--r--
Bug 1330412 - Clean up Stylo Treeherder symbols. r=jmaher Clean up and standardize Treeherder symbols for Talos and AWSY tasks: * Stylo disabled groups include `sd` * Stylo sequential groups include `ss` MozReview-Commit-ID: 7cl6e0XvXNO

# -*- 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 += [
    'DesktopNotification.h',
    'Notification.h',
    'NotificationEvent.h',
]

UNIFIED_SOURCES += [
    'DesktopNotification.cpp',
    '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']

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']