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