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 'cc_source_files': [ | 9 'cc_source_files': [ |
10 'BitmapCanvasLayerTextureUpdater.cpp', | 10 'BitmapCanvasLayerTextureUpdater.cpp', |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 'ThrottledTextureUploader.cpp', | 202 'ThrottledTextureUploader.cpp', |
203 'ThrottledTextureUploader.h', | 203 'ThrottledTextureUploader.h', |
204 'UnthrottledTextureUploader.h', | 204 'UnthrottledTextureUploader.h', |
205 'TiledLayerChromium.cpp', | 205 'TiledLayerChromium.cpp', |
206 'TiledLayerChromium.h', | 206 'TiledLayerChromium.h', |
207 'TreeSynchronizer.cpp', | 207 'TreeSynchronizer.cpp', |
208 'TreeSynchronizer.h', | 208 'TreeSynchronizer.h', |
209 'VideoLayerChromium.cpp', | 209 'VideoLayerChromium.cpp', |
210 'VideoLayerChromium.h', | 210 'VideoLayerChromium.h', |
211 ], | 211 ], |
| 212 'conditions': [ |
| 213 ['inside_chromium_build==0', { |
| 214 'webkit_src_dir': '../../../..', |
| 215 },{ |
| 216 'webkit_src_dir': '../third_party/WebKit', |
| 217 }], |
| 218 ], |
212 }, | 219 }, |
213 'targets': [ | 220 'targets': [ |
214 { | 221 { |
215 'target_name': 'cc', | 222 'target_name': 'cc', |
216 'type': 'static_library', | 223 'type': 'static_library', |
217 'conditions': [ | 224 'conditions': [ |
218 ['use_libcc_for_compositor==1', { | 225 ['use_libcc_for_compositor==1', { |
219 'dependencies': [ | 226 'dependencies': [ |
220 '<(DEPTH)/base/base.gyp:base', | 227 '<(DEPTH)/base/base.gyp:base', |
221 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.g
yp:dynamic_annotations', | 228 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.g
yp:dynamic_annotations', |
222 '<(DEPTH)/skia/skia.gyp:skia', | 229 '<(DEPTH)/skia/skia.gyp:skia', |
223 '<(DEPTH)/third_party/WebKit/Source/Platform/Platform.gyp/Platform.g
yp:webkit_platform', | |
224 # We have to depend on WTF directly to pick up the correct defines f
or WTF headers - for instance USE_SYSTEM_MALLOC. | |
225 '<(DEPTH)/third_party/WebKit/Source/WTF/WTF.gyp/WTF.gyp:wtf', | |
226 '<(DEPTH)/ui/gl/gl.gyp:gl', | 230 '<(DEPTH)/ui/gl/gl.gyp:gl', |
227 '<(DEPTH)/ui/ui.gyp:ui', | 231 '<(DEPTH)/ui/ui.gyp:ui', |
| 232 '<(webkit_src_dir)/Source/WTF/WTF.gyp/WTF.gyp:wtf', |
| 233 '<(webkit_src_dir)/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_pl
atform_geometry', |
| 234 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit_wtf_supp
ort', |
228 ], | 235 ], |
229 'defines': [ | 236 'defines': [ |
230 'WTF_USE_ACCELERATED_COMPOSITING=1', | 237 'WTF_USE_ACCELERATED_COMPOSITING=1', |
231 ], | 238 ], |
232 'include_dirs': [ | 239 'include_dirs': [ |
233 'stubs', | 240 'stubs', |
| 241 '<(webkit_src_dir)/Source/Platform/chromium', |
234 ], | 242 ], |
235 'sources': [ | 243 'sources': [ |
236 '<@(cc_source_files)', | 244 '<@(cc_source_files)', |
237 'stubs/Extensions3D.h', | 245 'stubs/Extensions3D.h', |
238 'stubs/Extensions3DChromium.h', | 246 'stubs/Extensions3DChromium.h', |
239 'stubs/FloatPoint.h', | 247 'stubs/FloatPoint.h', |
240 'stubs/FloatPoint3D.h', | 248 'stubs/FloatPoint3D.h', |
241 'stubs/FloatQuad.h', | 249 'stubs/FloatQuad.h', |
242 'stubs/FloatRect.h', | 250 'stubs/FloatRect.h', |
243 'stubs/FloatSize.h', | 251 'stubs/FloatSize.h', |
244 'stubs/GraphicsContext3D.h', | 252 'stubs/GraphicsContext3D.h', |
245 'stubs/GraphicsTypes3D.h', | 253 'stubs/GraphicsTypes3D.h', |
246 'stubs/IntPoint.h', | 254 'stubs/IntPoint.h', |
247 'stubs/IntRect.h', | 255 'stubs/IntRect.h', |
248 'stubs/IntSize.h', | 256 'stubs/IntSize.h', |
249 'stubs/NotImplemented.h', | 257 'stubs/NotImplemented.h', |
250 'stubs/Region.h', | 258 'stubs/Region.h', |
251 'stubs/SkiaUtils.h', | 259 'stubs/SkiaUtils.h', |
252 'stubs/TilingData.h', | 260 'stubs/TilingData.h', |
253 'stubs/TraceEvent.h', | 261 'stubs/TraceEvent.h', |
254 'stubs/UnitBezier.h', | 262 'stubs/UnitBezier.h', |
255 ], | 263 ], |
256 }], | 264 }], |
257 ], | 265 ], |
258 }, | 266 }, |
259 ], | 267 ], |
260 } | 268 } |
OLD | NEW |