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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/README ('k') | cc/cc_tests.gyp » ('j') | cc/test/RunAllTests.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/cc.gyp
diff --git a/cc/cc.gyp b/cc/cc.gyp
index 7b9b6659efc42187d2c6496e5d9b9b74d62b02dd..115a42faebcc82cf883dd5ac32504a3f7fb770ba 100644
--- a/cc/cc.gyp
+++ b/cc/cc.gyp
@@ -5,12 +5,247 @@
{
'variables': {
'chromium_code': 0,
+ 'use_libcc_for_compositor%': 0,
+ 'cc_source_files': [
+ 'BitmapCanvasLayerTextureUpdater.cpp',
+ 'BitmapCanvasLayerTextureUpdater.h',
+ 'BitmapSkPictureCanvasLayerTextureUpdater.cpp',
+ 'BitmapSkPictureCanvasLayerTextureUpdater.h',
+ 'CCActiveAnimation.cpp',
+ 'CCActiveAnimation.h',
+ 'CCActiveGestureAnimation.cpp',
+ 'CCActiveGestureAnimation.h',
+ 'CCAnimationCurve.cpp',
+ 'CCAnimationCurve.h',
+ 'CCAnimationEvents.h',
+ 'CCCheckerboardDrawQuad.cpp',
+ 'CCCheckerboardDrawQuad.h',
+ 'CCCompletionEvent.h',
+ 'CCDamageTracker.cpp',
+ 'CCDamageTracker.h',
+ 'CCDebugBorderDrawQuad.cpp',
+ 'CCDebugBorderDrawQuad.h',
+ 'CCDebugRectHistory.cpp',
+ 'CCDebugRectHistory.h',
+ 'CCDelayBasedTimeSource.cpp',
+ 'CCDelayBasedTimeSource.h',
+ 'CCDirectRenderer.cpp',
+ 'CCDirectRenderer.h',
+ 'CCDrawQuad.cpp',
+ 'CCDrawQuad.h',
+ 'CCFontAtlas.cpp',
+ 'CCFontAtlas.h',
+ 'CCFrameRateController.cpp',
+ 'CCFrameRateController.h',
+ 'CCFrameRateCounter.cpp',
+ 'CCFrameRateCounter.h',
+ 'CCGestureCurve.h',
+ 'CCGraphicsContext.h',
+ 'CCHeadsUpDisplayLayerImpl.cpp',
+ 'CCHeadsUpDisplayLayerImpl.h',
+ 'CCIOSurfaceDrawQuad.cpp',
+ 'CCIOSurfaceDrawQuad.h',
+ 'CCIOSurfaceLayerImpl.cpp',
+ 'CCIOSurfaceLayerImpl.h',
+ 'CCInputHandler.h',
+ 'CCKeyframedAnimationCurve.cpp',
+ 'CCKeyframedAnimationCurve.h',
+ 'CCLayerAnimationController.cpp',
+ 'CCLayerAnimationController.h',
+ 'CCLayerImpl.cpp',
+ 'CCLayerImpl.h',
+ 'CCLayerIterator.cpp',
+ 'CCLayerIterator.h',
+ 'CCLayerQuad.cpp',
+ 'CCLayerQuad.h',
+ 'CCLayerSorter.cpp',
+ 'CCLayerSorter.h',
+ 'CCLayerTilingData.cpp',
+ 'CCLayerTilingData.h',
+ 'CCLayerTreeHost.cpp',
+ 'CCLayerTreeHost.h',
+ 'CCLayerTreeHostCommon.cpp',
+ 'CCLayerTreeHostCommon.h',
+ 'CCLayerTreeHostImpl.cpp',
+ 'CCLayerTreeHostImpl.h',
+ 'CCMathUtil.cpp',
+ 'CCMathUtil.h',
+ 'CCOcclusionTracker.cpp',
+ 'CCOcclusionTracker.h',
+ 'CCOverdrawMetrics.cpp',
+ 'CCOverdrawMetrics.h',
+ 'CCPageScaleAnimation.cpp',
+ 'CCPageScaleAnimation.h',
+ 'CCPrioritizedTexture.cpp',
+ 'CCPrioritizedTexture.h',
+ 'CCPrioritizedTextureManager.cpp',
+ 'CCPrioritizedTextureManager.h',
+ 'CCPriorityCalculator.cpp',
+ 'CCPriorityCalculator.h',
+ 'CCProxy.cpp',
+ 'CCProxy.h',
+ 'CCQuadCuller.cpp',
+ 'CCQuadCuller.h',
+ 'CCQuadSink.h',
+ 'CCRenderPass.cpp',
+ 'CCRenderPass.h',
+ 'CCRenderPassDrawQuad.cpp',
+ 'CCRenderPassDrawQuad.h',
+ 'CCRenderSurface.cpp',
+ 'CCRenderSurface.h',
+ 'CCRenderSurfaceFilters.cpp',
+ 'CCRenderSurfaceFilters.h',
+ 'CCRenderer.h',
+ 'CCRendererGL.cpp',
+ 'CCRendererGL.h',
+ 'CCRenderingStats.h',
+ 'CCResourceProvider.cpp',
+ 'CCResourceProvider.h',
+ 'CCScheduler.cpp',
+ 'CCScheduler.h',
+ 'CCSchedulerStateMachine.cpp',
+ 'CCSchedulerStateMachine.h',
+ 'CCScopedTexture.cpp',
+ 'CCScopedTexture.h',
+ 'CCScopedThreadProxy.h',
+ 'CCScrollbarAnimationController.cpp',
+ 'CCScrollbarAnimationController.h',
+ 'CCScrollbarAnimationControllerLinearFade.cpp',
+ 'CCScrollbarAnimationControllerLinearFade.h',
+ 'CCScrollbarLayerImpl.cpp',
+ 'CCScrollbarLayerImpl.h',
+ 'CCSettings.cpp',
+ 'CCSettings.h',
+ 'CCSharedQuadState.cpp',
+ 'CCSharedQuadState.h',
+ 'CCSingleThreadProxy.cpp',
+ 'CCSingleThreadProxy.h',
+ 'CCSolidColorDrawQuad.cpp',
+ 'CCSolidColorDrawQuad.h',
+ 'CCSolidColorLayerImpl.cpp',
+ 'CCSolidColorLayerImpl.h',
+ 'CCStreamVideoDrawQuad.cpp',
+ 'CCStreamVideoDrawQuad.h',
+ 'CCTexture.cpp',
+ 'CCTexture.h',
+ 'CCTextureDrawQuad.cpp',
+ 'CCTextureDrawQuad.h',
+ 'CCTextureLayerImpl.cpp',
+ 'CCTextureLayerImpl.h',
+ 'CCTextureUpdateController.cpp',
+ 'CCTextureUpdateController.h',
+ 'CCTextureUpdateQueue.cpp',
+ 'CCTextureUpdateQueue.h',
+ 'CCThread.h',
+ 'CCThreadProxy.cpp',
+ 'CCThreadProxy.h',
+ 'CCThreadTask.h',
+ 'CCTileDrawQuad.cpp',
+ 'CCTileDrawQuad.h',
+ 'CCTiledLayerImpl.cpp',
+ 'CCTiledLayerImpl.h',
+ 'CCTimeSource.h',
+ 'CCTimer.cpp',
+ 'CCTimer.h',
+ 'CCTimingFunction.cpp',
+ 'CCTimingFunction.h',
+ 'CCVideoLayerImpl.cpp',
+ 'CCVideoLayerImpl.h',
+ 'CCYUVVideoDrawQuad.cpp',
+ 'CCYUVVideoDrawQuad.h',
+ 'CanvasLayerTextureUpdater.cpp',
+ 'CanvasLayerTextureUpdater.h',
+ 'ContentLayerChromium.cpp',
+ 'ContentLayerChromium.h',
+ 'FrameBufferSkPictureCanvasLayerTextureUpdater.cpp',
+ 'FrameBufferSkPictureCanvasLayerTextureUpdater.h',
+ 'GeometryBinding.cpp',
+ 'GeometryBinding.h',
+ 'HeadsUpDisplayLayerChromium.cpp',
+ 'HeadsUpDisplayLayerChromium.h',
+ 'IOSurfaceLayerChromium.cpp',
+ 'IOSurfaceLayerChromium.h',
+ 'ImageLayerChromium.cpp',
+ 'ImageLayerChromium.h',
+ 'LayerChromium.cpp',
+ 'LayerChromium.h',
+ 'LayerPainterChromium.h',
+ 'LayerTextureSubImage.cpp',
+ 'LayerTextureSubImage.h',
+ 'LayerTextureUpdater.h',
+ 'PlatformColor.h',
+ 'ProgramBinding.cpp',
+ 'ProgramBinding.h',
+ 'RateLimiter.cpp',
+ 'RateLimiter.h',
+ 'RenderSurfaceChromium.cpp',
+ 'RenderSurfaceChromium.h',
+ 'ScrollbarLayerChromium.cpp',
+ 'ScrollbarLayerChromium.h',
+ 'ShaderChromium.cpp',
+ 'ShaderChromium.h',
+ 'SkPictureCanvasLayerTextureUpdater.cpp',
+ 'SkPictureCanvasLayerTextureUpdater.h',
+ 'SolidColorLayerChromium.cpp',
+ 'SolidColorLayerChromium.h',
+ 'TextureCopier.cpp',
+ 'TextureCopier.h',
+ 'TextureLayerChromium.cpp',
+ 'TextureLayerChromium.h',
+ 'TextureUploader.h',
+ 'ThrottledTextureUploader.cpp',
+ 'ThrottledTextureUploader.h',
+ 'UnthrottledTextureUploader.h',
+ 'TiledLayerChromium.cpp',
+ 'TiledLayerChromium.h',
+ 'TreeSynchronizer.cpp',
+ 'TreeSynchronizer.h',
+ 'VideoLayerChromium.cpp',
+ 'VideoLayerChromium.h',
+ ],
},
-
'targets': [
{
'target_name': 'cc',
'type': 'static_library',
- }
- ]
+ 'conditions': [
+ ['use_libcc_for_compositor==1', {
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '<(DEPTH)/skia/skia.gyp:skia',
+ '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:webkit_platform',
+ # We have to depend on WTF directly to pick up the correct defines for WTF headers - for instance USE_SYSTEM_MALLOC.
+ '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf',
+ '<(DEPTH)/ui/gl/gl.gyp:gl',
+ '<(DEPTH)/ui/ui.gyp:ui',
+ ],
+ 'defines': [
+ 'WTF_USE_ACCELERATED_COMPOSITING=1',
+ ],
+ 'include_dirs': [
+ 'stubs',
+ ],
+ 'sources': [
+ '<@(cc_source_files)',
+ 'stubs/Extensions3DChromium.h',
+ 'stubs/Extensions3D.h',
+ 'stubs/GraphicsContext3D.h',
+ 'stubs/GraphicsTypes3D.h',
+ 'stubs/NotImplemented.h',
+ 'stubs/Region.h',
+ 'stubs/ScrollbarThemeClient.h',
+ 'stubs/ScrollTypes.h',
+ 'stubs/SharedGraphicsContext3D.h',
+ 'stubs/SkiaUtils.h',
+ 'stubs/TextStream.h',
+ 'stubs/TilingData.h',
+ 'stubs/Timer.h',
+ 'stubs/TraceEvent.h',
+ 'stubs/UnitBezier.h',
+ ],
+ }],
+ ],
+ },
+ ],
}
« 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