dom/browser-element/moz.build
author Aaron Klotz <aklotz@mozilla.com>
Thu, 27 Apr 2017 16:27:45 -0600
changeset 403610 ede9819237516b2e48b95b1d3e95f8eafe53b9fd
parent 387704 c373084a5a579a5e01cb417fd895761472a7ddae
child 407987 8e65b8fad40ff12ca92e97dbb566dac52e0cf30b
permissions -rw-r--r--
Bug 1360371: Backed out changesets c39e811e3a09 and d4e6fb6fb40a as they are no longer necessary; r=backout MozReview-Commit-ID: 7QSHmDn828Y

# -*- 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 = ("Core", "DOM")

EXPORTS.mozilla += [
    'BrowserElementParent.h',
]

EXPORTS.mozilla.dom += [
    'BrowserElementAudioChannel.h',
]

SOURCES += [
    'BrowserElementAudioChannel.cpp',
    'BrowserElementParent.cpp',
]

XPIDL_SOURCES += [
    'nsIBrowserElementAPI.idl',
]

XPIDL_MODULE = 'browser-element'

EXTRA_COMPONENTS += [
    'BrowserElementParent.js',
    'BrowserElementParent.manifest',
]

EXTRA_JS_MODULES += [
    'BrowserElementPromptService.jsm',
]

LOCAL_INCLUDES += [
    '/dom/html',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '/dom/',
    '/dom/base',
    '/dom/ipc',
]

MOCHITEST_MANIFESTS += [
    'mochitest/mochitest-oop.ini',
    'mochitest/mochitest.ini',
    'mochitest/priority/mochitest.ini',
]

MOCHITEST_CHROME_MANIFESTS += [
    'mochitest/chrome.ini',
    'mochitest/priority/chrome.ini',
]