mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
c7264cb3ac
--HG-- rename : dom/workers/XMLHttpRequestUploadWorker.cpp => dom/xhr/XMLHttpRequestUploadWorker.cpp rename : dom/workers/XMLHttpRequestUploadWorker.h => dom/xhr/XMLHttpRequestUploadWorker.h rename : dom/workers/XMLHttpRequestWorker.cpp => dom/xhr/XMLHttpRequestWorker.cpp rename : dom/workers/XMLHttpRequestWorker.h => dom/xhr/XMLHttpRequestWorker.h rename : dom/base/nsIXMLHttpRequest.idl => dom/xhr/nsIXMLHttpRequest.idl rename : dom/base/nsXMLHttpRequest.cpp => dom/xhr/nsXMLHttpRequest.cpp rename : dom/base/nsXMLHttpRequest.h => dom/xhr/nsXMLHttpRequest.h rename : dom/base/test/echo.sjs => dom/xhr/tests/echo.sjs rename : dom/base/test/file_XHRDocURI.html => dom/xhr/tests/file_XHRDocURI.html rename : dom/base/test/file_XHRDocURI.html^headers^ => dom/xhr/tests/file_XHRDocURI.html^headers^ rename : dom/base/test/file_XHRDocURI.sjs => dom/xhr/tests/file_XHRDocURI.sjs rename : dom/base/test/file_XHRDocURI.text => dom/xhr/tests/file_XHRDocURI.text rename : dom/base/test/file_XHRDocURI.text^headers^ => dom/xhr/tests/file_XHRDocURI.text^headers^ rename : dom/base/test/file_XHRDocURI.xml => dom/xhr/tests/file_XHRDocURI.xml rename : dom/base/test/file_XHRDocURI.xml^headers^ => dom/xhr/tests/file_XHRDocURI.xml^headers^ rename : dom/base/test/file_XHRResponseURL.js => dom/xhr/tests/file_XHRResponseURL.js rename : dom/base/test/file_XHRResponseURL.sjs => dom/xhr/tests/file_XHRResponseURL.sjs rename : dom/base/test/file_XHRResponseURL.text => dom/xhr/tests/file_XHRResponseURL.text rename : dom/base/test/file_XHRResponseURL.text^headers^ => dom/xhr/tests/file_XHRResponseURL.text^headers^ rename : dom/base/test/file_XHRResponseURL_nocors.text => dom/xhr/tests/file_XHRResponseURL_nocors.text rename : dom/base/test/file_XHRSendData.sjs => dom/xhr/tests/file_XHRSendData.sjs rename : dom/base/test/file_XHRSendData_doc.xml => dom/xhr/tests/file_XHRSendData_doc.xml rename : dom/base/test/file_XHRSendData_doc.xml^headers^ => dom/xhr/tests/file_XHRSendData_doc.xml^headers^ rename : dom/base/test/file_XHR_anon.sjs => dom/xhr/tests/file_XHR_anon.sjs rename : dom/base/test/file_XHR_binary1.bin => dom/xhr/tests/file_XHR_binary1.bin rename : dom/base/test/file_XHR_binary1.bin^headers^ => dom/xhr/tests/file_XHR_binary1.bin^headers^ rename : dom/base/test/file_XHR_binary2.bin => dom/xhr/tests/file_XHR_binary2.bin rename : dom/base/test/file_XHR_fail1.txt => dom/xhr/tests/file_XHR_fail1.txt rename : dom/base/test/file_XHR_fail1.txt^headers^ => dom/xhr/tests/file_XHR_fail1.txt^headers^ rename : dom/base/test/file_XHR_fail1b.txt => dom/xhr/tests/file_XHR_fail1b.txt rename : dom/base/test/file_XHR_header.sjs => dom/xhr/tests/file_XHR_header.sjs rename : dom/base/test/file_XHR_pass1.xml => dom/xhr/tests/file_XHR_pass1.xml rename : dom/base/test/file_XHR_pass2.txt => dom/xhr/tests/file_XHR_pass2.txt rename : dom/base/test/file_XHR_pass3.txt => dom/xhr/tests/file_XHR_pass3.txt rename : dom/base/test/file_XHR_pass3.txt^headers^ => dom/xhr/tests/file_XHR_pass3.txt^headers^ rename : dom/base/test/file_XHR_system_redirect.html => dom/xhr/tests/file_XHR_system_redirect.html rename : dom/base/test/file_XHR_system_redirect.html^headers^ => dom/xhr/tests/file_XHR_system_redirect.html^headers^ rename : dom/base/test/file_XHR_timeout.sjs => dom/xhr/tests/file_XHR_timeout.sjs rename : dom/base/test/file_html_in_xhr.html => dom/xhr/tests/file_html_in_xhr.html rename : dom/base/test/file_html_in_xhr.sjs => dom/xhr/tests/file_html_in_xhr.sjs rename : dom/base/test/file_html_in_xhr2.html => dom/xhr/tests/file_html_in_xhr2.html rename : dom/base/test/file_html_in_xhr3.html => dom/xhr/tests/file_html_in_xhr3.html rename : dom/base/test/progressserver.sjs => dom/xhr/tests/progressserver.sjs rename : dom/workers/test/relativeLoad_import.js => dom/xhr/tests/relativeLoad_import.js rename : dom/workers/test/relativeLoad_worker.js => dom/xhr/tests/relativeLoad_worker.js rename : dom/workers/test/relativeLoad_worker2.js => dom/xhr/tests/relativeLoad_worker2.js rename : dom/base/test/responseIdentical.sjs => dom/xhr/tests/responseIdentical.sjs rename : dom/workers/test/subdir/relativeLoad_sub_import.js => dom/xhr/tests/subdir/relativeLoad_sub_import.js rename : dom/workers/test/subdir/relativeLoad_sub_worker.js => dom/xhr/tests/subdir/relativeLoad_sub_worker.js rename : dom/workers/test/subdir/relativeLoad_sub_worker2.js => dom/xhr/tests/subdir/relativeLoad_sub_worker2.js rename : dom/workers/test/terminateSyncXHR_worker.js => dom/xhr/tests/terminateSyncXHR_worker.js rename : dom/base/test/test_XHR.html => dom/xhr/tests/test_XHR.html rename : dom/base/test/test_XHRDocURI.html => dom/xhr/tests/test_XHRDocURI.html rename : dom/base/test/test_XHRResponseURL.html => dom/xhr/tests/test_XHRResponseURL.html rename : dom/base/test/test_XHRSendData.html => dom/xhr/tests/test_XHRSendData.html rename : dom/base/test/test_XHR_anon.html => dom/xhr/tests/test_XHR_anon.html rename : dom/base/test/test_XHR_header.html => dom/xhr/tests/test_XHR_header.html rename : dom/base/test/test_XHR_onuploadprogress.html => dom/xhr/tests/test_XHR_onuploadprogress.html rename : dom/base/test/test_XHR_parameters.html => dom/xhr/tests/test_XHR_parameters.html rename : dom/base/test/test_XHR_system.html => dom/xhr/tests/test_XHR_system.html rename : dom/base/test/test_XHR_timeout.html => dom/xhr/tests/test_XHR_timeout.html rename : dom/base/test/test_XHR_timeout.js => dom/xhr/tests/test_XHR_timeout.js rename : dom/base/test/test_html_in_xhr.html => dom/xhr/tests/test_html_in_xhr.html rename : dom/workers/test/test_relativeLoad.html => dom/xhr/tests/test_relativeLoad.html rename : dom/base/test/test_sync_xhr_timer.xhtml => dom/xhr/tests/test_sync_xhr_timer.xhtml rename : dom/workers/test/test_terminateSyncXHR.html => dom/xhr/tests/test_worker_terminateSyncXHR.html rename : dom/workers/test/test_xhr.html => dom/xhr/tests/test_worker_xhr.html rename : dom/workers/test/test_xhr2.html => dom/xhr/tests/test_worker_xhr2.html rename : dom/workers/test/test_xhrAbort.html => dom/xhr/tests/test_worker_xhrAbort.html rename : dom/workers/test/test_xhr_3rdparty.html => dom/xhr/tests/test_worker_xhr_3rdparty.html rename : dom/workers/test/test_xhr_cors_redirect.html => dom/xhr/tests/test_worker_xhr_cors_redirect.html rename : dom/workers/test/test_xhr_headers.html => dom/xhr/tests/test_worker_xhr_headers.html rename : dom/workers/test/test_xhr_implicit_cancel.html => dom/xhr/tests/test_worker_xhr_implicit_cancel.html rename : dom/workers/test/test_xhr_parameters.html => dom/xhr/tests/test_worker_xhr_parameters.html rename : dom/workers/test/test_xhr_parameters.js => dom/xhr/tests/test_worker_xhr_parameters.js rename : dom/workers/test/test_xhr_responseURL.html => dom/xhr/tests/test_worker_xhr_responseURL.html rename : dom/workers/test/test_xhr_system.html => dom/xhr/tests/test_worker_xhr_system.html rename : dom/workers/test/test_xhr_system.js => dom/xhr/tests/test_worker_xhr_system.js rename : dom/workers/test/test_xhr_timeout.html => dom/xhr/tests/test_worker_xhr_timeout.html rename : dom/base/test/test_xhr_abort_after_load.html => dom/xhr/tests/test_xhr_abort_after_load.html rename : dom/base/test/test_xhr_forbidden_headers.html => dom/xhr/tests/test_xhr_forbidden_headers.html rename : dom/base/test/test_xhr_overridemimetype_throws_on_invalid_state.html => dom/xhr/tests/test_xhr_overridemimetype_throws_on_invalid_state.html rename : dom/base/test/test_xhr_progressevents.html => dom/xhr/tests/test_xhr_progressevents.html rename : dom/base/test/test_xhr_send.html => dom/xhr/tests/test_xhr_send.html rename : dom/base/test/test_xhr_send_readystate.html => dom/xhr/tests/test_xhr_send_readystate.html rename : dom/base/test/test_xhr_withCredentials.html => dom/xhr/tests/test_xhr_withCredentials.html rename : dom/workers/test/file_getcookie.sjs => dom/xhr/tests/worker_file_getcookie.sjs rename : dom/workers/test/terminateSyncXHR_frame.html => dom/xhr/tests/worker_terminateSyncXHR_frame.html rename : dom/workers/test/testXHR.txt => dom/xhr/tests/worker_testXHR.txt rename : dom/workers/test/xhr_cors_redirect.js => dom/xhr/tests/worker_xhr_cors_redirect.js rename : dom/workers/test/xhr_cors_redirect.sjs => dom/xhr/tests/worker_xhr_cors_redirect.sjs rename : dom/workers/test/xhr_headers_server.sjs => dom/xhr/tests/worker_xhr_headers_server.sjs rename : dom/workers/test/xhr_headers_worker.js => dom/xhr/tests/worker_xhr_headers_worker.js rename : dom/workers/test/xhr2_worker.js => dom/xhr/tests/xhr2_worker.js rename : dom/workers/test/xhrAbort_worker.js => dom/xhr/tests/xhrAbort_worker.js rename : dom/workers/test/xhr_implicit_cancel_worker.js => dom/xhr/tests/xhr_implicit_cancel_worker.js rename : dom/workers/test/xhr_worker.js => dom/xhr/tests/xhr_worker.js
471 lines
12 KiB
Python
471 lines
12 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
TEST_DIRS += ['test']
|
|
|
|
XPIDL_SOURCES += [
|
|
'mozIDOMWindow.idl',
|
|
'nsIContentPolicy.idl',
|
|
'nsIContentPolicyBase.idl',
|
|
'nsIDocumentEncoder.idl',
|
|
'nsIDOMBlob.idl',
|
|
'nsIDOMDataChannel.idl',
|
|
'nsIDOMDOMCursor.idl',
|
|
'nsIDOMDOMRequest.idl',
|
|
'nsIDOMFileList.idl',
|
|
'nsIDOMFormData.idl',
|
|
'nsIDOMParser.idl',
|
|
'nsIDOMSerializer.idl',
|
|
'nsIDroppedLinkHandler.idl',
|
|
'nsIFrameLoader.idl',
|
|
'nsIImageLoadingContent.idl',
|
|
'nsIMessageManager.idl',
|
|
'nsIObjectLoadingContent.idl',
|
|
'nsIRemoteWindowContext.idl',
|
|
'nsIScriptChannel.idl',
|
|
'nsIScriptLoaderObserver.idl',
|
|
'nsISelection.idl',
|
|
'nsISelectionController.idl',
|
|
'nsISelectionDisplay.idl',
|
|
'nsISelectionListener.idl',
|
|
'nsISelectionPrivate.idl',
|
|
'nsISimpleContentPolicy.idl',
|
|
'nsISiteSpecificUserAgent.idl',
|
|
'nsISlowScriptDebug.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'dom'
|
|
|
|
EXPORTS += [
|
|
'AutocompleteFieldList.h',
|
|
'Crypto.h',
|
|
'HTMLSplitOnSpacesTokenizer.h',
|
|
'IframeSandboxKeywordList.h',
|
|
'mozAutoDocUpdate.h',
|
|
'mozFlushType.h',
|
|
'nsAtomListUtils.h',
|
|
'nsAttrAndChildArray.h',
|
|
'nsAttrName.h',
|
|
'nsAttrValue.h',
|
|
'nsAttrValueInlines.h',
|
|
'nsCaseTreatment.h',
|
|
'nsChildContentList.h',
|
|
'nsContentCID.h',
|
|
'nsContentCreatorFunctions.h',
|
|
'nsContentList.h',
|
|
'nsContentListDeclarations.h',
|
|
'nsContentPermissionHelper.h',
|
|
'nsContentPolicyUtils.h',
|
|
'nsContentSink.h',
|
|
'nsContentTypeParser.h',
|
|
'nsContentUtils.h',
|
|
'nsCopySupport.h',
|
|
'nsDeprecatedOperationList.h',
|
|
'nsDocElementCreatedNotificationRunner.h',
|
|
'nsDocumentWarningList.h',
|
|
'nsDOMAttributeMap.h',
|
|
'nsDOMCID.h',
|
|
'nsDOMClassInfoClasses.h',
|
|
'nsDOMClassInfoID.h',
|
|
'nsDOMJSUtils.h',
|
|
'nsDOMNavigationTiming.h',
|
|
'nsDOMString.h',
|
|
'nsFocusManager.h',
|
|
'nsFrameMessageManager.h',
|
|
'nsGenericDOMDataNode.h',
|
|
'nsGkAtomList.h',
|
|
'nsGkAtoms.h',
|
|
'nsHostObjectProtocolHandler.h',
|
|
'nsHostObjectURI.h',
|
|
'nsIAnimationObserver.h',
|
|
'nsIAttribute.h',
|
|
'nsIContent.h',
|
|
'nsIContentInlines.h',
|
|
'nsIContentIterator.h',
|
|
'nsIContentSerializer.h',
|
|
'nsIDocument.h',
|
|
'nsIDocumentInlines.h',
|
|
'nsIDocumentObserver.h',
|
|
'nsIDOMClassInfo.h',
|
|
'nsIGlobalObject.h',
|
|
'nsImageLoadingContent.h',
|
|
'nsIMutationObserver.h',
|
|
'nsINode.h',
|
|
'nsINodeList.h',
|
|
'nsIScriptContext.h',
|
|
'nsIScriptElement.h',
|
|
'nsIScriptGlobalObject.h',
|
|
'nsIScriptNameSpaceManager.h',
|
|
'nsIScriptObjectPrincipal.h',
|
|
'nsIScriptTimeoutHandler.h',
|
|
'nsIStyleSheetLinkingElement.h',
|
|
'nsJSEnvironment.h',
|
|
'nsJSUtils.h',
|
|
'nsLineBreaker.h',
|
|
'nsMappedAttributeElement.h',
|
|
'nsNameSpaceManager.h',
|
|
'nsNodeInfoManager.h',
|
|
'nsNodeUtils.h',
|
|
'nsPIDOMWindow.h',
|
|
'nsPIDOMWindowInlines.h',
|
|
'nsPIWindowRoot.h',
|
|
'nsPropertyTable.h',
|
|
'nsRange.h',
|
|
'nsReferencedElement.h',
|
|
'nsSandboxFlags.h',
|
|
'nsScriptLoader.h',
|
|
'nsStructuredCloneContainer.h',
|
|
'nsStubAnimationObserver.h',
|
|
'nsStubDocumentObserver.h',
|
|
'nsStubMutationObserver.h',
|
|
'nsStyledElement.h',
|
|
'nsTextFragment.h',
|
|
'nsTraversal.h',
|
|
'nsTreeSanitizer.h',
|
|
'nsViewportInfo.h',
|
|
'nsWindowMemoryReporter.h',
|
|
'nsWrapperCache.h',
|
|
'nsWrapperCacheInlines.h',
|
|
'nsXMLNameSpaceMap.h',
|
|
]
|
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
|
EXPORTS += [
|
|
'nsDOMDataChannel.h',
|
|
'nsDOMDataChannelDeclarations.h',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'CORSMode.h',
|
|
'FeedWriterEnabled.h',
|
|
'TextInputProcessor.h',
|
|
'UseCounter.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'!UseCounterList.h',
|
|
'AnonymousContent.h',
|
|
'Attr.h',
|
|
'BarProps.h',
|
|
'BlobSet.h',
|
|
'BodyUtil.h',
|
|
'ChildIterator.h',
|
|
'ChromeNodeList.h',
|
|
'ChromeUtils.h',
|
|
'Comment.h',
|
|
'DirectionalityUtils.h',
|
|
'DocumentFragment.h',
|
|
'DocumentType.h',
|
|
'DOMCursor.h',
|
|
'DOMError.h',
|
|
'DOMException.h',
|
|
'DOMImplementation.h',
|
|
'DOMMatrix.h',
|
|
'DOMParser.h',
|
|
'DOMPoint.h',
|
|
'DOMQuad.h',
|
|
'DOMRect.h',
|
|
'DOMRequest.h',
|
|
'DOMStringList.h',
|
|
'DOMTokenListSupportedTokens.h',
|
|
'Element.h',
|
|
'ElementInlines.h',
|
|
'EventSource.h',
|
|
'File.h',
|
|
'FileList.h',
|
|
'FileReader.h',
|
|
'FormData.h',
|
|
'FragmentOrElement.h',
|
|
'FromParser.h',
|
|
'ImageEncoder.h',
|
|
'ImportManager.h',
|
|
'Link.h',
|
|
'NameSpaceConstants.h',
|
|
'Navigator.h',
|
|
'NodeInfo.h',
|
|
'NodeInfoInlines.h',
|
|
'NodeIterator.h',
|
|
'ProcessGlobal.h',
|
|
'ResponsiveImageSelector.h',
|
|
'SameProcessMessageQueue.h',
|
|
'ScreenOrientation.h',
|
|
'ScriptSettings.h',
|
|
'ShadowRoot.h',
|
|
'StructuredCloneHolder.h',
|
|
'StructuredCloneTags.h',
|
|
'StyleSheetList.h',
|
|
'SubtleCrypto.h',
|
|
'Text.h',
|
|
'TreeWalker.h',
|
|
'WebKitCSSMatrix.h',
|
|
'WebSocket.h',
|
|
'WindowOrientationObserver.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'AnonymousContent.cpp',
|
|
'Attr.cpp',
|
|
'BarProps.cpp',
|
|
'BlobSet.cpp',
|
|
'BodyUtil.cpp',
|
|
'ChildIterator.cpp',
|
|
'ChromeNodeList.cpp',
|
|
'ChromeUtils.cpp',
|
|
'Comment.cpp',
|
|
'Crypto.cpp',
|
|
'DirectionalityUtils.cpp',
|
|
'DocumentFragment.cpp',
|
|
'DocumentType.cpp',
|
|
'DOMCursor.cpp',
|
|
'DOMError.cpp',
|
|
'DOMException.cpp',
|
|
'DOMImplementation.cpp',
|
|
'DOMMatrix.cpp',
|
|
'DOMParser.cpp',
|
|
'DOMPoint.cpp',
|
|
'DOMQuad.cpp',
|
|
'DOMRect.cpp',
|
|
'DOMRequest.cpp',
|
|
'DOMStringList.cpp',
|
|
'Element.cpp',
|
|
'EventSource.cpp',
|
|
'File.cpp',
|
|
'FileList.cpp',
|
|
'FileReader.cpp',
|
|
'FormData.cpp',
|
|
'FragmentOrElement.cpp',
|
|
'ImageEncoder.cpp',
|
|
'ImportManager.cpp',
|
|
'Link.cpp',
|
|
'MultipartBlobImpl.cpp',
|
|
'Navigator.cpp',
|
|
'NodeInfo.cpp',
|
|
'NodeIterator.cpp',
|
|
'nsAtomListUtils.cpp',
|
|
'nsAttrAndChildArray.cpp',
|
|
'nsAttrValue.cpp',
|
|
'nsAttrValueOrString.cpp',
|
|
'nsCCUncollectableMarker.cpp',
|
|
'nsContentAreaDragDrop.cpp',
|
|
'nsContentIterator.cpp',
|
|
'nsContentList.cpp',
|
|
'nsContentPermissionHelper.cpp',
|
|
'nsContentPolicy.cpp',
|
|
'nsContentSink.cpp',
|
|
'nsCopySupport.cpp',
|
|
'nsDataDocumentContentPolicy.cpp',
|
|
'nsDocument.cpp',
|
|
'nsDocumentEncoder.cpp',
|
|
'nsDOMAttributeMap.cpp',
|
|
'nsDOMCaretPosition.cpp',
|
|
'nsDOMClassInfo.cpp',
|
|
'nsDOMMutationObserver.cpp',
|
|
'nsDOMNavigationTiming.cpp',
|
|
'nsDOMSerializer.cpp',
|
|
'nsDOMTokenList.cpp',
|
|
'nsDOMWindowList.cpp',
|
|
'nsFocusManager.cpp',
|
|
'nsFrameLoader.cpp',
|
|
'nsGenConImageContent.cpp',
|
|
'nsGenericDOMDataNode.cpp',
|
|
'nsGkAtoms.cpp',
|
|
'nsGlobalWindowCommands.cpp',
|
|
'nsHistory.cpp',
|
|
'nsHostObjectProtocolHandler.cpp',
|
|
'nsHostObjectURI.cpp',
|
|
'nsHTMLContentSerializer.cpp',
|
|
'nsIGlobalObject.cpp',
|
|
'nsINode.cpp',
|
|
'nsInProcessTabChildGlobal.cpp',
|
|
'nsJSEnvironment.cpp',
|
|
'nsJSTimeoutHandler.cpp',
|
|
'nsJSUtils.cpp',
|
|
'nsLineBreaker.cpp',
|
|
'nsLocation.cpp',
|
|
'nsMappedAttributeElement.cpp',
|
|
'nsMappedAttributes.cpp',
|
|
'nsMimeTypeArray.cpp',
|
|
'nsNameSpaceManager.cpp',
|
|
'nsNoDataProtocolContentPolicy.cpp',
|
|
'nsNodeInfoManager.cpp',
|
|
'nsNodeUtils.cpp',
|
|
'nsOpenURIInFrameParams.cpp',
|
|
'nsPlainTextSerializer.cpp',
|
|
'nsPropertyTable.cpp',
|
|
'nsQueryContentEventResult.cpp',
|
|
'nsRange.cpp',
|
|
'nsReferencedElement.cpp',
|
|
'nsScreen.cpp',
|
|
'nsScriptElement.cpp',
|
|
'nsScriptLoader.cpp',
|
|
'nsScriptNameSpaceManager.cpp',
|
|
'nsStructuredCloneContainer.cpp',
|
|
'nsStubAnimationObserver.cpp',
|
|
'nsStubDocumentObserver.cpp',
|
|
'nsStubMutationObserver.cpp',
|
|
'nsStyledElement.cpp',
|
|
'nsStyleLinkElement.cpp',
|
|
'nsSyncLoadService.cpp',
|
|
'nsTextFragment.cpp',
|
|
'nsTextNode.cpp',
|
|
'nsTraversal.cpp',
|
|
'nsTreeSanitizer.cpp',
|
|
'nsViewportInfo.cpp',
|
|
'nsWindowMemoryReporter.cpp',
|
|
'nsWindowRoot.cpp',
|
|
'nsWrapperCache.cpp',
|
|
'nsXHTMLContentSerializer.cpp',
|
|
'nsXMLContentSerializer.cpp',
|
|
'nsXMLNameSpaceMap.cpp',
|
|
'PostMessageEvent.cpp',
|
|
'ProcessGlobal.cpp',
|
|
'ResponsiveImageSelector.cpp',
|
|
'SameProcessMessageQueue.cpp',
|
|
'ScreenOrientation.cpp',
|
|
'ScriptSettings.cpp',
|
|
'ShadowRoot.cpp',
|
|
'StructuredCloneHolder.cpp',
|
|
'StyleSheetList.cpp',
|
|
'SubtleCrypto.cpp',
|
|
'Text.cpp',
|
|
'TextInputProcessor.cpp',
|
|
'ThirdPartyUtil.cpp',
|
|
'TreeWalker.cpp',
|
|
'WebKitCSSMatrix.cpp',
|
|
'WebSocket.cpp',
|
|
'WindowNamedPropertiesHandler.cpp',
|
|
'WindowOrientationObserver.cpp',
|
|
]
|
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
|
UNIFIED_SOURCES += [
|
|
'nsDOMDataChannel.cpp',
|
|
]
|
|
|
|
# these files couldn't be in UNIFIED_SOURCES for now for reasons given below:
|
|
SOURCES += [
|
|
# Because of OS X headers.
|
|
'nsContentUtils.cpp',
|
|
# this file doesn't like windows.h
|
|
'nsDOMWindowUtils.cpp',
|
|
# Conflicts with windows.h's definition of SendMessage.
|
|
'nsFrameMessageManager.cpp',
|
|
# This file has a #error "Never include windows.h in this file!"
|
|
'nsGlobalWindow.cpp',
|
|
# Conflicts with windows.h's definition of LoadImage.
|
|
'nsImageLoadingContent.cpp',
|
|
# Because of OS X headers.
|
|
'nsObjectLoadingContent.cpp',
|
|
# nsPluginArray.cpp includes npapi.h indirectly, and that includes a lot of system headers
|
|
'nsPluginArray.cpp',
|
|
]
|
|
|
|
# Are we targeting x86-32 or x86-64? If so, we want to include SSE2 code for
|
|
# nsTextFragment.cpp
|
|
if CONFIG['INTEL_ARCHITECTURE']:
|
|
SOURCES += ['nsTextFragmentSSE2.cpp']
|
|
SOURCES['nsTextFragmentSSE2.cpp'].flags += CONFIG['SSE2_FLAGS']
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'contentAreaDropListener.js',
|
|
'contentAreaDropListener.manifest',
|
|
'messageWakeupService.js',
|
|
'messageWakeupService.manifest',
|
|
'SlowScriptDebug.js',
|
|
'SlowScriptDebug.manifest',
|
|
]
|
|
|
|
# Firefox for Android provides an alternate version of this component
|
|
if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
|
|
EXTRA_COMPONENTS += [
|
|
'SiteSpecificUserAgent.js',
|
|
'SiteSpecificUserAgent.manifest',
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'DOMRequestHelper.jsm',
|
|
'IndexedDBHelper.jsm',
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'../battery',
|
|
'../bluetooth/common',
|
|
'../bluetooth/common/webapi',
|
|
'../events',
|
|
'../media',
|
|
'../network',
|
|
'../time',
|
|
'/caps',
|
|
'/docshell/base',
|
|
'/dom/base',
|
|
'/dom/geolocation',
|
|
'/dom/html',
|
|
'/dom/ipc',
|
|
'/dom/storage',
|
|
'/dom/svg',
|
|
'/dom/u2f',
|
|
'/dom/workers',
|
|
'/dom/xbl',
|
|
'/dom/xml',
|
|
'/dom/xslt/xpath',
|
|
'/dom/xul',
|
|
'/gfx/2d',
|
|
'/image',
|
|
'/js/xpconnect/src',
|
|
'/js/xpconnect/wrappers',
|
|
'/layout/base',
|
|
'/layout/forms',
|
|
'/layout/generic',
|
|
'/layout/style',
|
|
'/layout/svg',
|
|
'/layout/xul',
|
|
'/netwerk/base',
|
|
'/security/manager/ssl',
|
|
'/widget',
|
|
'/xpcom/ds',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
LOCAL_INCLUDES += [
|
|
'../fmradio',
|
|
'../system/gonk',
|
|
]
|
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
|
LOCAL_INCLUDES += [
|
|
'/netwerk/sctp/datachannel',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
for var in ('MOZ_B2G_RIL', 'MOZ_B2G_FM'):
|
|
if CONFIG[var]:
|
|
DEFINES[var] = True
|
|
|
|
if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
|
|
DEFINES['HAVE_SIDEBAR'] = True
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
|
|
|
GENERATED_FILES += [
|
|
'PropertyUseCounterMap.inc',
|
|
'UseCounterList.h',
|
|
]
|
|
|
|
countermap = GENERATED_FILES['PropertyUseCounterMap.inc']
|
|
countermap.script = 'gen-usecounters.py:property_map'
|
|
countermap.inputs = ['UseCounters.conf']
|
|
|
|
counterlist = GENERATED_FILES['UseCounterList.h']
|
|
counterlist.script = 'gen-usecounters.py:use_counter_list'
|
|
counterlist.inputs = ['UseCounters.conf']
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
CXXFLAGS += ['-Wno-error=shadow']
|