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': 1, | 7 'chromium_code': 1, |
8 'cc_source_files': [ | 8 'cc_source_files': [ |
9 'animation/animation.cc', | 9 'animation/animation.cc', |
10 'animation/animation.h', | 10 'animation/animation.h', |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 'trees/proxy.h', | 343 'trees/proxy.h', |
344 'trees/quad_culler.cc', | 344 'trees/quad_culler.cc', |
345 'trees/quad_culler.h', | 345 'trees/quad_culler.h', |
346 'trees/single_thread_proxy.cc', | 346 'trees/single_thread_proxy.cc', |
347 'trees/single_thread_proxy.h', | 347 'trees/single_thread_proxy.h', |
348 'trees/thread_proxy.cc', | 348 'trees/thread_proxy.cc', |
349 'trees/thread_proxy.h', | 349 'trees/thread_proxy.h', |
350 'trees/tree_synchronizer.cc', | 350 'trees/tree_synchronizer.cc', |
351 'trees/tree_synchronizer.h', | 351 'trees/tree_synchronizer.h', |
352 ], | 352 ], |
353 'conditions': [ | |
354 ['inside_chromium_build==1', { | |
355 'webkit_src_dir': '<(DEPTH)/third_party/WebKit', | |
356 }, { | |
357 'webkit_src_dir': '<(DEPTH)/../../..', | |
358 }], | |
359 ], | |
360 }, | 353 }, |
361 'conditions': [ | |
362 ['inside_chromium_build==0', { | |
363 'defines': [ | |
364 'INSIDE_WEBKIT_BUILD=1', | |
365 ], | |
366 }], | |
367 ], | |
368 'targets': [ | 354 'targets': [ |
369 { | 355 { |
370 'target_name': 'cc', | 356 'target_name': 'cc', |
371 'type': '<(component)', | 357 'type': '<(component)', |
372 'dependencies': [ | 358 'dependencies': [ |
373 '<(DEPTH)/base/base.gyp:base', | 359 '<(DEPTH)/base/base.gyp:base', |
374 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 360 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
375 '<(DEPTH)/gpu/gpu.gyp:gpu', | 361 '<(DEPTH)/gpu/gpu.gyp:gpu', |
376 '<(DEPTH)/skia/skia.gyp:skia', | 362 '<(DEPTH)/skia/skia.gyp:skia', |
377 '<(DEPTH)/media/media.gyp:media', | 363 '<(DEPTH)/media/media.gyp:media', |
378 '<(DEPTH)/ui/gl/gl.gyp:gl', | 364 '<(DEPTH)/ui/gl/gl.gyp:gl', |
379 '<(DEPTH)/ui/surface/surface.gyp:surface', | 365 '<(DEPTH)/ui/surface/surface.gyp:surface', |
380 '<(DEPTH)/ui/ui.gyp:ui', | 366 '<(DEPTH)/ui/ui.gyp:ui', |
381 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | 367 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
382 ], | 368 ], |
383 'defines': [ | 369 'defines': [ |
384 'CC_IMPLEMENTATION=1', | 370 'CC_IMPLEMENTATION=1', |
385 ], | 371 ], |
386 'sources': [ | 372 'sources': [ |
387 '<@(cc_source_files)', | 373 '<@(cc_source_files)', |
388 ], | 374 ], |
389 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 375 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
390 'msvs_disabled_warnings': [ 4267, ], | 376 'msvs_disabled_warnings': [ 4267, ], |
391 }, | 377 }, |
392 ], | 378 ], |
393 } | 379 } |
OLD | NEW |