Bumping manifests a=b2g-bump
[gecko.git] / dom / bindings / moz.build
blob6e1c5db2b71cf225793dea8746f2ac7bb363da64
1 # -*- Mode: python; c-basic-offset: 4; 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/.
7 TEST_DIRS += ['test']
9 EXPORTS.mozilla += [
10     'ErrorResult.h',
13 EXPORTS.mozilla.dom += [
14     'AtomList.h',
15     'BindingDeclarations.h',
16     'BindingUtils.h',
17     'CallbackFunction.h',
18     'CallbackInterface.h',
19     'CallbackObject.h',
20     'Date.h',
21     'DOMJSClass.h',
22     'DOMJSProxyHandler.h',
23     'DOMString.h',
24     'Errors.msg',
25     'Exceptions.h',
26     'JSSlots.h',
27     'MozMap.h',
28     'NonRefcountedDOMObject.h',
29     'Nullable.h',
30     'OwningNonNull.h',
31     'PrimitiveConversions.h',
32     'RootedDictionary.h',
33     'StructuredClone.h',
34     'ToJSValue.h',
35     'TypedArray.h',
36     'UnionMember.h',
39 FAIL_ON_WARNINGS = True
41 MSVC_ENABLE_PGO = True
43 LOCAL_INCLUDES += [
44     '/dom/base',
45     '/dom/battery',
46     '/dom/bluetooth',
47     '/dom/camera',
48     '/dom/canvas',
49     '/dom/geolocation',
50     '/dom/html',
51     '/dom/indexedDB',
52     '/dom/media/webaudio',
53     '/dom/media/webspeech/recognition',
54     '/dom/svg',
55     '/dom/workers',
56     '/dom/xbl',
57     '/dom/xml',
58     '/dom/xslt/base',
59     '/dom/xslt/xpath',
60     '/dom/xul',
61     '/js/ipc',
62     '/js/xpconnect/src',
63     '/js/xpconnect/wrappers',
64     '/layout/style',
65     '/layout/xul/tree',
66     '/media/mtransport',
67     '/media/webrtc/',
68     '/media/webrtc/signaling/src/common/time_profiling',
69     '/media/webrtc/signaling/src/peerconnection',
72 UNIFIED_SOURCES += [
73     'BindingUtils.cpp',
74     'CallbackInterface.cpp',
75     'CallbackObject.cpp',
76     'Date.cpp',
77     'DOMJSProxyHandler.cpp',
78     'Exceptions.cpp',
79     'ToJSValue.cpp',
82 SOURCES += [
83     'StructuredClone.cpp',
86 include('/ipc/chromium/chromium-config.mozbuild')
88 if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']:
89     LOCAL_INCLUDES += [
90         '/dom/system/gonk',
91     ]
93 FINAL_LIBRARY = 'xul'
95 SPHINX_TREES['webidl'] = 'docs'
96 SPHINX_PYTHON_PACKAGE_DIRS += ['mozwebidlcodegen']
98 if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
99     # This is needed for Window.webidl
100     DEFINES['HAVE_SIDEBAR'] = True
102 PYTHON_UNIT_TESTS += [
103     'mozwebidlcodegen/test/test_mozwebidlcodegen.py',