OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 0, | 7 'chromium_code': 0, |
8 'use_libcc_for_compositor%': 0, | 8 'use_libcc_for_compositor%': 0, |
9 'webkit_compositor_sources': [ | 9 'webkit_compositor_bindings_sources': [ |
10 'CCThreadImpl.cpp', | 10 'CCThreadImpl.cpp', |
11 'CCThreadImpl.h', | 11 'CCThreadImpl.h', |
12 'PlatformGestureCurve.h', | 12 'PlatformGestureCurve.h', |
13 'PlatformGestureCurveTarget.h', | 13 'PlatformGestureCurveTarget.h', |
14 'TouchpadFlingPlatformGestureCurve.h', | 14 'TouchpadFlingPlatformGestureCurve.h', |
15 'WebAnimationCurveCommon.cpp', | 15 'WebAnimationCurveCommon.cpp', |
16 'WebAnimationCurveCommon.h', | 16 'WebAnimationCurveCommon.h', |
17 'WebAnimationImpl.cpp', | 17 'WebAnimationImpl.cpp', |
18 'WebAnimationImpl.h', | 18 'WebAnimationImpl.h', |
19 'WebCompositorImpl.cpp', | 19 'WebCompositorImpl.cpp', |
(...skipping 22 matching lines...) Expand all Loading... |
42 'WebTransformAnimationCurveImpl.h', | 42 'WebTransformAnimationCurveImpl.h', |
43 'WebVideoLayerImpl.cpp', | 43 'WebVideoLayerImpl.cpp', |
44 'WebVideoLayerImpl.h', | 44 'WebVideoLayerImpl.h', |
45 'WheelFlingPlatformGestureCurve.h', | 45 'WheelFlingPlatformGestureCurve.h', |
46 ], | 46 ], |
47 }, | 47 }, |
48 'conditions': [ | 48 'conditions': [ |
49 ['use_libcc_for_compositor==1', { | 49 ['use_libcc_for_compositor==1', { |
50 'targets': [ | 50 'targets': [ |
51 { | 51 { |
52 'target_name': 'webkit_compositor', | 52 'target_name': 'webkit_compositor_bindings', |
53 'type': 'static_library', | 53 'type': 'static_library', |
54 'dependencies': [ | 54 'dependencies': [ |
55 '../../base/base.gyp:base', | 55 '../../base/base.gyp:base', |
56 '../../cc/cc.gyp:cc', | 56 '../../cc/cc.gyp:cc', |
57 '../../skia/skia.gyp:skia', | 57 '../../skia/skia.gyp:skia', |
58 '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:
webkit_platform', | 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. | 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', | 60 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
61 ], | 61 ], |
62 'defines': [ | 62 'defines': [ |
63 'WEBKIT_IMPLEMENTATION=1', | 63 'WEBKIT_IMPLEMENTATION=1', |
64 ], | 64 ], |
65 'include_dirs': [ | 65 'include_dirs': [ |
66 '../../cc', | 66 '../../cc', |
67 '../../cc/stubs', | 67 '../../cc/stubs', |
68 'stubs', | 68 'stubs', |
69 '../../third_party/WebKit/Source/WebKit/chromium/public', | 69 '../../third_party/WebKit/Source/WebKit/chromium/public', |
70 ], | 70 ], |
71 'sources': [ | 71 'sources': [ |
72 '<@(webkit_compositor_sources)', | 72 '<@(webkit_compositor_bindings_sources)', |
73 'stubs/AnimationIdVendor.h', | 73 'stubs/AnimationIdVendor.h', |
74 'stubs/public/WebTransformationMatrix', | 74 'stubs/public/WebTransformationMatrix', |
75 ], | 75 ], |
76 } | 76 } |
77 ], | 77 ], |
78 }], | 78 }], |
79 ], | 79 ], |
80 } | 80 } |
OLD | NEW |