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 'use_libcc_for_compositor%': 0, | |
9 'webkit_compositor_sources': [ | |
10 'CCThreadImpl.cpp', | |
11 'CCThreadImpl.h', | |
12 'PlatformGestureCurve.h', | |
13 'PlatformGestureCurveTarget.h', | |
14 'TouchpadFlingPlatformGestureCurve.h', | |
15 'WebAnimationCurveCommon.cpp', | |
16 'WebAnimationCurveCommon.h', | |
17 'WebAnimationImpl.cpp', | |
18 'WebAnimationImpl.h', | |
19 'WebCompositorImpl.cpp', | |
20 'WebCompositorImpl.h', | |
21 'WebCompositorInputHandlerImpl.cpp', | |
22 'WebCompositorInputHandlerImpl.h', | |
23 'WebContentLayerImpl.cpp', | |
24 'WebContentLayerImpl.h', | |
25 'WebExternalTextureLayerImpl.cpp', | |
26 'WebExternalTextureLayerImpl.h', | |
27 'WebFloatAnimationCurveImpl.cpp', | |
28 'WebFloatAnimationCurveImpl.h', | |
29 'WebIOSurfaceLayerImpl.cpp', | |
30 'WebIOSurfaceLayerImpl.h', | |
31 'WebImageLayerImpl.cpp', | |
32 'WebImageLayerImpl.h', | |
33 'WebLayerImpl.cpp', | |
34 'WebLayerImpl.h', | |
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 '../../base/base.gyp:base', | |
56 '../../cc/cc.gyp:cc', | |
57 '../../skia/skia.gyp:skia', | |
58 '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:
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 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', | |
61 ], | |
62 'defines': [ | |
63 'WEBKIT_IMPLEMENTATION=1', | |
64 ], | |
65 'include_dirs': [ | |
66 '../../cc', | |
67 '../../cc/stubs', | |
68 'stubs', | |
69 '../../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 |