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 'webkit_compositor_sources': [ |
| 9 'CCThreadImpl.cpp', |
| 10 'CCThreadImpl.h', |
| 11 'PlatformGestureCurve.h', |
| 12 'PlatformGestureCurveTarget.h', |
| 13 'TouchpadFlingPlatformGestureCurve.h', |
| 14 'WebAnimationCurveCommon.cpp', |
| 15 'WebAnimationCurveCommon.h', |
| 16 'WebAnimationImpl.cpp', |
| 17 'WebAnimationImpl.h', |
| 18 'WebCompositorImpl.cpp', |
| 19 'WebCompositorImpl.h', |
| 20 'WebCompositorInputHandlerImpl.cpp', |
| 21 'WebCompositorInputHandlerImpl.h', |
| 22 'WebContentLayerImpl.cpp', |
| 23 'WebContentLayerImpl.h', |
| 24 'WebExternalTextureLayerImpl.cpp', |
| 25 'WebExternalTextureLayerImpl.h', |
| 26 'WebFloatAnimationCurveImpl.cpp', |
| 27 'WebFloatAnimationCurveImpl.h', |
| 28 'WebIOSurfaceLayerImpl.cpp', |
| 29 'WebIOSurfaceLayerImpl.h', |
| 30 'WebImageLayerImpl.cpp', |
| 31 'WebImageLayerImpl.h', |
| 32 'WebLayerImpl.cpp', |
| 33 'WebLayerImpl.h', |
| 34 'WebLayerTreeView.cpp', |
| 35 'WebLayerTreeViewImpl.cpp', |
| 36 'WebLayerTreeViewImpl.h', |
| 37 'WebScrollbarLayerImpl.cpp', |
| 38 'WebScrollbarLayerImpl.h', |
| 39 'WebSolidColorLayerImpl.cpp', |
| 40 'WebSolidColorLayerImpl.h', |
| 41 'WebTransformAnimationCurveImpl.cpp', |
| 42 'WebTransformAnimationCurveImpl.h', |
| 43 'WebVideoLayerImpl.cpp', |
| 44 'WebVideoLayerImpl.h', |
| 45 'WheelFlingPlatformGestureCurve.h', |
| 46 ], |
| 47 }, |
| 48 'conditions': [ |
| 49 ['use_libcc_for_compositor==1', { |
| 50 'targets': [ |
| 51 { |
| 52 'target_name': 'webkit_compositor', |
| 53 'type': 'static_library', |
| 54 'dependencies': [ |
| 55 '<(DEPTH)/base/base.gyp:base', |
| 56 '<(DEPTH)/cc/cc.gyp:cc', |
| 57 '<(DEPTH)/skia/skia.gyp:skia', |
| 58 '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.g
yp:webkit_platform', |
| 59 # We have to depend on WTF directly to pick up the correct defines f
or WTF headers - for instance USE_SYSTEM_MALLOC. |
| 60 '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
| 61 ], |
| 62 'defines': [ |
| 63 'WEBKIT_IMPLEMENTATION=1', |
| 64 ], |
| 65 'include_dirs': [ |
| 66 'stubs', |
| 67 '<(DEPTH)/cc', |
| 68 '<(DEPTH)/cc/stubs', |
| 69 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/public', |
| 70 ], |
| 71 'sources': [ |
| 72 '<@(webkit_compositor_sources)', |
| 73 'stubs/AnimationIdVendor.h', |
| 74 'stubs/public/WebTransformationMatrix', |
| 75 ], |
| 76 }, |
| 77 ], |
| 78 }], |
| 79 ], |
| 80 } |
OLD | NEW |