1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 TEST_DIRS += ['compiledtest']
11 'nsICanvasRenderingContextInternal.h',
14 EXPORTS.mozilla.ipc += [
15 'DocumentRendererChild.h',
16 'DocumentRendererParent.h',
19 EXPORTS.mozilla.dom += [
22 'CanvasRenderingContext2D.h',
28 # Canvas 2D and common sources
30 'CanvasImageCache.cpp',
31 'CanvasRenderingContext2D.cpp',
33 'DocumentRendererChild.cpp',
34 'DocumentRendererParent.cpp',
44 'WebGLActiveInfo.cpp',
45 'WebGLBindableName.cpp',
48 'WebGLContextAsyncQueries.cpp',
49 'WebGLContextBuffers.cpp',
50 'WebGLContextDraw.cpp',
51 'WebGLContextExtensions.cpp',
52 'WebGLContextFramebufferOperations.cpp',
54 'WebGLContextLossHandler.cpp',
55 'WebGLContextReporter.cpp',
56 'WebGLContextState.cpp',
57 'WebGLContextUtils.cpp',
58 'WebGLContextValidate.cpp',
59 'WebGLContextVertexArray.cpp',
60 'WebGLContextVertices.cpp',
61 'WebGLElementArrayCache.cpp',
62 'WebGLExtensionBase.cpp',
63 'WebGLExtensionBlendMinMax.cpp',
64 'WebGLExtensionColorBufferFloat.cpp',
65 'WebGLExtensionColorBufferHalfFloat.cpp',
66 'WebGLExtensionCompressedTextureATC.cpp',
67 'WebGLExtensionCompressedTextureETC1.cpp',
68 'WebGLExtensionCompressedTexturePVRTC.cpp',
69 'WebGLExtensionCompressedTextureS3TC.cpp',
70 'WebGLExtensionDebugRendererInfo.cpp',
71 'WebGLExtensionDebugShaders.cpp',
72 'WebGLExtensionDepthTexture.cpp',
73 'WebGLExtensionDrawBuffers.cpp',
74 'WebGLExtensionElementIndexUint.cpp',
75 'WebGLExtensionFragDepth.cpp',
76 'WebGLExtensionInstancedArrays.cpp',
77 'WebGLExtensionLoseContext.cpp',
78 'WebGLExtensionShaderTextureLod.cpp',
79 'WebGLExtensionSRGB.cpp',
80 'WebGLExtensionStandardDerivatives.cpp',
81 'WebGLExtensionTextureFilterAnisotropic.cpp',
82 'WebGLExtensionTextureFloat.cpp',
83 'WebGLExtensionTextureFloatLinear.cpp',
84 'WebGLExtensionTextureHalfFloat.cpp',
85 'WebGLExtensionTextureHalfFloatLinear.cpp',
86 'WebGLExtensionVertexArray.cpp',
87 'WebGLFramebuffer.cpp',
88 'WebGLFramebufferAttachable.cpp',
89 'WebGLObjectModel.cpp',
92 'WebGLRenderbuffer.cpp',
94 'WebGLShaderPrecisionFormat.cpp',
95 'WebGLTexelConversions.cpp',
97 'WebGLUniformLocation.cpp',
98 'WebGLVertexArray.cpp',
99 'WebGLVertexArrayFake.cpp',
100 'WebGLVertexArrayGL.cpp',
103 '/js/xpconnect/wrappers',
106 FAIL_ON_WARNINGS = True
108 MSVC_ENABLE_PGO = True
110 include('/ipc/chromium/chromium-config.mozbuild')
112 FINAL_LIBRARY = 'xul'
115 '/content/html/content/src',
116 '/content/svg/content/src',
117 '/content/xul/content/src',
126 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
127 CXXFLAGS += CONFIG['TK_CFLAGS']