OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 0, |
| 8 }, |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'cc', |
| 12 'type': '<(component)', |
| 13 'dependencies': [ |
| 14 '<(DEPTH)/base/base.gyp:base', |
| 15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 16 '<(DEPTH)/skia/skia.gyp:skia', |
| 17 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 18 '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:w
ebkit_platform', |
| 19 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 20 '<(DEPTH)/ui/ui.gyp:ui', |
| 21 #'<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
| 22 #'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', |
| 23 ], |
| 24 'defines': [ |
| 25 'COMPOSITOR_IMPLEMENTATION', |
| 26 'WTF_USE_ACCELERATED_COMPOSITING=1', |
| 27 ], |
| 28 'include_dirs': [ |
| 29 '<(DEPTH)/third_party/WebKit/Source/WTF', |
| 30 '<(DEPTH)/testing/gmock/include', |
| 31 '.', # so cc/dlkfjdlfkj works |
| 32 'stubs', |
| 33 ], |
| 34 'sources': [ |
| 35 'BitmapCanvasLayerTextureUpdater.cpp', |
| 36 'BitmapCanvasLayerTextureUpdater.h', |
| 37 'BitmapSkPictureCanvasLayerTextureUpdater.cpp', |
| 38 'BitmapSkPictureCanvasLayerTextureUpdater.h', |
| 39 'CanvasLayerTextureUpdater.cpp', |
| 40 'CanvasLayerTextureUpdater.h', |
| 41 'cc/CCActiveAnimation.cpp', |
| 42 'cc/CCActiveAnimation.h', |
| 43 'cc/CCActiveGestureAnimation.cpp', |
| 44 'cc/CCActiveGestureAnimation.h', |
| 45 'cc/CCAnimationCurve.cpp', |
| 46 'cc/CCAnimationCurve.h', |
| 47 'cc/CCAnimationEvents.h', |
| 48 'cc/CCCheckerboardDrawQuad.cpp', |
| 49 'cc/CCCheckerboardDrawQuad.h', |
| 50 'cc/CCCompletionEvent.h', |
| 51 'cc/CCDamageTracker.cpp', |
| 52 'cc/CCDamageTracker.h', |
| 53 'cc/CCDebugBorderDrawQuad.cpp', |
| 54 'cc/CCDebugBorderDrawQuad.h', |
| 55 'cc/CCDebugRectHistory.cpp', |
| 56 'cc/CCDebugRectHistory.h', |
| 57 'cc/CCDelayBasedTimeSource.cpp', |
| 58 'cc/CCDelayBasedTimeSource.h', |
| 59 'cc/CCDrawQuad.cpp', |
| 60 'cc/CCDrawQuad.h', |
| 61 'cc/CCFontAtlas.cpp', |
| 62 'cc/CCFontAtlas.h', |
| 63 'cc/CCFrameRateController.cpp', |
| 64 'cc/CCFrameRateController.h', |
| 65 'cc/CCFrameRateCounter.cpp', |
| 66 'cc/CCFrameRateCounter.h', |
| 67 'cc/CCGestureCurve.h', |
| 68 'cc/CCGraphicsContext.h', |
| 69 'cc/CCHeadsUpDisplay.cpp', |
| 70 'cc/CCHeadsUpDisplay.h', |
| 71 'cc/CCInputHandler.h', |
| 72 'cc/CCIOSurfaceDrawQuad.cpp', |
| 73 'cc/CCIOSurfaceDrawQuad.h', |
| 74 'cc/CCIOSurfaceLayerImpl.cpp', |
| 75 'cc/CCIOSurfaceLayerImpl.h', |
| 76 'cc/CCKeyframedAnimationCurve.cpp', |
| 77 'cc/CCKeyframedAnimationCurve.h', |
| 78 'cc/CCLayerAnimationController.cpp', |
| 79 'cc/CCLayerAnimationController.h', |
| 80 'cc/CCLayerAnimationDelegate.h', |
| 81 'cc/CCLayerImpl.cpp', |
| 82 'cc/CCLayerImpl.h', |
| 83 'cc/CCLayerIterator.cpp', |
| 84 'cc/CCLayerIterator.h', |
| 85 'cc/CCLayerQuad.cpp', |
| 86 'cc/CCLayerQuad.h', |
| 87 'cc/CCLayerSorter.cpp', |
| 88 'cc/CCLayerSorter.h', |
| 89 'cc/CCLayerTilingData.cpp', |
| 90 'cc/CCLayerTilingData.h', |
| 91 'cc/CCLayerTreeHostCommon.cpp', |
| 92 'cc/CCLayerTreeHostCommon.h', |
| 93 'cc/CCLayerTreeHost.cpp', |
| 94 'cc/CCLayerTreeHost.h', |
| 95 'cc/CCLayerTreeHostImpl.cpp', |
| 96 'cc/CCLayerTreeHostImpl.h', |
| 97 'cc/CCMathUtil.cpp', |
| 98 'cc/CCMathUtil.h', |
| 99 'cc/CCOcclusionTracker.cpp', |
| 100 'cc/CCOcclusionTracker.h', |
| 101 'cc/CCOverdrawMetrics.cpp', |
| 102 'cc/CCOverdrawMetrics.h', |
| 103 'cc/CCPageScaleAnimation.cpp', |
| 104 'cc/CCPageScaleAnimation.h', |
| 105 'cc/CCProxy.cpp', |
| 106 'cc/CCProxy.h', |
| 107 'cc/CCQuadCuller.cpp', |
| 108 'cc/CCQuadCuller.h', |
| 109 'cc/CCRenderer.h', |
| 110 'cc/CCRenderingStats.h', |
| 111 'cc/CCRenderPass.cpp', |
| 112 'cc/CCRenderPassDrawQuad.cpp', |
| 113 'cc/CCRenderPassDrawQuad.h', |
| 114 'cc/CCRenderPass.h', |
| 115 'cc/CCRenderSurface.cpp', |
| 116 'cc/CCRenderSurfaceFilters.cpp', |
| 117 'cc/CCRenderSurfaceFilters.h', |
| 118 'cc/CCRenderSurface.h', |
| 119 'cc/CCScheduler.cpp', |
| 120 'cc/CCScheduler.h', |
| 121 'cc/CCSchedulerStateMachine.cpp', |
| 122 'cc/CCSchedulerStateMachine.h', |
| 123 'cc/CCScopedThreadProxy.h', |
| 124 'cc/CCScrollbarLayerImpl.cpp', |
| 125 'cc/CCScrollbarLayerImpl.h', |
| 126 'cc/CCSettings.cpp', |
| 127 'cc/CCSettings.h', |
| 128 'cc/CCSharedQuadState.cpp', |
| 129 'cc/CCSharedQuadState.h', |
| 130 'cc/CCSingleThreadProxy.cpp', |
| 131 'cc/CCSingleThreadProxy.h', |
| 132 'cc/CCSolidColorDrawQuad.cpp', |
| 133 'cc/CCSolidColorDrawQuad.h', |
| 134 'cc/CCSolidColorLayerImpl.cpp', |
| 135 'cc/CCSolidColorLayerImpl.h', |
| 136 'cc/CCStreamVideoDrawQuad.cpp', |
| 137 'cc/CCStreamVideoDrawQuad.h', |
| 138 'cc/CCTextureDrawQuad.cpp', |
| 139 'cc/CCTextureDrawQuad.h', |
| 140 'cc/CCTextureLayerImpl.cpp', |
| 141 'cc/CCTextureLayerImpl.h', |
| 142 'cc/CCTextureUpdater.cpp', |
| 143 'cc/CCTextureUpdater.h', |
| 144 'cc/CCThread.h', |
| 145 'cc/CCThreadProxy.cpp', |
| 146 'cc/CCThreadProxy.h', |
| 147 'cc/CCThreadTask.h', |
| 148 'cc/CCTiledLayerImpl.cpp', |
| 149 'cc/CCTiledLayerImpl.h', |
| 150 'cc/CCTileDrawQuad.cpp', |
| 151 'cc/CCTileDrawQuad.h', |
| 152 'cc/CCTimer.cpp', |
| 153 'cc/CCTimer.h', |
| 154 'cc/CCTimeSource.h', |
| 155 'cc/CCTimingFunction.cpp', |
| 156 'cc/CCTimingFunction.h', |
| 157 'cc/CCVideoLayerImpl.cpp', |
| 158 'cc/CCVideoLayerImpl.h', |
| 159 'cc/CCYUVVideoDrawQuad.cpp', |
| 160 'cc/CCYUVVideoDrawQuad.h', |
| 161 'ContentLayerChromium.cpp', |
| 162 'ContentLayerChromium.h', |
| 163 'FrameBufferSkPictureCanvasLayerTextureUpdater.cpp', |
| 164 'FrameBufferSkPictureCanvasLayerTextureUpdater.h', |
| 165 'GeometryBinding.cpp', |
| 166 'GeometryBinding.h', |
| 167 'GraphicsLayerChromium.h', |
| 168 'ImageBufferDataSkia.h', |
| 169 'ImageLayerChromium.cpp', |
| 170 'ImageLayerChromium.h', |
| 171 'IOSurfaceLayerChromium.cpp', |
| 172 'IOSurfaceLayerChromium.h', |
| 173 'LayerChromium.cpp', |
| 174 'LayerChromium.h', |
| 175 'LayerPainterChromium.h', |
| 176 'LayerRendererChromium.cpp', |
| 177 'LayerRendererChromium.h', |
| 178 'LayerTextureSubImage.cpp', |
| 179 'LayerTextureSubImage.h', |
| 180 'LayerTextureUpdater.h', |
| 181 'ManagedTexture.cpp', |
| 182 'ManagedTexture.h', |
| 183 'PlatformColor.h', |
| 184 'ProgramBinding.cpp', |
| 185 'ProgramBinding.h', |
| 186 'RateLimiter.cpp', |
| 187 'RateLimiter.h', |
| 188 'RenderSurfaceChromium.cpp', |
| 189 'RenderSurfaceChromium.h', |
| 190 'ScrollbarLayerChromium.cpp', |
| 191 'ScrollbarLayerChromium.h', |
| 192 'ShaderChromium.cpp', |
| 193 'ShaderChromium.h', |
| 194 'SkPictureCanvasLayerTextureUpdater.cpp', |
| 195 'SkPictureCanvasLayerTextureUpdater.h', |
| 196 'SolidColorLayerChromium.cpp', |
| 197 'SolidColorLayerChromium.h', |
| 198 'TextureCopier.cpp', |
| 199 'TextureCopier.h', |
| 200 'TextureLayerChromium.cpp', |
| 201 'TextureLayerChromium.h', |
| 202 'TextureManager.cpp', |
| 203 'TextureManager.h', |
| 204 'TextureUploader.h', |
| 205 'ThrottledTextureUploader.cpp', |
| 206 'ThrottledTextureUploader.h', |
| 207 'TiledLayerChromium.cpp', |
| 208 'TiledLayerChromium.h', |
| 209 'TilingData.cpp', |
| 210 'TilingData.h', |
| 211 'TrackingTextureAllocator.cpp', |
| 212 'TrackingTextureAllocator.h', |
| 213 'TreeSynchronizer.cpp', |
| 214 'TreeSynchronizer.h', |
| 215 'VideoLayerChromium.cpp', |
| 216 'VideoLayerChromium.h', |
| 217 'stubs/Region.h', |
| 218 'stubs/TraceEvent.h', |
| 219 ], |
| 220 }, |
| 221 { |
| 222 'target_name': 'cc_unittests', |
| 223 'type': 'executable', |
| 224 'include_dirs': [ |
| 225 '<(DEPTH)/third_party/WebKit/Source/WTF', |
| 226 '.', # so cc/dlkfjdlfkj works |
| 227 ], |
| 228 'dependencies': [ |
| 229 '<(DEPTH)/base/base.gyp:base', |
| 230 '<(DEPTH)/base/base.gyp:test_support_base', |
| 231 '<(DEPTH)/skia/skia.gyp:skia', |
| 232 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 233 'cc', |
| 234 ], |
| 235 'sources': [ |
| 236 'test/CCSchedulerStateMachineTest.cpp', |
| 237 'test/RunAllTests.cpp', |
| 238 ], |
| 239 }, |
| 240 ], |
| 241 } |
OLD | NEW |