content/canvas/src/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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.mozilla.dom += [
michael@0 8 'CanvasGradient.h',
michael@0 9 'CanvasPattern.h',
michael@0 10 'CanvasRenderingContext2D.h',
michael@0 11 'CanvasUtils.h',
michael@0 12 'ImageData.h',
michael@0 13 'TextMetrics.h',
michael@0 14 ]
michael@0 15
michael@0 16 UNIFIED_SOURCES += [
michael@0 17 'CanvasImageCache.cpp',
michael@0 18 'CanvasRenderingContext2D.cpp',
michael@0 19 'CanvasUtils.cpp',
michael@0 20 'DocumentRendererChild.cpp',
michael@0 21 'DocumentRendererParent.cpp',
michael@0 22 'ImageData.cpp',
michael@0 23 'ImageEncoder.cpp',
michael@0 24 ]
michael@0 25
michael@0 26 if CONFIG['MOZ_WEBGL']:
michael@0 27 UNIFIED_SOURCES += [
michael@0 28 'WebGL1Context.cpp',
michael@0 29 'WebGL2Context.cpp',
michael@0 30 'WebGLActiveInfo.cpp',
michael@0 31 'WebGLBuffer.cpp',
michael@0 32 'WebGLContext.cpp',
michael@0 33 'WebGLContextAsyncQueries.cpp',
michael@0 34 'WebGLContextBuffers.cpp',
michael@0 35 'WebGLContextDraw.cpp',
michael@0 36 'WebGLContextExtensions.cpp',
michael@0 37 'WebGLContextFramebufferOperations.cpp',
michael@0 38 'WebGLContextGL.cpp',
michael@0 39 'WebGLContextLossTimer.cpp',
michael@0 40 'WebGLContextReporter.cpp',
michael@0 41 'WebGLContextState.cpp',
michael@0 42 'WebGLContextUtils.cpp',
michael@0 43 'WebGLContextValidate.cpp',
michael@0 44 'WebGLContextVertexArray.cpp',
michael@0 45 'WebGLContextVertices.cpp',
michael@0 46 'WebGLElementArrayCache.cpp',
michael@0 47 'WebGLExtensionBase.cpp',
michael@0 48 'WebGLExtensionColorBufferFloat.cpp',
michael@0 49 'WebGLExtensionColorBufferHalfFloat.cpp',
michael@0 50 'WebGLExtensionCompressedTextureATC.cpp',
michael@0 51 'WebGLExtensionCompressedTextureETC1.cpp',
michael@0 52 'WebGLExtensionCompressedTexturePVRTC.cpp',
michael@0 53 'WebGLExtensionCompressedTextureS3TC.cpp',
michael@0 54 'WebGLExtensionDebugRendererInfo.cpp',
michael@0 55 'WebGLExtensionDebugShaders.cpp',
michael@0 56 'WebGLExtensionDepthTexture.cpp',
michael@0 57 'WebGLExtensionDrawBuffers.cpp',
michael@0 58 'WebGLExtensionElementIndexUint.cpp',
michael@0 59 'WebGLExtensionFragDepth.cpp',
michael@0 60 'WebGLExtensionInstancedArrays.cpp',
michael@0 61 'WebGLExtensionLoseContext.cpp',
michael@0 62 'WebGLExtensionSRGB.cpp',
michael@0 63 'WebGLExtensionStandardDerivatives.cpp',
michael@0 64 'WebGLExtensionTextureFilterAnisotropic.cpp',
michael@0 65 'WebGLExtensionTextureFloat.cpp',
michael@0 66 'WebGLExtensionTextureFloatLinear.cpp',
michael@0 67 'WebGLExtensionTextureHalfFloat.cpp',
michael@0 68 'WebGLExtensionTextureHalfFloatLinear.cpp',
michael@0 69 'WebGLExtensionVertexArray.cpp',
michael@0 70 'WebGLFramebuffer.cpp',
michael@0 71 'WebGLFramebufferAttachable.cpp',
michael@0 72 'WebGLObjectModel.cpp',
michael@0 73 'WebGLProgram.cpp',
michael@0 74 'WebGLQuery.cpp',
michael@0 75 'WebGLRenderbuffer.cpp',
michael@0 76 'WebGLShader.cpp',
michael@0 77 'WebGLShaderPrecisionFormat.cpp',
michael@0 78 'WebGLTexelConversions.cpp',
michael@0 79 'WebGLTexture.cpp',
michael@0 80 'WebGLUniformLocation.cpp',
michael@0 81 'WebGLVertexArray.cpp',
michael@0 82 ]
michael@0 83 LOCAL_INCLUDES += [
michael@0 84 '/js/xpconnect/wrappers',
michael@0 85 ]
michael@0 86 else:
michael@0 87 UNIFIED_SOURCES += [
michael@0 88 'WebGLContextNotSupported.cpp',
michael@0 89 ]
michael@0 90
michael@0 91 FAIL_ON_WARNINGS = True
michael@0 92
michael@0 93 MSVC_ENABLE_PGO = True
michael@0 94
michael@0 95 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 96
michael@0 97 FINAL_LIBRARY = 'gklayout'
michael@0 98 LOCAL_INCLUDES += [
michael@0 99 '/content/base/src',
michael@0 100 '/content/html/content/src',
michael@0 101 '/content/svg/content/src',
michael@0 102 '/content/xul/content/src',
michael@0 103 '/dom/base',
michael@0 104 '/image/src',
michael@0 105 '/js/xpconnect/src',
michael@0 106 '/layout/generic',
michael@0 107 '/layout/style',
michael@0 108 '/layout/xul',
michael@0 109 ]

mercurial