michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: TEST_DIRS += ['test'] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'ErrorResult.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.dom += [ michael@0: 'AtomList.h', michael@0: 'BindingDeclarations.h', michael@0: 'BindingUtils.h', michael@0: 'CallbackFunction.h', michael@0: 'CallbackInterface.h', michael@0: 'CallbackObject.h', michael@0: 'Date.h', michael@0: 'DOMJSClass.h', michael@0: 'DOMJSProxyHandler.h', michael@0: 'DOMString.h', michael@0: 'Errors.msg', michael@0: 'Exceptions.h', michael@0: 'JSSlots.h', michael@0: 'MozMap.h', michael@0: 'NonRefcountedDOMObject.h', michael@0: 'Nullable.h', michael@0: 'OwningNonNull.h', michael@0: 'PrimitiveConversions.h', michael@0: 'RootedDictionary.h', michael@0: 'ToJSValue.h', michael@0: 'TypedArray.h', michael@0: 'UnionMember.h', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/content/base/src', michael@0: '/content/canvas/src', michael@0: '/content/html/content/src', michael@0: '/content/html/document/src', michael@0: '/content/media/webaudio', michael@0: '/content/media/webspeech/recognition', michael@0: '/content/svg/content/src', michael@0: '/content/xml/content/src', michael@0: '/content/xul/content/src', michael@0: '/content/xul/document/src', michael@0: '/dom/base', michael@0: '/dom/battery', michael@0: '/dom/bluetooth', michael@0: '/dom/camera', michael@0: '/dom/file', michael@0: '/dom/indexedDB', michael@0: '/dom/src/geolocation', michael@0: '/dom/workers', michael@0: '/dom/xbl', michael@0: '/dom/xslt/base', michael@0: '/dom/xslt/xpath', michael@0: '/js/ipc', michael@0: '/js/xpconnect/src', michael@0: '/js/xpconnect/wrappers', michael@0: '/layout/style', michael@0: '/layout/xul/tree', michael@0: '/media/mtransport', michael@0: '/media/webrtc/signaling/src/common/time_profiling', michael@0: '/media/webrtc/signaling/src/peerconnection', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'BindingUtils.cpp', michael@0: 'CallbackInterface.cpp', michael@0: 'CallbackObject.cpp', michael@0: 'Date.cpp', michael@0: 'DOMJSProxyHandler.cpp', michael@0: 'Exceptions.cpp', michael@0: 'ToJSValue.cpp', michael@0: ] michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']: michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/system/gonk', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'xul' michael@0: michael@0: SPHINX_TREES['webidl'] = 'docs' michael@0: SPHINX_PYTHON_PACKAGE_DIRS += ['mozwebidlcodegen'] michael@0: michael@0: if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']: michael@0: # This is needed for Window.webidl michael@0: DEFINES['HAVE_SIDEBAR'] = True