Index: webkit/compositor/compositor.gyp |
diff --git a/webkit/compositor/compositor.gyp b/webkit/compositor/compositor.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fda6574f1195b3749b7e9cb5c535e096bf21705e |
--- /dev/null |
+++ b/webkit/compositor/compositor.gyp |
@@ -0,0 +1,80 @@ |
+# 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, |
+ 'webkit_compositor_sources': [ |
+ 'CCThreadImpl.cpp', |
+ 'CCThreadImpl.h', |
+ 'PlatformGestureCurve.h', |
+ 'PlatformGestureCurveTarget.h', |
+ 'TouchpadFlingPlatformGestureCurve.h', |
+ 'WebAnimationCurveCommon.cpp', |
+ 'WebAnimationCurveCommon.h', |
+ 'WebAnimationImpl.cpp', |
+ 'WebAnimationImpl.h', |
+ 'WebCompositorImpl.cpp', |
+ 'WebCompositorImpl.h', |
+ 'WebCompositorInputHandlerImpl.cpp', |
+ 'WebCompositorInputHandlerImpl.h', |
+ 'WebContentLayerImpl.cpp', |
+ 'WebContentLayerImpl.h', |
+ 'WebExternalTextureLayerImpl.cpp', |
+ 'WebExternalTextureLayerImpl.h', |
+ 'WebFloatAnimationCurveImpl.cpp', |
+ 'WebFloatAnimationCurveImpl.h', |
+ 'WebIOSurfaceLayerImpl.cpp', |
+ 'WebIOSurfaceLayerImpl.h', |
+ 'WebImageLayerImpl.cpp', |
+ 'WebImageLayerImpl.h', |
+ 'WebLayerImpl.cpp', |
+ 'WebLayerImpl.h', |
+ 'WebLayerTreeView.cpp', |
+ 'WebLayerTreeViewImpl.cpp', |
+ 'WebLayerTreeViewImpl.h', |
+ 'WebScrollbarLayerImpl.cpp', |
+ 'WebScrollbarLayerImpl.h', |
+ 'WebSolidColorLayerImpl.cpp', |
+ 'WebSolidColorLayerImpl.h', |
+ 'WebTransformAnimationCurveImpl.cpp', |
+ 'WebTransformAnimationCurveImpl.h', |
+ 'WebVideoLayerImpl.cpp', |
+ 'WebVideoLayerImpl.h', |
+ 'WheelFlingPlatformGestureCurve.h', |
+ ], |
+ }, |
+ 'conditions': [ |
+ ['use_libcc_for_compositor==1', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'webkit_compositor', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '<(DEPTH)/base/base.gyp:base', |
+ '<(DEPTH)/cc/cc.gyp:cc', |
+ '<(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', |
+ ], |
+ 'defines': [ |
+ 'WEBKIT_IMPLEMENTATION=1', |
+ ], |
+ 'include_dirs': [ |
+ 'stubs', |
+ '<(DEPTH)/cc', |
+ '<(DEPTH)/cc/stubs', |
+ '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/public', |
+ ], |
+ 'sources': [ |
+ '<@(webkit_compositor_sources)', |
+ 'stubs/AnimationIdVendor.h', |
+ 'stubs/public/WebTransformationMatrix', |
+ ], |
+ }, |
+ ], |
+ }], |
+ ], |
+} |