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

Unified Diff: cc/cc.gyp

Issue 1152053004: Remove a few _sse2 targets now that we build with -msse2 everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drunk Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/BUILD.gn ('k') | media/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/cc.gyp
diff --git a/cc/cc.gyp b/cc/cc.gyp
index e374c47c30104eb3e737c5e35b79e6190b738b5d..387a3be5d0aa395a88be22151ed4200bca0684de 100644
--- a/cc/cc.gyp
+++ b/cc/cc.gyp
@@ -20,7 +20,6 @@
'<(DEPTH)/ui/events/events.gyp:events_base',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
- 'cc_opts',
],
'variables': {
'optimize': 'max',
@@ -594,6 +593,14 @@
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
+ 'conditions': [
+ ['target_arch == "ia32" or target_arch == "x64"', {
+ 'sources': [
+ 'raster/texture_compressor_etc1_sse.cc',
+ 'raster/texture_compressor_etc1_sse.h',
+ ],
+ }],
+ ],
},
{
# GN version: //cc/surfaces
@@ -643,41 +650,5 @@
'../build/android/increase_size_for_speed.gypi',
],
},
- {
- 'target_name': 'cc_opts',
- 'type': 'static_library',
- 'conditions': [
- ['target_arch == "ia32" or target_arch == "x64"', {
- 'defines': [
- 'CC_IMPLEMENTATION=1',
- ],
- 'dependencies': [
- 'cc_opts_sse',
- ]
- }],
- ],
- },
- {
- 'target_name': 'cc_opts_sse',
- 'type': 'static_library',
- 'dependencies': [
- '<(DEPTH)/base/base.gyp:base',
- ],
- 'conditions': [
- ['target_arch == "ia32" or target_arch == "x64"', {
- 'defines': [
- 'CC_IMPLEMENTATION=1',
- ],
- 'sources': [
- # Conditional compilation for SSE2 code on x86 and x64 machines
- 'raster/texture_compressor_etc1_sse.cc',
- 'raster/texture_compressor_etc1_sse.h',
- ],
- 'cflags': [
- '-msse2',
- ],
- }],
- ],
- },
],
}
« no previous file with comments | « cc/BUILD.gn ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698