summaryrefslogtreecommitdiff
path: root/dom/browser-element/moz.build
blob: 8a192a505e068f00ee8ef1bd95453bab2059c1a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

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',
    'BrowserElementProxy.js',
    'BrowserElementProxy.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',
]