dom/notification/moz.build
author Chris Peterson <cpeterson@mozilla.com>
Tue, 02 Feb 2016 00:04:26 -0800
changeset 322709 15621f98b53b1994c7ae2e2703a6e50203c5304c
parent 294396 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
child 326143 02a85cdafe4c0b956124e6f122e37e272b3c5055
permissions -rw-r--r--
Bug 1233297 - Part 1: Consolidate MOZ_C*_SUPPORTS_WARNING configure checks in compiler-opts.m4. r=glandium

# -*- Mode: python; c-basic-offset: 4; 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/.

EXTRA_COMPONENTS += [
    'ChromeNotifications.js',
    'ChromeNotifications.manifest',
    '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',
]

XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']