2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:19 -08: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/.
|
|
|
|
|
2014-07-25 14:15:35 -07:00
|
|
|
TEST_DIRS += ['test']
|
|
|
|
TEST_TOOL_DIRS += ['compiledtest']
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsICanvasRenderingContextInternal.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.ipc += [
|
|
|
|
'DocumentRendererChild.h',
|
|
|
|
'DocumentRendererParent.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla.dom += [
|
2013-04-26 07:55:37 -07:00
|
|
|
'CanvasGradient.h',
|
2013-04-19 01:49:22 -07:00
|
|
|
'CanvasPattern.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'CanvasRenderingContext2D.h',
|
|
|
|
'CanvasUtils.h',
|
|
|
|
'ImageData.h',
|
2013-04-19 01:49:21 -07:00
|
|
|
'TextMetrics.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
2013-11-18 05:08:24 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'CanvasImageCache.cpp',
|
|
|
|
'CanvasRenderingContext2D.cpp',
|
|
|
|
'CanvasUtils.cpp',
|
|
|
|
'DocumentRendererChild.cpp',
|
|
|
|
'DocumentRendererParent.cpp',
|
|
|
|
'ImageData.cpp',
|
2013-10-16 19:55:04 -07:00
|
|
|
'ImageEncoder.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBGL']:
|
2013-11-18 05:08:24 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2014-05-13 17:15:19 -07:00
|
|
|
'MurmurHash3.cpp',
|
2013-07-16 07:32:24 -07:00
|
|
|
'WebGL1Context.cpp',
|
2013-07-17 06:58:09 -07:00
|
|
|
'WebGL2Context.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'WebGLActiveInfo.cpp',
|
|
|
|
'WebGLBuffer.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLContext.cpp',
|
2013-08-06 14:23:46 -07:00
|
|
|
'WebGLContextAsyncQueries.cpp',
|
2013-08-20 08:36:19 -07:00
|
|
|
'WebGLContextBuffers.cpp',
|
2014-03-31 02:10:49 -07:00
|
|
|
'WebGLContextDraw.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'WebGLContextExtensions.cpp',
|
|
|
|
'WebGLContextFramebufferOperations.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLContextGL.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'WebGLContextLossTimer.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLContextReporter.cpp',
|
2013-08-15 17:43:47 -07:00
|
|
|
'WebGLContextState.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'WebGLContextUtils.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLContextValidate.cpp',
|
2013-07-17 09:13:38 -07:00
|
|
|
'WebGLContextVertexArray.cpp',
|
2013-07-25 17:38:58 -07:00
|
|
|
'WebGLContextVertices.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLElementArrayCache.cpp',
|
|
|
|
'WebGLExtensionBase.cpp',
|
2014-06-14 09:07:53 -07:00
|
|
|
'WebGLExtensionBlendMinMax.cpp',
|
2014-03-07 13:26:17 -08:00
|
|
|
'WebGLExtensionColorBufferFloat.cpp',
|
|
|
|
'WebGLExtensionColorBufferHalfFloat.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLExtensionCompressedTextureATC.cpp',
|
2014-03-10 15:42:58 -07:00
|
|
|
'WebGLExtensionCompressedTextureETC1.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLExtensionCompressedTexturePVRTC.cpp',
|
|
|
|
'WebGLExtensionCompressedTextureS3TC.cpp',
|
|
|
|
'WebGLExtensionDebugRendererInfo.cpp',
|
2014-02-11 14:37:06 -08:00
|
|
|
'WebGLExtensionDebugShaders.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLExtensionDepthTexture.cpp',
|
2013-06-21 16:44:17 -07:00
|
|
|
'WebGLExtensionDrawBuffers.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLExtensionElementIndexUint.cpp',
|
2014-02-13 15:00:12 -08:00
|
|
|
'WebGLExtensionFragDepth.cpp',
|
2013-08-13 15:11:01 -07:00
|
|
|
'WebGLExtensionInstancedArrays.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLExtensionLoseContext.cpp',
|
2013-11-04 13:05:04 -08:00
|
|
|
'WebGLExtensionSRGB.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLExtensionStandardDerivatives.cpp',
|
|
|
|
'WebGLExtensionTextureFilterAnisotropic.cpp',
|
|
|
|
'WebGLExtensionTextureFloat.cpp',
|
2013-06-10 13:00:52 -07:00
|
|
|
'WebGLExtensionTextureFloatLinear.cpp',
|
2014-01-23 13:47:37 -08:00
|
|
|
'WebGLExtensionTextureHalfFloat.cpp',
|
2014-02-13 06:53:53 -08:00
|
|
|
'WebGLExtensionTextureHalfFloatLinear.cpp',
|
2013-06-27 14:07:21 -07:00
|
|
|
'WebGLExtensionVertexArray.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLFramebuffer.cpp',
|
2014-03-03 23:14:35 -08:00
|
|
|
'WebGLFramebufferAttachable.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLObjectModel.cpp',
|
|
|
|
'WebGLProgram.cpp',
|
2013-08-06 14:23:46 -07:00
|
|
|
'WebGLQuery.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLRenderbuffer.cpp',
|
|
|
|
'WebGLShader.cpp',
|
|
|
|
'WebGLShaderPrecisionFormat.cpp',
|
|
|
|
'WebGLTexelConversions.cpp',
|
|
|
|
'WebGLTexture.cpp',
|
|
|
|
'WebGLUniformLocation.cpp',
|
2013-06-27 14:07:21 -07:00
|
|
|
'WebGLVertexArray.cpp',
|
2014-06-05 16:38:27 -07:00
|
|
|
'WebGLVertexArrayFake.cpp',
|
|
|
|
'WebGLVertexArrayGL.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
2013-11-11 00:04:06 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/js/xpconnect/wrappers',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
else:
|
2013-11-18 05:08:24 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'WebGLContextNotSupported.cpp',
|
|
|
|
]
|
2013-08-21 23:55:59 -07:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 00:04:06 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/content/base/src',
|
|
|
|
'/content/html/content/src',
|
2014-03-24 06:31:19 -07:00
|
|
|
'/content/svg/content/src',
|
2013-11-11 00:04:06 -08:00
|
|
|
'/content/xul/content/src',
|
|
|
|
'/dom/base',
|
|
|
|
'/image/src',
|
|
|
|
'/js/xpconnect/src',
|
|
|
|
'/layout/generic',
|
|
|
|
'/layout/style',
|
2013-12-03 17:06:16 -08:00
|
|
|
'/layout/xul',
|
2013-11-11 00:04:06 -08:00
|
|
|
]
|