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', | |
24 ], | 23 ], |
25 'variables': { | 24 'variables': { |
26 'optimize': 'max', | 25 'optimize': 'max', |
27 }, | 26 }, |
28 'export_dependent_settings': [ | 27 'export_dependent_settings': [ |
29 '<(DEPTH)/skia/skia.gyp:skia', | 28 '<(DEPTH)/skia/skia.gyp:skia', |
30 ], | 29 ], |
31 'defines': [ | 30 'defines': [ |
32 'CC_IMPLEMENTATION=1', | 31 'CC_IMPLEMENTATION=1', |
33 ], | 32 ], |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 'trees/thread_proxy.cc', | 586 'trees/thread_proxy.cc', |
588 'trees/thread_proxy.h', | 587 'trees/thread_proxy.h', |
589 'trees/tree_synchronizer.cc', | 588 'trees/tree_synchronizer.cc', |
590 'trees/tree_synchronizer.h', | 589 'trees/tree_synchronizer.h', |
591 ], | 590 ], |
592 'includes': [ | 591 'includes': [ |
593 '../build/android/increase_size_for_speed.gypi', | 592 '../build/android/increase_size_for_speed.gypi', |
594 ], | 593 ], |
595 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 594 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
596 'msvs_disabled_warnings': [ 4267, ], | 595 'msvs_disabled_warnings': [ 4267, ], |
| 596 'conditions': [ |
| 597 ['target_arch == "ia32" or target_arch == "x64"', { |
| 598 'sources': [ |
| 599 'raster/texture_compressor_etc1_sse.cc', |
| 600 'raster/texture_compressor_etc1_sse.h', |
| 601 ], |
| 602 }], |
| 603 ], |
597 }, | 604 }, |
598 { | 605 { |
599 # GN version: //cc/surfaces | 606 # GN version: //cc/surfaces |
600 'target_name': 'cc_surfaces', | 607 'target_name': 'cc_surfaces', |
601 'type': '<(component)', | 608 'type': '<(component)', |
602 'dependencies': [ | 609 'dependencies': [ |
603 'cc', | 610 'cc', |
604 '<(DEPTH)/base/base.gyp:base', | 611 '<(DEPTH)/base/base.gyp:base', |
605 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 612 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
606 '<(DEPTH)/gpu/gpu.gyp:gpu', | 613 '<(DEPTH)/gpu/gpu.gyp:gpu', |
(...skipping 29 matching lines...) Expand all Loading... |
636 'surfaces/surface_manager.cc', | 643 'surfaces/surface_manager.cc', |
637 'surfaces/surface_manager.h', | 644 'surfaces/surface_manager.h', |
638 'surfaces/surface_resource_holder.cc', | 645 'surfaces/surface_resource_holder.cc', |
639 'surfaces/surface_resource_holder.h', | 646 'surfaces/surface_resource_holder.h', |
640 'surfaces/surfaces_export.h', | 647 'surfaces/surfaces_export.h', |
641 ], | 648 ], |
642 'includes': [ | 649 'includes': [ |
643 '../build/android/increase_size_for_speed.gypi', | 650 '../build/android/increase_size_for_speed.gypi', |
644 ], | 651 ], |
645 }, | 652 }, |
646 { | |
647 'target_name': 'cc_opts', | |
648 'type': 'static_library', | |
649 'conditions': [ | |
650 ['target_arch == "ia32" or target_arch == "x64"', { | |
651 'defines': [ | |
652 'CC_IMPLEMENTATION=1', | |
653 ], | |
654 'dependencies': [ | |
655 'cc_opts_sse', | |
656 ] | |
657 }], | |
658 ], | |
659 }, | |
660 { | |
661 'target_name': 'cc_opts_sse', | |
662 'type': 'static_library', | |
663 'dependencies': [ | |
664 '<(DEPTH)/base/base.gyp:base', | |
665 ], | |
666 'conditions': [ | |
667 ['target_arch == "ia32" or target_arch == "x64"', { | |
668 'defines': [ | |
669 'CC_IMPLEMENTATION=1', | |
670 ], | |
671 'sources': [ | |
672 # Conditional compilation for SSE2 code on x86 and x64 machines | |
673 'raster/texture_compressor_etc1_sse.cc', | |
674 'raster/texture_compressor_etc1_sse.h', | |
675 ], | |
676 'cflags': [ | |
677 '-msse2', | |
678 ], | |
679 }], | |
680 ], | |
681 }, | |
682 ], | 653 ], |
683 } | 654 } |
OLD | NEW |