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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 'surfaces/surface_manager.cc', | 623 'surfaces/surface_manager.cc', |
625 'surfaces/surface_manager.h', | 624 'surfaces/surface_manager.h', |
626 'surfaces/surface_resource_holder.cc', | 625 'surfaces/surface_resource_holder.cc', |
627 'surfaces/surface_resource_holder.h', | 626 'surfaces/surface_resource_holder.h', |
628 'surfaces/surfaces_export.h', | 627 'surfaces/surfaces_export.h', |
629 ], | 628 ], |
630 'includes': [ | 629 'includes': [ |
631 '../build/android/increase_size_for_speed.gypi', | 630 '../build/android/increase_size_for_speed.gypi', |
632 ], | 631 ], |
633 }, | 632 }, |
634 { | |
635 'target_name': 'cc_opts', | |
636 'type': 'static_library', | |
637 'conditions': [ | |
638 ['target_arch == "ia32" or target_arch == "x64"', { | |
639 'defines': [ | |
640 'CC_IMPLEMENTATION=1', | |
641 ], | |
642 'dependencies': [ | |
643 'cc_opts_sse', | |
644 ] | |
645 }], | |
646 ], | |
647 }, | |
648 { | |
649 'target_name': 'cc_opts_sse', | |
650 'type': 'static_library', | |
651 'dependencies': [ | |
652 '<(DEPTH)/base/base.gyp:base', | |
653 ], | |
654 'conditions': [ | |
655 ['target_arch == "ia32" or target_arch == "x64"', { | |
656 'defines': [ | |
657 'CC_IMPLEMENTATION=1', | |
658 ], | |
659 'sources': [ | |
660 # Conditional compilation for SSE2 code on x86 and x64 machines | |
661 'resources/texture_compressor_etc1_sse.cc', | |
662 'resources/texture_compressor_etc1_sse.h', | |
663 ], | |
664 'cflags': [ | |
665 '-msse2', | |
666 ], | |
667 }], | |
668 ], | |
669 }, | |
670 ], | 633 ], |
671 } | 634 } |
OLD | NEW |