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 # GN version: //cc |
12 'target_name': 'cc', | 12 'target_name': 'cc', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '<(DEPTH)/base/base.gyp:base', | 15 '<(DEPTH)/base/base.gyp:base', |
16 '<(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', |
17 '<(DEPTH)/gpu/gpu.gyp:gpu', | 17 '<(DEPTH)/gpu/gpu.gyp:gpu', |
18 '<(DEPTH)/media/media.gyp:media', | 18 '<(DEPTH)/media/media.gyp:media', |
19 '<(DEPTH)/skia/skia.gyp:skia', | 19 '<(DEPTH)/skia/skia.gyp:skia', |
20 '<(DEPTH)/ui/events/events.gyp:events_base', | 20 '<(DEPTH)/ui/events/events.gyp:events_base', |
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 23 'cc_opts', |
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 ], |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 'resources/single_release_callback_impl.cc', | 481 'resources/single_release_callback_impl.cc', |
481 'resources/single_release_callback_impl.h', | 482 'resources/single_release_callback_impl.h', |
482 'resources/skpicture_content_layer_updater.cc', | 483 'resources/skpicture_content_layer_updater.cc', |
483 'resources/skpicture_content_layer_updater.h', | 484 'resources/skpicture_content_layer_updater.h', |
484 'resources/task_graph_runner.cc', | 485 'resources/task_graph_runner.cc', |
485 'resources/task_graph_runner.h', | 486 'resources/task_graph_runner.h', |
486 'resources/texture_compressor.cc', | 487 'resources/texture_compressor.cc', |
487 'resources/texture_compressor.h', | 488 'resources/texture_compressor.h', |
488 'resources/texture_compressor_etc1.cc', | 489 'resources/texture_compressor_etc1.cc', |
489 'resources/texture_compressor_etc1.h', | 490 'resources/texture_compressor_etc1.h', |
| 491 'resources/texture_compressor_util.h', |
490 'resources/texture_mailbox.cc', | 492 'resources/texture_mailbox.cc', |
491 'resources/texture_mailbox.h', | 493 'resources/texture_mailbox.h', |
492 'resources/texture_mailbox_deleter.cc', | 494 'resources/texture_mailbox_deleter.cc', |
493 'resources/texture_mailbox_deleter.h', | 495 'resources/texture_mailbox_deleter.h', |
494 'resources/texture_uploader.cc', | 496 'resources/texture_uploader.cc', |
495 'resources/texture_uploader.h', | 497 'resources/texture_uploader.h', |
496 'resources/tile.cc', | 498 'resources/tile.cc', |
497 'resources/tile.h', | 499 'resources/tile.h', |
498 'resources/tile_draw_info.cc', | 500 'resources/tile_draw_info.cc', |
499 'resources/tile_draw_info.h', | 501 'resources/tile_draw_info.h', |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 'surfaces/surface_manager.cc', | 625 'surfaces/surface_manager.cc', |
624 'surfaces/surface_manager.h', | 626 'surfaces/surface_manager.h', |
625 'surfaces/surface_resource_holder.cc', | 627 'surfaces/surface_resource_holder.cc', |
626 'surfaces/surface_resource_holder.h', | 628 'surfaces/surface_resource_holder.h', |
627 'surfaces/surfaces_export.h', | 629 'surfaces/surfaces_export.h', |
628 ], | 630 ], |
629 'includes': [ | 631 'includes': [ |
630 '../build/android/increase_size_for_speed.gypi', | 632 '../build/android/increase_size_for_speed.gypi', |
631 ], | 633 ], |
632 }, | 634 }, |
| 635 { |
| 636 'target_name': 'cc_opts', |
| 637 'type': 'static_library', |
| 638 'conditions': [ |
| 639 [ |
| 640 # 'target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or arm_neo
n_optional == 1)', { |
| 641 # 'defines': [ |
| 642 # 'CC_IMPLEMENTATION=1', |
| 643 # ], |
| 644 # 'dependencies': [ |
| 645 # 'cc_opts_neon', |
| 646 # ] |
| 647 # }, |
| 648 'target_arch == "ia32" or target_arch == "x64"', { |
| 649 'defines': [ |
| 650 'CC_IMPLEMENTATION=1', |
| 651 ], |
| 652 'dependencies': [ |
| 653 'cc_opts_sse', |
| 654 ] |
| 655 }], |
| 656 ], |
| 657 }, |
| 658 { |
| 659 'target_name': 'cc_opts_sse', |
| 660 'type': 'static_library', |
| 661 'dependencies': [ |
| 662 '<(DEPTH)/base/base.gyp:base', |
| 663 ], |
| 664 'conditions': [ |
| 665 ['target_arch == "ia32" or target_arch == "x64"', { |
| 666 'defines': [ |
| 667 'CC_IMPLEMENTATION=1', |
| 668 ], |
| 669 'sources': [ |
| 670 # Conditional compilation for SSE2 code on x86 and x64 machines |
| 671 'resources/texture_compressor_etc1_sse.cc', |
| 672 'resources/texture_compressor_etc1_sse.h', |
| 673 ], |
| 674 'cflags': [ |
| 675 '-msse2', |
| 676 ], |
| 677 }], |
| 678 ], |
| 679 }, |
633 ], | 680 ], |
634 } | 681 } |
OLD | NEW |