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