content/canvas/src/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/canvas/src/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,109 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +EXPORTS.mozilla.dom += [
    1.11 +    'CanvasGradient.h',
    1.12 +    'CanvasPattern.h',
    1.13 +    'CanvasRenderingContext2D.h',
    1.14 +    'CanvasUtils.h',
    1.15 +    'ImageData.h',
    1.16 +    'TextMetrics.h',
    1.17 +]
    1.18 +
    1.19 +UNIFIED_SOURCES += [
    1.20 +    'CanvasImageCache.cpp',
    1.21 +    'CanvasRenderingContext2D.cpp',
    1.22 +    'CanvasUtils.cpp',
    1.23 +    'DocumentRendererChild.cpp',
    1.24 +    'DocumentRendererParent.cpp',
    1.25 +    'ImageData.cpp',
    1.26 +    'ImageEncoder.cpp',
    1.27 +]
    1.28 +
    1.29 +if CONFIG['MOZ_WEBGL']:
    1.30 +    UNIFIED_SOURCES += [
    1.31 +        'WebGL1Context.cpp',
    1.32 +        'WebGL2Context.cpp',
    1.33 +        'WebGLActiveInfo.cpp',
    1.34 +        'WebGLBuffer.cpp',
    1.35 +        'WebGLContext.cpp',
    1.36 +        'WebGLContextAsyncQueries.cpp',
    1.37 +        'WebGLContextBuffers.cpp',
    1.38 +        'WebGLContextDraw.cpp',
    1.39 +        'WebGLContextExtensions.cpp',
    1.40 +        'WebGLContextFramebufferOperations.cpp',
    1.41 +        'WebGLContextGL.cpp',
    1.42 +        'WebGLContextLossTimer.cpp',
    1.43 +        'WebGLContextReporter.cpp',
    1.44 +        'WebGLContextState.cpp',
    1.45 +        'WebGLContextUtils.cpp',
    1.46 +        'WebGLContextValidate.cpp',
    1.47 +        'WebGLContextVertexArray.cpp',
    1.48 +        'WebGLContextVertices.cpp',
    1.49 +        'WebGLElementArrayCache.cpp',
    1.50 +        'WebGLExtensionBase.cpp',
    1.51 +        'WebGLExtensionColorBufferFloat.cpp',
    1.52 +        'WebGLExtensionColorBufferHalfFloat.cpp',
    1.53 +        'WebGLExtensionCompressedTextureATC.cpp',
    1.54 +        'WebGLExtensionCompressedTextureETC1.cpp',
    1.55 +        'WebGLExtensionCompressedTexturePVRTC.cpp',
    1.56 +        'WebGLExtensionCompressedTextureS3TC.cpp',
    1.57 +        'WebGLExtensionDebugRendererInfo.cpp',
    1.58 +        'WebGLExtensionDebugShaders.cpp',
    1.59 +        'WebGLExtensionDepthTexture.cpp',
    1.60 +        'WebGLExtensionDrawBuffers.cpp',
    1.61 +        'WebGLExtensionElementIndexUint.cpp',
    1.62 +        'WebGLExtensionFragDepth.cpp',
    1.63 +        'WebGLExtensionInstancedArrays.cpp',
    1.64 +        'WebGLExtensionLoseContext.cpp',
    1.65 +        'WebGLExtensionSRGB.cpp',
    1.66 +        'WebGLExtensionStandardDerivatives.cpp',
    1.67 +        'WebGLExtensionTextureFilterAnisotropic.cpp',
    1.68 +        'WebGLExtensionTextureFloat.cpp',
    1.69 +        'WebGLExtensionTextureFloatLinear.cpp',
    1.70 +        'WebGLExtensionTextureHalfFloat.cpp',
    1.71 +        'WebGLExtensionTextureHalfFloatLinear.cpp',
    1.72 +        'WebGLExtensionVertexArray.cpp',
    1.73 +        'WebGLFramebuffer.cpp',
    1.74 +        'WebGLFramebufferAttachable.cpp',
    1.75 +        'WebGLObjectModel.cpp',
    1.76 +        'WebGLProgram.cpp',
    1.77 +        'WebGLQuery.cpp',
    1.78 +        'WebGLRenderbuffer.cpp',
    1.79 +        'WebGLShader.cpp',
    1.80 +        'WebGLShaderPrecisionFormat.cpp',
    1.81 +        'WebGLTexelConversions.cpp',
    1.82 +        'WebGLTexture.cpp',
    1.83 +        'WebGLUniformLocation.cpp',
    1.84 +        'WebGLVertexArray.cpp',
    1.85 +    ]
    1.86 +    LOCAL_INCLUDES += [
    1.87 +        '/js/xpconnect/wrappers',
    1.88 +    ]
    1.89 +else:
    1.90 +    UNIFIED_SOURCES += [
    1.91 +        'WebGLContextNotSupported.cpp',
    1.92 +    ]
    1.93 +
    1.94 +FAIL_ON_WARNINGS = True
    1.95 +
    1.96 +MSVC_ENABLE_PGO = True
    1.97 +
    1.98 +include('/ipc/chromium/chromium-config.mozbuild')
    1.99 +
   1.100 +FINAL_LIBRARY = 'gklayout'
   1.101 +LOCAL_INCLUDES += [
   1.102 +    '/content/base/src',
   1.103 +    '/content/html/content/src',
   1.104 +    '/content/svg/content/src',
   1.105 +    '/content/xul/content/src',
   1.106 +    '/dom/base',
   1.107 +    '/image/src',
   1.108 +    '/js/xpconnect/src',
   1.109 +    '/layout/generic',
   1.110 +    '/layout/style',
   1.111 +    '/layout/xul',
   1.112 +]

mercurial