2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# 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/.
|
|
|
|
|
2013-12-12 11:26:38 +04:00
|
|
|
TEST_DIRS += ['test']
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'ErrorResult.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
2013-08-23 09:17:09 +04:00
|
|
|
'AtomList.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'BindingDeclarations.h',
|
|
|
|
'BindingUtils.h',
|
|
|
|
'CallbackFunction.h',
|
|
|
|
'CallbackInterface.h',
|
|
|
|
'CallbackObject.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Date.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'DOMJSClass.h',
|
|
|
|
'DOMJSProxyHandler.h',
|
2013-10-11 20:28:23 +04:00
|
|
|
'DOMString.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'Errors.msg',
|
2013-09-09 07:28:50 +04:00
|
|
|
'Exceptions.h',
|
2013-08-24 06:42:39 +04:00
|
|
|
'JSSlots.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'NonRefcountedDOMObject.h',
|
|
|
|
'Nullable.h',
|
2013-09-10 11:03:37 +04:00
|
|
|
'OwningNonNull.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'PrimitiveConversions.h',
|
2013-09-26 08:04:59 +04:00
|
|
|
'RootedDictionary.h',
|
2014-04-10 22:57:07 +04:00
|
|
|
'ToJSValue.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'TypedArray.h',
|
2013-09-10 11:03:37 +04:00
|
|
|
'UnionMember.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-24 01:20:55 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/content/base/src',
|
2013-11-11 12:04:11 +04:00
|
|
|
'/content/canvas/src',
|
|
|
|
'/content/html/content/src',
|
2013-10-24 01:20:55 +04:00
|
|
|
'/content/html/document/src',
|
|
|
|
'/content/media/webaudio',
|
2013-11-11 12:04:11 +04:00
|
|
|
'/content/media/webspeech/recognition',
|
2013-10-24 01:20:55 +04:00
|
|
|
'/content/svg/content/src',
|
2013-11-11 12:04:11 +04:00
|
|
|
'/content/xml/content/src',
|
|
|
|
'/content/xul/content/src',
|
|
|
|
'/content/xul/document/src',
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/battery',
|
|
|
|
'/dom/bluetooth',
|
|
|
|
'/dom/camera',
|
|
|
|
'/dom/file',
|
|
|
|
'/dom/indexedDB',
|
|
|
|
'/dom/src/geolocation',
|
|
|
|
'/dom/workers',
|
2014-01-10 07:03:25 +04:00
|
|
|
'/dom/xbl',
|
2014-01-03 05:48:12 +04:00
|
|
|
'/dom/xslt/base',
|
|
|
|
'/dom/xslt/xpath',
|
2013-11-11 12:04:11 +04:00
|
|
|
'/js/ipc',
|
|
|
|
'/js/xpconnect/src',
|
|
|
|
'/js/xpconnect/wrappers',
|
2013-10-24 01:20:55 +04:00
|
|
|
'/layout/style',
|
|
|
|
'/layout/xul/tree',
|
2013-11-11 12:04:11 +04:00
|
|
|
'/media/mtransport',
|
|
|
|
'/media/webrtc/signaling/src/common/time_profiling',
|
|
|
|
'/media/webrtc/signaling/src/peerconnection',
|
2013-10-24 01:20:55 +04:00
|
|
|
]
|
2013-10-02 21:17:55 +04:00
|
|
|
|
2013-11-28 17:35:22 +04:00
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'BindingUtils.cpp',
|
|
|
|
'CallbackInterface.cpp',
|
|
|
|
'CallbackObject.cpp',
|
|
|
|
'Date.cpp',
|
|
|
|
'DOMJSProxyHandler.cpp',
|
|
|
|
'Exceptions.cpp',
|
2014-04-10 22:57:07 +04:00
|
|
|
'ToJSValue.cpp',
|
2013-11-28 17:35:22 +04:00
|
|
|
]
|
|
|
|
|
2013-10-24 01:20:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2013-11-11 12:04:11 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']:
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/system/gonk',
|
|
|
|
]
|
2013-11-19 06:47:14 +04:00
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-14 03:41:22 +04:00
|
|
|
|
|
|
|
SPHINX_TREES['webidl'] = 'docs'
|
|
|
|
SPHINX_PYTHON_PACKAGE_DIRS += ['mozwebidlcodegen']
|
2014-03-28 08:03:03 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
|
|
|
|
# This is needed for Window.webidl
|
|
|
|
DEFINES['HAVE_SIDEBAR'] = True
|