Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: cc/cc.gyp

Issue 1096703002: Reland: Add ETC1 powered SSE encoder for tile texture compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reland: Change ia32 to x86 in Build.gn Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 'surfaces/surface_manager.cc', 624 'surfaces/surface_manager.cc',
624 'surfaces/surface_manager.h', 625 'surfaces/surface_manager.h',
625 'surfaces/surface_resource_holder.cc', 626 'surfaces/surface_resource_holder.cc',
626 'surfaces/surface_resource_holder.h', 627 'surfaces/surface_resource_holder.h',
627 'surfaces/surfaces_export.h', 628 'surfaces/surfaces_export.h',
628 ], 629 ],
629 'includes': [ 630 'includes': [
630 '../build/android/increase_size_for_speed.gypi', 631 '../build/android/increase_size_for_speed.gypi',
631 ], 632 ],
632 }, 633 },
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 },
633 ], 670 ],
634 } 671 }
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | cc/cc_tests.gyp » ('j') | cc/resources/texture_compressor_perftest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698