Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / dom / canvas / moz.build
blobc2cff1605d950f0d10b7840bb24c8edb6ca80032
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/.
7 TEST_DIRS += ['test']
8 TEST_DIRS += ['compiledtest']
10 EXPORTS += [
11     'nsICanvasRenderingContextInternal.h',
14 EXPORTS.mozilla.ipc += [
15     'DocumentRendererChild.h',
16     'DocumentRendererParent.h',
19 EXPORTS.mozilla.dom += [
20     'CanvasGradient.h',
21     'CanvasPattern.h',
22     'CanvasRenderingContext2D.h',
23     'CanvasUtils.h',
24     'ImageData.h',
25     'TextMetrics.h',
28 # Canvas 2D and common sources
29 UNIFIED_SOURCES += [
30     'CanvasImageCache.cpp',
31     'CanvasRenderingContext2D.cpp',
32     'CanvasUtils.cpp',
33     'DocumentRendererChild.cpp',
34     'DocumentRendererParent.cpp',
35     'ImageData.cpp',
36     'ImageEncoder.cpp',
39 # WebGL Sources
40 UNIFIED_SOURCES += [
41     'MurmurHash3.cpp',
42     'WebGL1Context.cpp',
43     'WebGL2Context.cpp',
44     'WebGLActiveInfo.cpp',
45     'WebGLBindableName.cpp',
46     'WebGLBuffer.cpp',
47     'WebGLContext.cpp',
48     'WebGLContextAsyncQueries.cpp',
49     'WebGLContextBuffers.cpp',
50     'WebGLContextDraw.cpp',
51     'WebGLContextExtensions.cpp',
52     'WebGLContextFramebufferOperations.cpp',
53     'WebGLContextGL.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',
90     'WebGLProgram.cpp',
91     'WebGLQuery.cpp',
92     'WebGLRenderbuffer.cpp',
93     'WebGLShader.cpp',
94     'WebGLShaderPrecisionFormat.cpp',
95     'WebGLTexelConversions.cpp',
96     'WebGLTexture.cpp',
97     'WebGLUniformLocation.cpp',
98     'WebGLVertexArray.cpp',
99     'WebGLVertexArrayFake.cpp',
100     'WebGLVertexArrayGL.cpp',
102 LOCAL_INCLUDES += [
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'
113 LOCAL_INCLUDES += [
114     '/content/base/src',
115     '/content/html/content/src',
116     '/content/svg/content/src',
117     '/content/xul/content/src',
118     '/dom/base',
119     '/image/src',
120     '/js/xpconnect/src',
121     '/layout/generic',
122     '/layout/style',
123     '/layout/xul',
126 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
127 CXXFLAGS += CONFIG['TK_CFLAGS']