content/base/src/moz.build

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 EXPORTS += [
michael@0 8 'mozAutoDocUpdate.h',
michael@0 9 'nsAtomListUtils.h',
michael@0 10 'nsAttrAndChildArray.h',
michael@0 11 'nsAttrName.h',
michael@0 12 'nsAttrValue.h',
michael@0 13 'nsAttrValueInlines.h',
michael@0 14 'nsContentList.h',
michael@0 15 'nsContentListDeclarations.h',
michael@0 16 'nsContentSink.h',
michael@0 17 'nsCrossSiteListenerProxy.h',
michael@0 18 'nsDOMAttributeMap.h',
michael@0 19 'nsFrameMessageManager.h',
michael@0 20 'nsGenericDOMDataNode.h',
michael@0 21 'nsGkAtomList.h',
michael@0 22 'nsGkAtoms.h',
michael@0 23 'nsImageLoadingContent.h',
michael@0 24 'nsMappedAttributeElement.h',
michael@0 25 'nsNodeInfoManager.h',
michael@0 26 'nsNodeUtils.h',
michael@0 27 'nsPropertyTable.h',
michael@0 28 'nsRange.h',
michael@0 29 'nsSandboxFlags.h',
michael@0 30 'nsScriptLoader.h',
michael@0 31 'nsStubDocumentObserver.h',
michael@0 32 'nsStubMutationObserver.h',
michael@0 33 'nsStyledElement.h',
michael@0 34 'nsTextFragment.h',
michael@0 35 'nsTraversal.h',
michael@0 36 ]
michael@0 37
michael@0 38 if CONFIG['MOZ_WEBRTC']:
michael@0 39 EXPORTS += [
michael@0 40 'nsDOMDataChannel.h',
michael@0 41 'nsDOMDataChannelDeclarations.h',
michael@0 42 ]
michael@0 43 SOURCES += [
michael@0 44 'nsDOMDataChannel.cpp',
michael@0 45 ]
michael@0 46 LOCAL_INCLUDES += [
michael@0 47 '/netwerk/sctp/datachannel',
michael@0 48 ]
michael@0 49
michael@0 50 # Are we targeting x86-32 or x86-64? If so, we want to include SSE2 code for
michael@0 51 # nsTextFragment.cpp
michael@0 52 if CONFIG['INTEL_ARCHITECTURE']:
michael@0 53 SOURCES += ['nsTextFragmentSSE2.cpp']
michael@0 54 SOURCES['nsTextFragmentSSE2.cpp'].flags += CONFIG['SSE2_FLAGS']
michael@0 55
michael@0 56 EXPORTS.mozilla += [
michael@0 57 'FeedWriterEnabled.h',
michael@0 58 ]
michael@0 59
michael@0 60 EXPORTS.mozilla.dom += [
michael@0 61 'Attr.h',
michael@0 62 'Comment.h',
michael@0 63 'DocumentFragment.h',
michael@0 64 'DocumentType.h',
michael@0 65 'DOMImplementation.h',
michael@0 66 'DOMParser.h',
michael@0 67 'DOMPoint.h',
michael@0 68 'DOMQuad.h',
michael@0 69 'DOMRect.h',
michael@0 70 'DOMStringList.h',
michael@0 71 'EventSource.h',
michael@0 72 'Link.h',
michael@0 73 'NodeIterator.h',
michael@0 74 'ShadowRoot.h',
michael@0 75 'StyleSheetList.h',
michael@0 76 'Text.h',
michael@0 77 'TreeWalker.h',
michael@0 78 ]
michael@0 79
michael@0 80 UNIFIED_SOURCES += [
michael@0 81 'Attr.cpp',
michael@0 82 'ChildIterator.cpp',
michael@0 83 'Comment.cpp',
michael@0 84 'DirectionalityUtils.cpp',
michael@0 85 'DocumentFragment.cpp',
michael@0 86 'DocumentType.cpp',
michael@0 87 'DOMImplementation.cpp',
michael@0 88 'DOMParser.cpp',
michael@0 89 'DOMPoint.cpp',
michael@0 90 'DOMQuad.cpp',
michael@0 91 'DOMRect.cpp',
michael@0 92 'DOMStringList.cpp',
michael@0 93 'Element.cpp',
michael@0 94 'EventSource.cpp',
michael@0 95 'FileIOObject.cpp',
michael@0 96 'FragmentOrElement.cpp',
michael@0 97 'Link.cpp',
michael@0 98 'NodeIterator.cpp',
michael@0 99 'nsAtomListUtils.cpp',
michael@0 100 'nsAttrAndChildArray.cpp',
michael@0 101 'nsAttrValue.cpp',
michael@0 102 'nsAttrValueOrString.cpp',
michael@0 103 'nsCCUncollectableMarker.cpp',
michael@0 104 'nsChannelPolicy.cpp',
michael@0 105 'nsContentAreaDragDrop.cpp',
michael@0 106 'nsContentIterator.cpp',
michael@0 107 'nsContentList.cpp',
michael@0 108 'nsContentPolicy.cpp',
michael@0 109 'nsContentSink.cpp',
michael@0 110 'nsCopySupport.cpp',
michael@0 111 'nsCrossSiteListenerProxy.cpp',
michael@0 112 'nsCSPService.cpp',
michael@0 113 'nsDataDocumentContentPolicy.cpp',
michael@0 114 'nsDocumentEncoder.cpp',
michael@0 115 'nsDOMAttributeMap.cpp',
michael@0 116 'nsDOMBlobBuilder.cpp',
michael@0 117 'nsDOMCaretPosition.cpp',
michael@0 118 'nsDOMFile.cpp',
michael@0 119 'nsDOMFileReader.cpp',
michael@0 120 'nsDOMMutationObserver.cpp',
michael@0 121 'nsDOMSerializer.cpp',
michael@0 122 'nsDOMSettableTokenList.cpp',
michael@0 123 'nsDOMTokenList.cpp',
michael@0 124 'nsFormData.cpp',
michael@0 125 'nsFrameLoader.cpp',
michael@0 126 'nsFrameMessageManager.cpp',
michael@0 127 'nsGenConImageContent.cpp',
michael@0 128 'nsGenericDOMDataNode.cpp',
michael@0 129 'nsGkAtoms.cpp',
michael@0 130 'nsHostObjectProtocolHandler.cpp',
michael@0 131 'nsHostObjectURI.cpp',
michael@0 132 'nsHTMLContentSerializer.cpp',
michael@0 133 'nsImageLoadingContent.cpp',
michael@0 134 'nsINode.cpp',
michael@0 135 'nsInProcessTabChildGlobal.cpp',
michael@0 136 'nsLineBreaker.cpp',
michael@0 137 'nsMappedAttributeElement.cpp',
michael@0 138 'nsMappedAttributes.cpp',
michael@0 139 'nsMixedContentBlocker.cpp',
michael@0 140 'nsNameSpaceManager.cpp',
michael@0 141 'nsNoDataProtocolContentPolicy.cpp',
michael@0 142 'nsNodeInfo.cpp',
michael@0 143 'nsNodeUtils.cpp',
michael@0 144 'nsPlainTextSerializer.cpp',
michael@0 145 'nsPropertyTable.cpp',
michael@0 146 'nsRange.cpp',
michael@0 147 'nsReferencedElement.cpp',
michael@0 148 'nsScriptElement.cpp',
michael@0 149 'nsScriptLoader.cpp',
michael@0 150 'nsStubDocumentObserver.cpp',
michael@0 151 'nsStubMutationObserver.cpp',
michael@0 152 'nsStyledElement.cpp',
michael@0 153 'nsStyleLinkElement.cpp',
michael@0 154 'nsSyncLoadService.cpp',
michael@0 155 'nsTextFragment.cpp',
michael@0 156 'nsTextNode.cpp',
michael@0 157 'nsTraversal.cpp',
michael@0 158 'nsTreeSanitizer.cpp',
michael@0 159 'nsViewportInfo.cpp',
michael@0 160 'nsXHTMLContentSerializer.cpp',
michael@0 161 'nsXMLContentSerializer.cpp',
michael@0 162 'nsXMLHttpRequest.cpp',
michael@0 163 'nsXMLNameSpaceMap.cpp',
michael@0 164 'ShadowRoot.cpp',
michael@0 165 'StyleSheetList.cpp',
michael@0 166 'Text.cpp',
michael@0 167 'ThirdPartyUtil.cpp',
michael@0 168 'TreeWalker.cpp',
michael@0 169 'WebSocket.cpp',
michael@0 170 ]
michael@0 171
michael@0 172 # These files cannot be built in unified mode because they use FORCE_PR_LOG
michael@0 173 SOURCES += [
michael@0 174 'nsDocument.cpp',
michael@0 175 'nsNodeInfoManager.cpp',
michael@0 176 ]
michael@0 177
michael@0 178 # These files cannot be built in unified mode because of OS X headers.
michael@0 179 SOURCES += [
michael@0 180 'nsContentUtils.cpp',
michael@0 181 'nsObjectLoadingContent.cpp',
michael@0 182 ]
michael@0 183
michael@0 184 EXTRA_COMPONENTS += [
michael@0 185 'contentAreaDropListener.js',
michael@0 186 'contentAreaDropListener.manifest',
michael@0 187 'contentSecurityPolicy.manifest',
michael@0 188 'messageWakeupService.js',
michael@0 189 'messageWakeupService.manifest',
michael@0 190 ]
michael@0 191
michael@0 192 EXTRA_PP_COMPONENTS += [
michael@0 193 'contentSecurityPolicy.js',
michael@0 194 ]
michael@0 195
michael@0 196 EXTRA_JS_MODULES += [
michael@0 197 'CSPUtils.jsm',
michael@0 198 ]
michael@0 199
michael@0 200 FAIL_ON_WARNINGS = True
michael@0 201
michael@0 202 MSVC_ENABLE_PGO = True
michael@0 203
michael@0 204 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 205
michael@0 206 FINAL_LIBRARY = 'gklayout'
michael@0 207 LOCAL_INCLUDES += [
michael@0 208 '/caps/include',
michael@0 209 '/content/html/content/src',
michael@0 210 '/content/html/document/src',
michael@0 211 '/content/svg/content/src',
michael@0 212 '/content/xml/content/src',
michael@0 213 '/content/xml/document/src',
michael@0 214 '/content/xul/content/src',
michael@0 215 '/content/xul/document/src',
michael@0 216 '/docshell/base',
michael@0 217 '/dom/base',
michael@0 218 '/dom/ipc',
michael@0 219 '/dom/workers',
michael@0 220 '/dom/xbl',
michael@0 221 '/dom/xslt/xpath',
michael@0 222 '/image/src',
michael@0 223 '/js/ipc',
michael@0 224 '/js/xpconnect/src',
michael@0 225 '/js/xpconnect/wrappers',
michael@0 226 '/layout/base',
michael@0 227 '/layout/generic',
michael@0 228 '/layout/style',
michael@0 229 '/layout/svg',
michael@0 230 '/layout/xul',
michael@0 231 '/netwerk/base/src',
michael@0 232 '/xpcom/ds',
michael@0 233 ]
michael@0 234
michael@0 235 if CONFIG['GNU_CC'] and CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
michael@0 236 # Work around bug 986928
michael@0 237 CXXFLAGS += ['-Wno-error=format']

mercurial