Index: ui/cc/cc.gyp |
diff --git a/ui/cc/cc.gyp b/ui/cc/cc.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bbef3055c066f85dbb63f3fe67f2e59bdccae467 |
--- /dev/null |
+++ b/ui/cc/cc.gyp |
@@ -0,0 +1,241 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'chromium_code': 0, |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'cc', |
+ 'type': '<(component)', |
+ '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/WebKit/chromium/WebKit.gyp:webkit', |
+ '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:webkit_platform', |
+ '<(DEPTH)/ui/gl/gl.gyp:gl', |
+ '<(DEPTH)/ui/ui.gyp:ui', |
+#'<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
+#'<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', |
+ ], |
+ 'defines': [ |
+ 'COMPOSITOR_IMPLEMENTATION', |
+ 'WTF_USE_ACCELERATED_COMPOSITING=1', |
+ ], |
+ 'include_dirs': [ |
+ '<(DEPTH)/third_party/WebKit/Source/WTF', |
+ '<(DEPTH)/testing/gmock/include', |
+ '.', # so cc/dlkfjdlfkj works |
+ 'stubs', |
+ ], |
+ 'sources': [ |
+ 'BitmapCanvasLayerTextureUpdater.cpp', |
+ 'BitmapCanvasLayerTextureUpdater.h', |
+ 'BitmapSkPictureCanvasLayerTextureUpdater.cpp', |
+ 'BitmapSkPictureCanvasLayerTextureUpdater.h', |
+ 'CanvasLayerTextureUpdater.cpp', |
+ 'CanvasLayerTextureUpdater.h', |
+ 'cc/CCActiveAnimation.cpp', |
+ 'cc/CCActiveAnimation.h', |
+ 'cc/CCActiveGestureAnimation.cpp', |
+ 'cc/CCActiveGestureAnimation.h', |
+ 'cc/CCAnimationCurve.cpp', |
+ 'cc/CCAnimationCurve.h', |
+ 'cc/CCAnimationEvents.h', |
+ 'cc/CCCheckerboardDrawQuad.cpp', |
+ 'cc/CCCheckerboardDrawQuad.h', |
+ 'cc/CCCompletionEvent.h', |
+ 'cc/CCDamageTracker.cpp', |
+ 'cc/CCDamageTracker.h', |
+ 'cc/CCDebugBorderDrawQuad.cpp', |
+ 'cc/CCDebugBorderDrawQuad.h', |
+ 'cc/CCDebugRectHistory.cpp', |
+ 'cc/CCDebugRectHistory.h', |
+ 'cc/CCDelayBasedTimeSource.cpp', |
+ 'cc/CCDelayBasedTimeSource.h', |
+ 'cc/CCDrawQuad.cpp', |
+ 'cc/CCDrawQuad.h', |
+ 'cc/CCFontAtlas.cpp', |
+ 'cc/CCFontAtlas.h', |
+ 'cc/CCFrameRateController.cpp', |
+ 'cc/CCFrameRateController.h', |
+ 'cc/CCFrameRateCounter.cpp', |
+ 'cc/CCFrameRateCounter.h', |
+ 'cc/CCGestureCurve.h', |
+ 'cc/CCGraphicsContext.h', |
+ 'cc/CCHeadsUpDisplay.cpp', |
+ 'cc/CCHeadsUpDisplay.h', |
+ 'cc/CCInputHandler.h', |
+ 'cc/CCIOSurfaceDrawQuad.cpp', |
+ 'cc/CCIOSurfaceDrawQuad.h', |
+ 'cc/CCIOSurfaceLayerImpl.cpp', |
+ 'cc/CCIOSurfaceLayerImpl.h', |
+ 'cc/CCKeyframedAnimationCurve.cpp', |
+ 'cc/CCKeyframedAnimationCurve.h', |
+ 'cc/CCLayerAnimationController.cpp', |
+ 'cc/CCLayerAnimationController.h', |
+ 'cc/CCLayerAnimationDelegate.h', |
+ 'cc/CCLayerImpl.cpp', |
+ 'cc/CCLayerImpl.h', |
+ 'cc/CCLayerIterator.cpp', |
+ 'cc/CCLayerIterator.h', |
+ 'cc/CCLayerQuad.cpp', |
+ 'cc/CCLayerQuad.h', |
+ 'cc/CCLayerSorter.cpp', |
+ 'cc/CCLayerSorter.h', |
+ 'cc/CCLayerTilingData.cpp', |
+ 'cc/CCLayerTilingData.h', |
+ 'cc/CCLayerTreeHostCommon.cpp', |
+ 'cc/CCLayerTreeHostCommon.h', |
+ 'cc/CCLayerTreeHost.cpp', |
+ 'cc/CCLayerTreeHost.h', |
+ 'cc/CCLayerTreeHostImpl.cpp', |
+ 'cc/CCLayerTreeHostImpl.h', |
+ 'cc/CCMathUtil.cpp', |
+ 'cc/CCMathUtil.h', |
+ 'cc/CCOcclusionTracker.cpp', |
+ 'cc/CCOcclusionTracker.h', |
+ 'cc/CCOverdrawMetrics.cpp', |
+ 'cc/CCOverdrawMetrics.h', |
+ 'cc/CCPageScaleAnimation.cpp', |
+ 'cc/CCPageScaleAnimation.h', |
+ 'cc/CCProxy.cpp', |
+ 'cc/CCProxy.h', |
+ 'cc/CCQuadCuller.cpp', |
+ 'cc/CCQuadCuller.h', |
+ 'cc/CCRenderer.h', |
+ 'cc/CCRenderingStats.h', |
+ 'cc/CCRenderPass.cpp', |
+ 'cc/CCRenderPassDrawQuad.cpp', |
+ 'cc/CCRenderPassDrawQuad.h', |
+ 'cc/CCRenderPass.h', |
+ 'cc/CCRenderSurface.cpp', |
+ 'cc/CCRenderSurfaceFilters.cpp', |
+ 'cc/CCRenderSurfaceFilters.h', |
+ 'cc/CCRenderSurface.h', |
+ 'cc/CCScheduler.cpp', |
+ 'cc/CCScheduler.h', |
+ 'cc/CCSchedulerStateMachine.cpp', |
+ 'cc/CCSchedulerStateMachine.h', |
+ 'cc/CCScopedThreadProxy.h', |
+ 'cc/CCScrollbarLayerImpl.cpp', |
+ 'cc/CCScrollbarLayerImpl.h', |
+ 'cc/CCSettings.cpp', |
+ 'cc/CCSettings.h', |
+ 'cc/CCSharedQuadState.cpp', |
+ 'cc/CCSharedQuadState.h', |
+ 'cc/CCSingleThreadProxy.cpp', |
+ 'cc/CCSingleThreadProxy.h', |
+ 'cc/CCSolidColorDrawQuad.cpp', |
+ 'cc/CCSolidColorDrawQuad.h', |
+ 'cc/CCSolidColorLayerImpl.cpp', |
+ 'cc/CCSolidColorLayerImpl.h', |
+ 'cc/CCStreamVideoDrawQuad.cpp', |
+ 'cc/CCStreamVideoDrawQuad.h', |
+ 'cc/CCTextureDrawQuad.cpp', |
+ 'cc/CCTextureDrawQuad.h', |
+ 'cc/CCTextureLayerImpl.cpp', |
+ 'cc/CCTextureLayerImpl.h', |
+ 'cc/CCTextureUpdater.cpp', |
+ 'cc/CCTextureUpdater.h', |
+ 'cc/CCThread.h', |
+ 'cc/CCThreadProxy.cpp', |
+ 'cc/CCThreadProxy.h', |
+ 'cc/CCThreadTask.h', |
+ 'cc/CCTiledLayerImpl.cpp', |
+ 'cc/CCTiledLayerImpl.h', |
+ 'cc/CCTileDrawQuad.cpp', |
+ 'cc/CCTileDrawQuad.h', |
+ 'cc/CCTimer.cpp', |
+ 'cc/CCTimer.h', |
+ 'cc/CCTimeSource.h', |
+ 'cc/CCTimingFunction.cpp', |
+ 'cc/CCTimingFunction.h', |
+ 'cc/CCVideoLayerImpl.cpp', |
+ 'cc/CCVideoLayerImpl.h', |
+ 'cc/CCYUVVideoDrawQuad.cpp', |
+ 'cc/CCYUVVideoDrawQuad.h', |
+ 'ContentLayerChromium.cpp', |
+ 'ContentLayerChromium.h', |
+ 'FrameBufferSkPictureCanvasLayerTextureUpdater.cpp', |
+ 'FrameBufferSkPictureCanvasLayerTextureUpdater.h', |
+ 'GeometryBinding.cpp', |
+ 'GeometryBinding.h', |
+ 'GraphicsLayerChromium.h', |
+ 'ImageBufferDataSkia.h', |
+ 'ImageLayerChromium.cpp', |
+ 'ImageLayerChromium.h', |
+ 'IOSurfaceLayerChromium.cpp', |
+ 'IOSurfaceLayerChromium.h', |
+ 'LayerChromium.cpp', |
+ 'LayerChromium.h', |
+ 'LayerPainterChromium.h', |
+ 'LayerRendererChromium.cpp', |
+ 'LayerRendererChromium.h', |
+ 'LayerTextureSubImage.cpp', |
+ 'LayerTextureSubImage.h', |
+ 'LayerTextureUpdater.h', |
+ 'ManagedTexture.cpp', |
+ 'ManagedTexture.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', |
+ 'TextureManager.cpp', |
+ 'TextureManager.h', |
+ 'TextureUploader.h', |
+ 'ThrottledTextureUploader.cpp', |
+ 'ThrottledTextureUploader.h', |
+ 'TiledLayerChromium.cpp', |
+ 'TiledLayerChromium.h', |
+ 'TilingData.cpp', |
+ 'TilingData.h', |
+ 'TrackingTextureAllocator.cpp', |
+ 'TrackingTextureAllocator.h', |
+ 'TreeSynchronizer.cpp', |
+ 'TreeSynchronizer.h', |
+ 'VideoLayerChromium.cpp', |
+ 'VideoLayerChromium.h', |
+ 'stubs/Region.h', |
+ 'stubs/TraceEvent.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'cc_unittests', |
+ 'type': 'executable', |
+ 'include_dirs': [ |
+ '<(DEPTH)/third_party/WebKit/Source/WTF', |
+ '.', # so cc/dlkfjdlfkj works |
+ ], |
+ 'dependencies': [ |
+ '<(DEPTH)/base/base.gyp:base', |
+ '<(DEPTH)/base/base.gyp:test_support_base', |
+ '<(DEPTH)/skia/skia.gyp:skia', |
+ '<(DEPTH)/testing/gtest.gyp:gtest', |
+ 'cc', |
+ ], |
+ 'sources': [ |
+ 'test/CCSchedulerStateMachineTest.cpp', |
+ 'test/RunAllTests.cpp', |
+ ], |
+ }, |
+ ], |
+} |