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 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
| 11 # GN version: //cc |
11 'target_name': 'cc', | 12 'target_name': 'cc', |
12 'type': '<(component)', | 13 'type': '<(component)', |
13 'dependencies': [ | 14 'dependencies': [ |
14 '<(DEPTH)/base/base.gyp:base', | 15 '<(DEPTH)/base/base.gyp:base', |
15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 16 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
16 '<(DEPTH)/gpu/gpu.gyp:gpu', | 17 '<(DEPTH)/gpu/gpu.gyp:gpu', |
17 '<(DEPTH)/media/media.gyp:media', | 18 '<(DEPTH)/media/media.gyp:media', |
18 '<(DEPTH)/skia/skia.gyp:skia', | 19 '<(DEPTH)/skia/skia.gyp:skia', |
19 '<(DEPTH)/ui/events/events.gyp:events_base', | 20 '<(DEPTH)/ui/events/events.gyp:events_base', |
20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
22 '<(DEPTH)/ui/gl/gl.gyp:gl', | 23 '<(DEPTH)/ui/gl/gl.gyp:gl', |
23 ], | 24 ], |
24 'variables': { | 25 'variables': { |
25 'optimize': 'max', | 26 'optimize': 'max', |
26 }, | 27 }, |
27 'export_dependent_settings': [ | 28 'export_dependent_settings': [ |
28 '<(DEPTH)/skia/skia.gyp:skia', | 29 '<(DEPTH)/skia/skia.gyp:skia', |
29 ], | 30 ], |
30 'defines': [ | 31 'defines': [ |
31 'CC_IMPLEMENTATION=1', | 32 'CC_IMPLEMENTATION=1', |
32 ], | 33 ], |
33 'sources': [ | 34 'sources': [ |
| 35 # Note: file list duplicated in GN build. |
34 'animation/animation.cc', | 36 'animation/animation.cc', |
35 'animation/animation.h', | 37 'animation/animation.h', |
36 'animation/animation_curve.cc', | 38 'animation/animation_curve.cc', |
37 'animation/animation_curve.h', | 39 'animation/animation_curve.h', |
38 'animation/animation_delegate.h', | 40 'animation/animation_delegate.h', |
39 'animation/animation_events.cc', | 41 'animation/animation_events.cc', |
40 'animation/animation_events.h', | 42 'animation/animation_events.h', |
41 'animation/animation_id_provider.cc', | 43 'animation/animation_id_provider.cc', |
42 'animation/animation_id_provider.h', | 44 'animation/animation_id_provider.h', |
43 'animation/animation_registrar.cc', | 45 'animation/animation_registrar.cc', |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 'trees/single_thread_proxy.h', | 474 'trees/single_thread_proxy.h', |
473 'trees/thread_proxy.cc', | 475 'trees/thread_proxy.cc', |
474 'trees/thread_proxy.h', | 476 'trees/thread_proxy.h', |
475 'trees/tree_synchronizer.cc', | 477 'trees/tree_synchronizer.cc', |
476 'trees/tree_synchronizer.h', | 478 'trees/tree_synchronizer.h', |
477 ], | 479 ], |
478 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 480 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
479 'msvs_disabled_warnings': [ 4267, ], | 481 'msvs_disabled_warnings': [ 4267, ], |
480 }, | 482 }, |
481 { | 483 { |
| 484 # GN version: //cc/surfaces |
482 'target_name': 'cc_surfaces', | 485 'target_name': 'cc_surfaces', |
483 'type': '<(component)', | 486 'type': '<(component)', |
484 'dependencies': [ | 487 'dependencies': [ |
485 'cc', | 488 'cc', |
486 '<(DEPTH)/base/base.gyp:base', | 489 '<(DEPTH)/base/base.gyp:base', |
487 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 490 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
488 '<(DEPTH)/skia/skia.gyp:skia', | 491 '<(DEPTH)/skia/skia.gyp:skia', |
489 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 492 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
490 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 493 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
491 ], | 494 ], |
492 'defines': [ | 495 'defines': [ |
493 'CC_SURFACES_IMPLEMENTATION=1', | 496 'CC_SURFACES_IMPLEMENTATION=1', |
494 ], | 497 ], |
495 'sources': [ | 498 'sources': [ |
| 499 # Note: file list duplicated in GN build. |
496 'surfaces/display.cc', | 500 'surfaces/display.cc', |
497 'surfaces/display.h', | 501 'surfaces/display.h', |
498 'surfaces/display_client.h', | 502 'surfaces/display_client.h', |
499 'surfaces/surface.cc', | 503 'surfaces/surface.cc', |
500 'surfaces/surface.h', | 504 'surfaces/surface.h', |
501 'surfaces/surface_aggregator.cc', | 505 'surfaces/surface_aggregator.cc', |
502 'surfaces/surface_aggregator.h', | 506 'surfaces/surface_aggregator.h', |
503 'surfaces/surface_factory.cc', | 507 'surfaces/surface_factory.cc', |
504 'surfaces/surface_factory.h', | 508 'surfaces/surface_factory.h', |
505 'surfaces/surface_factory_client.h', | 509 'surfaces/surface_factory_client.h', |
506 'surfaces/surface_id.h', | 510 'surfaces/surface_id.h', |
507 'surfaces/surface_id_allocator.cc', | 511 'surfaces/surface_id_allocator.cc', |
508 'surfaces/surface_id_allocator.h', | 512 'surfaces/surface_id_allocator.h', |
509 'surfaces/surface_manager.cc', | 513 'surfaces/surface_manager.cc', |
510 'surfaces/surface_manager.h', | 514 'surfaces/surface_manager.h', |
511 'surfaces/surface_resource_holder.cc', | 515 'surfaces/surface_resource_holder.cc', |
512 'surfaces/surface_resource_holder.h', | 516 'surfaces/surface_resource_holder.h', |
513 'surfaces/surfaces_export.h', | 517 'surfaces/surfaces_export.h', |
514 ], | 518 ], |
515 }, | 519 }, |
516 ], | 520 ], |
517 } | 521 } |
OLD | NEW |