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 'cc_source_files': [ | 7 'cc_source_files': [ |
8 'active_animation.cc', | 8 'active_animation.cc', |
9 'active_animation.h', | 9 'active_animation.h', |
10 'animation_curve.cc', | 10 'animation_curve.cc', |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 'tree_synchronizer.cc', | 279 'tree_synchronizer.cc', |
280 'tree_synchronizer.h', | 280 'tree_synchronizer.h', |
281 'util.h', | 281 'util.h', |
282 'video_layer.cc', | 282 'video_layer.cc', |
283 'video_layer.h', | 283 'video_layer.h', |
284 'video_layer_impl.cc', | 284 'video_layer_impl.cc', |
285 'video_layer_impl.h', | 285 'video_layer_impl.h', |
286 'yuv_video_draw_quad.cc', | 286 'yuv_video_draw_quad.cc', |
287 'yuv_video_draw_quad.h', | 287 'yuv_video_draw_quad.h', |
288 ], | 288 ], |
| 289 'conditions': [ |
| 290 ['inside_chromium_build==1', { |
| 291 'webkit_src_dir': '<(DEPTH)/third_party/WebKit', |
| 292 }, { |
| 293 'webkit_src_dir': '<(DEPTH)/../../..', |
| 294 }], |
| 295 ], |
289 }, | 296 }, |
| 297 'conditions': [ |
| 298 ['inside_chromium_build==0', { |
| 299 'defines': [ |
| 300 'INSIDE_WEBKIT_BUILD=1', |
| 301 ], |
| 302 }], |
| 303 ], |
290 'targets': [ | 304 'targets': [ |
291 { | 305 { |
292 'target_name': 'cc', | 306 'target_name': 'cc', |
293 'type': '<(component)', | 307 'type': '<(component)', |
294 'includes': [ | |
295 'cc.gypi', | |
296 ], | |
297 'dependencies': [ | 308 'dependencies': [ |
298 '<(DEPTH)/base/base.gyp:base', | 309 '<(DEPTH)/base/base.gyp:base', |
299 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 310 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
300 '<(DEPTH)/skia/skia.gyp:skia', | 311 '<(DEPTH)/skia/skia.gyp:skia', |
301 '<(DEPTH)/media/media.gyp:media', | 312 '<(DEPTH)/media/media.gyp:media', |
302 '<(DEPTH)/ui/gl/gl.gyp:gl', | 313 '<(DEPTH)/ui/gl/gl.gyp:gl', |
303 '<(DEPTH)/ui/ui.gyp:ui', | 314 '<(DEPTH)/ui/ui.gyp:ui', |
304 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | 315 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
305 ], | 316 ], |
306 'defines': [ | 317 'defines': [ |
307 'CC_IMPLEMENTATION=1', | 318 'CC_IMPLEMENTATION=1', |
308 ], | 319 ], |
309 'include_dirs': [ | |
310 '<(webkit_src_dir)/Source/Platform/chromium', | |
311 '<@(cc_stubs_dirs)', | |
312 ], | |
313 'sources': [ | 320 'sources': [ |
314 '<@(cc_source_files)', | 321 '<@(cc_source_files)', |
315 ], | 322 ], |
316 'all_dependent_settings': { | 323 'all_dependent_settings': { |
317 'include_dirs': [ | 324 'include_dirs': [ |
318 # Needed for <public/WebTransformationMatrix.h> in layer.h | 325 # TODO(jamesr): Remove once https://webkit.org/b/105259 lands + rolls |
319 '<(webkit_src_dir)/Source/Platform/chromium', | 326 '<(webkit_src_dir)/Source/Platform/chromium' |
320 ], | 327 ] |
321 } | 328 } |
322 }, | 329 }, |
323 ], | 330 ], |
324 } | 331 } |
OLD | NEW |