Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: cc/cc.gyp

Issue 10828381: libcc and webkit_compositor targets + stubs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Slightly better scripts and updated README Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 0, 7 'chromium_code': 0,
8 'use_libcc_for_compositor%': 0,
9 'cc_source_files': [
10 'BitmapCanvasLayerTextureUpdater.cpp',
11 'BitmapCanvasLayerTextureUpdater.h',
12 'BitmapSkPictureCanvasLayerTextureUpdater.cpp',
13 'BitmapSkPictureCanvasLayerTextureUpdater.h',
14 'CCActiveAnimation.cpp',
15 'CCActiveAnimation.h',
16 'CCActiveGestureAnimation.cpp',
17 'CCActiveGestureAnimation.h',
18 'CCAnimationCurve.cpp',
19 'CCAnimationCurve.h',
20 'CCAnimationEvents.h',
21 'CCCheckerboardDrawQuad.cpp',
22 'CCCheckerboardDrawQuad.h',
23 'CCCompletionEvent.h',
24 'CCDamageTracker.cpp',
25 'CCDamageTracker.h',
26 'CCDebugBorderDrawQuad.cpp',
27 'CCDebugBorderDrawQuad.h',
28 'CCDebugRectHistory.cpp',
29 'CCDebugRectHistory.h',
30 'CCDelayBasedTimeSource.cpp',
31 'CCDelayBasedTimeSource.h',
32 'CCDirectRenderer.cpp',
33 'CCDirectRenderer.h',
34 'CCDrawQuad.cpp',
35 'CCDrawQuad.h',
36 'CCFontAtlas.cpp',
37 'CCFontAtlas.h',
38 'CCFrameRateController.cpp',
39 'CCFrameRateController.h',
40 'CCFrameRateCounter.cpp',
41 'CCFrameRateCounter.h',
42 'CCGestureCurve.h',
43 'CCGraphicsContext.h',
44 'CCHeadsUpDisplayLayerImpl.cpp',
45 'CCHeadsUpDisplayLayerImpl.h',
46 'CCIOSurfaceDrawQuad.cpp',
47 'CCIOSurfaceDrawQuad.h',
48 'CCIOSurfaceLayerImpl.cpp',
49 'CCIOSurfaceLayerImpl.h',
50 'CCInputHandler.h',
51 'CCKeyframedAnimationCurve.cpp',
52 'CCKeyframedAnimationCurve.h',
53 'CCLayerAnimationController.cpp',
54 'CCLayerAnimationController.h',
55 'CCLayerImpl.cpp',
56 'CCLayerImpl.h',
57 'CCLayerIterator.cpp',
58 'CCLayerIterator.h',
59 'CCLayerQuad.cpp',
60 'CCLayerQuad.h',
61 'CCLayerSorter.cpp',
62 'CCLayerSorter.h',
63 'CCLayerTilingData.cpp',
64 'CCLayerTilingData.h',
65 'CCLayerTreeHost.cpp',
66 'CCLayerTreeHost.h',
67 'CCLayerTreeHostCommon.cpp',
68 'CCLayerTreeHostCommon.h',
69 'CCLayerTreeHostImpl.cpp',
70 'CCLayerTreeHostImpl.h',
71 'CCMathUtil.cpp',
72 'CCMathUtil.h',
73 'CCOcclusionTracker.cpp',
74 'CCOcclusionTracker.h',
75 'CCOverdrawMetrics.cpp',
76 'CCOverdrawMetrics.h',
77 'CCPageScaleAnimation.cpp',
78 'CCPageScaleAnimation.h',
79 'CCPrioritizedTexture.cpp',
80 'CCPrioritizedTexture.h',
81 'CCPrioritizedTextureManager.cpp',
82 'CCPrioritizedTextureManager.h',
83 'CCPriorityCalculator.cpp',
84 'CCPriorityCalculator.h',
85 'CCProxy.cpp',
86 'CCProxy.h',
87 'CCQuadCuller.cpp',
88 'CCQuadCuller.h',
89 'CCQuadSink.h',
90 'CCRenderPass.cpp',
91 'CCRenderPass.h',
92 'CCRenderPassDrawQuad.cpp',
93 'CCRenderPassDrawQuad.h',
94 'CCRenderSurface.cpp',
95 'CCRenderSurface.h',
96 'CCRenderSurfaceFilters.cpp',
97 'CCRenderSurfaceFilters.h',
98 'CCRenderer.h',
99 'CCRendererGL.cpp',
100 'CCRendererGL.h',
101 'CCRenderingStats.h',
102 'CCResourceProvider.cpp',
103 'CCResourceProvider.h',
104 'CCScheduler.cpp',
105 'CCScheduler.h',
106 'CCSchedulerStateMachine.cpp',
107 'CCSchedulerStateMachine.h',
108 'CCScopedTexture.cpp',
109 'CCScopedTexture.h',
110 'CCScopedThreadProxy.h',
111 'CCScrollbarAnimationController.cpp',
112 'CCScrollbarAnimationController.h',
113 'CCScrollbarAnimationControllerLinearFade.cpp',
114 'CCScrollbarAnimationControllerLinearFade.h',
115 'CCScrollbarLayerImpl.cpp',
116 'CCScrollbarLayerImpl.h',
117 'CCSettings.cpp',
118 'CCSettings.h',
119 'CCSharedQuadState.cpp',
120 'CCSharedQuadState.h',
121 'CCSingleThreadProxy.cpp',
122 'CCSingleThreadProxy.h',
123 'CCSolidColorDrawQuad.cpp',
124 'CCSolidColorDrawQuad.h',
125 'CCSolidColorLayerImpl.cpp',
126 'CCSolidColorLayerImpl.h',
127 'CCStreamVideoDrawQuad.cpp',
128 'CCStreamVideoDrawQuad.h',
129 'CCTexture.cpp',
130 'CCTexture.h',
131 'CCTextureDrawQuad.cpp',
132 'CCTextureDrawQuad.h',
133 'CCTextureLayerImpl.cpp',
134 'CCTextureLayerImpl.h',
135 'CCTextureUpdateController.cpp',
136 'CCTextureUpdateController.h',
137 'CCTextureUpdateQueue.cpp',
138 'CCTextureUpdateQueue.h',
139 'CCThread.h',
140 'CCThreadProxy.cpp',
141 'CCThreadProxy.h',
142 'CCThreadTask.h',
143 'CCTileDrawQuad.cpp',
144 'CCTileDrawQuad.h',
145 'CCTiledLayerImpl.cpp',
146 'CCTiledLayerImpl.h',
147 'CCTimeSource.h',
148 'CCTimer.cpp',
149 'CCTimer.h',
150 'CCTimingFunction.cpp',
151 'CCTimingFunction.h',
152 'CCVideoLayerImpl.cpp',
153 'CCVideoLayerImpl.h',
154 'CCYUVVideoDrawQuad.cpp',
155 'CCYUVVideoDrawQuad.h',
156 'CanvasLayerTextureUpdater.cpp',
157 'CanvasLayerTextureUpdater.h',
158 'ContentLayerChromium.cpp',
159 'ContentLayerChromium.h',
160 'FrameBufferSkPictureCanvasLayerTextureUpdater.cpp',
161 'FrameBufferSkPictureCanvasLayerTextureUpdater.h',
162 'GeometryBinding.cpp',
163 'GeometryBinding.h',
164 'HeadsUpDisplayLayerChromium.cpp',
165 'HeadsUpDisplayLayerChromium.h',
166 'IOSurfaceLayerChromium.cpp',
167 'IOSurfaceLayerChromium.h',
168 'ImageLayerChromium.cpp',
169 'ImageLayerChromium.h',
170 'LayerChromium.cpp',
171 'LayerChromium.h',
172 'LayerPainterChromium.h',
173 'LayerTextureSubImage.cpp',
174 'LayerTextureSubImage.h',
175 'LayerTextureUpdater.h',
176 'PlatformColor.h',
177 'ProgramBinding.cpp',
178 'ProgramBinding.h',
179 'RateLimiter.cpp',
180 'RateLimiter.h',
181 'RenderSurfaceChromium.cpp',
182 'RenderSurfaceChromium.h',
183 'ScrollbarLayerChromium.cpp',
184 'ScrollbarLayerChromium.h',
185 'ShaderChromium.cpp',
186 'ShaderChromium.h',
187 'SkPictureCanvasLayerTextureUpdater.cpp',
188 'SkPictureCanvasLayerTextureUpdater.h',
189 'SolidColorLayerChromium.cpp',
190 'SolidColorLayerChromium.h',
191 'TextureCopier.cpp',
192 'TextureCopier.h',
193 'TextureLayerChromium.cpp',
194 'TextureLayerChromium.h',
195 'TextureUploader.h',
196 'ThrottledTextureUploader.cpp',
197 'ThrottledTextureUploader.h',
198 'UnthrottledTextureUploader.h',
199 'TiledLayerChromium.cpp',
200 'TiledLayerChromium.h',
201 'TreeSynchronizer.cpp',
202 'TreeSynchronizer.h',
203 'VideoLayerChromium.cpp',
204 'VideoLayerChromium.h',
205 ],
8 }, 206 },
9
10 'targets': [ 207 'targets': [
11 { 208 {
12 'target_name': 'cc', 209 'target_name': 'cc',
13 'type': 'static_library', 210 'type': 'static_library',
14 } 211 'conditions': [
15 ] 212 ['use_libcc_for_compositor==1', {
213 'dependencies': [
214 '<(DEPTH)/base/base.gyp:base',
215 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.g yp:dynamic_annotations',
216 '<(DEPTH)/skia/skia.gyp:skia',
217 '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.g yp:webkit_platform',
218 # We have to depend on WTF directly to pick up the correct defines f or WTF headers - for instance USE_SYSTEM_MALLOC.
219 '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
220 '<(DEPTH)/ui/gl/gl.gyp:gl',
221 '<(DEPTH)/ui/ui.gyp:ui',
222 ],
223 'defines': [
224 'WTF_USE_ACCELERATED_COMPOSITING=1',
225 ],
226 'include_dirs': [
227 'stubs',
228 ],
229 'sources': [
230 '<@(cc_source_files)',
231 'stubs/Extensions3DChromium.h',
232 'stubs/Extensions3D.h',
233 'stubs/GraphicsContext3D.h',
234 'stubs/GraphicsTypes3D.h',
235 'stubs/NotImplemented.h',
236 'stubs/Region.h',
237 'stubs/ScrollbarThemeClient.h',
238 'stubs/ScrollTypes.h',
239 'stubs/SharedGraphicsContext3D.h',
240 'stubs/SkiaUtils.h',
241 'stubs/TextStream.h',
242 'stubs/TilingData.h',
243 'stubs/Timer.h',
244 'stubs/TraceEvent.h',
245 'stubs/UnitBezier.h',
246 ],
247 }],
248 ],
249 },
250 ],
16 } 251 }
OLDNEW
« no previous file with comments | « cc/README ('k') | cc/cc_tests.gyp » ('j') | cc/test/RunAllTests.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698