| 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_sources': [ |
| 10 'CCThreadImpl.cpp', | 10 'CCThreadImpl.cpp', |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 'WebScrollbarLayerImpl.h', | 38 'WebScrollbarLayerImpl.h', |
| 39 'WebSolidColorLayerImpl.cpp', | 39 'WebSolidColorLayerImpl.cpp', |
| 40 'WebSolidColorLayerImpl.h', | 40 'WebSolidColorLayerImpl.h', |
| 41 'WebTransformAnimationCurveImpl.cpp', | 41 'WebTransformAnimationCurveImpl.cpp', |
| 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 'targets': [ |
| 49 { |
| 50 'target_name': 'webkit_compositor_support', |
| 51 'type': 'static_library', |
| 52 'dependencies': [ |
| 53 '../../skia/skia.gyp:skia', |
| 54 '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:webk
it_platform', |
| 55 ], |
| 56 'sources': [ |
| 57 'web_compositor_support_impl.cc', |
| 58 'web_compositor_support_impl.h', |
| 59 ], |
| 60 'include_dirs': [ |
| 61 '../..', |
| 62 ], |
| 63 'conditions': [ |
| 64 ['use_libcc_for_compositor==1', { |
| 65 'include_dirs': [ |
| 66 '../../cc', |
| 67 '../../cc/stubs', |
| 68 ], |
| 69 'dependencies': [ |
| 70 'webkit_compositor', |
| 71 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
| 72 ], |
| 73 }], |
| 74 ], |
| 75 }, |
| 76 ], |
| 48 'conditions': [ | 77 'conditions': [ |
| 49 ['use_libcc_for_compositor==1', { | 78 ['use_libcc_for_compositor==1', { |
| 50 'targets': [ | 79 'targets': [ |
| 51 { | 80 { |
| 52 'target_name': 'webkit_compositor', | 81 'target_name': 'webkit_compositor', |
| 53 'type': 'static_library', | 82 'type': 'static_library', |
| 54 'dependencies': [ | 83 'dependencies': [ |
| 55 '../../base/base.gyp:base', | 84 '../../base/base.gyp:base', |
| 56 '../../cc/cc.gyp:cc', | 85 '../../cc/cc.gyp:cc', |
| 57 '../../skia/skia.gyp:skia', | 86 '../../skia/skia.gyp:skia', |
| 58 '../../third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp:
webkit_platform', | 87 '../../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. | 88 # 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', | 89 '../../third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
| 61 ], | 90 ], |
| 62 'defines': [ | 91 'defines': [ |
| 63 'WEBKIT_IMPLEMENTATION=1', | 92 'WEBKIT_IMPLEMENTATION=1', |
| 64 ], | 93 ], |
| 65 'include_dirs': [ | 94 'include_dirs': [ |
| 66 '../../cc', | 95 '../../cc', |
| 67 '../../cc/stubs', | 96 '../../cc/stubs', |
| 68 'stubs', | 97 'stubs', |
| 69 '../../third_party/WebKit/Source/WebKit/chromium/public', | 98 '../../third_party/WebKit/Source/WebKit/chromium/public', |
| 70 ], | 99 ], |
| 71 'sources': [ | 100 'sources': [ |
| 72 '<@(webkit_compositor_sources)', | 101 '<@(webkit_compositor_sources)', |
| 73 'stubs/AnimationIdVendor.h', | 102 'stubs/AnimationIdVendor.h', |
| 74 'stubs/public/WebTransformationMatrix', | 103 'stubs/public/WebTransformationMatrix', |
| 75 ], | 104 ], |
| 76 } | 105 }, |
| 77 ], | 106 ], |
| 78 }], | 107 }], |
| 79 ], | 108 ], |
| 80 } | 109 } |
| OLD | NEW |