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/.
13 EXPORTS.mozilla.dom += [
15 'BindingDeclarations.h',
18 'CallbackInterface.h',
22 'DOMJSProxyHandler.h',
28 'NonRefcountedDOMObject.h',
31 'PrimitiveConversions.h',
39 FAIL_ON_WARNINGS = True
41 MSVC_ENABLE_PGO = True
52 '/dom/media/webaudio',
53 '/dom/media/webspeech/recognition',
63 '/js/xpconnect/wrappers',
68 '/media/webrtc/signaling/src/common/time_profiling',
69 '/media/webrtc/signaling/src/peerconnection',
74 'CallbackInterface.cpp',
77 'DOMJSProxyHandler.cpp',
83 'StructuredClone.cpp',
86 include('/ipc/chromium/chromium-config.mozbuild')
88 if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']:
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',