1# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2# vim: set filetype=python:
3# This Source Code Form is subject to the terms of the Mozilla Public
4# License, v. 2.0. If a copy of the MPL was not distributed with this
5# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7with Files("**"):
8    BUG_COMPONENT = ("Core", "DOM")
9
10TEST_DIRS += ['tests']
11
12EXPORTS.mozilla.dom += [
13    'MessageChannel.h',
14    'MessagePort.h',
15    'MessagePortChild.h',
16    'MessagePortParent.h',
17]
18
19UNIFIED_SOURCES += [
20    'MessageChannel.cpp',
21    'MessagePort.cpp',
22    'MessagePortChild.cpp',
23    'MessagePortParent.cpp',
24    'MessagePortService.cpp',
25    'SharedMessagePortMessage.cpp',
26]
27
28IPDL_SOURCES += [
29    'PMessagePort.ipdl',
30]
31
32LOCAL_INCLUDES += [
33    '../base',
34    '../events',
35]
36
37include('/ipc/chromium/chromium-config.mozbuild')
38
39FINAL_LIBRARY = 'xul'
40