diff options
author | thakis <thakis@chromium.org> | 2015-06-08 13:51:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-08 20:51:48 +0000 |
commit | 4a0c548e5313145cc67e51ab1ed1b886c250b474 (patch) | |
tree | 5f4f631e5cec7f06c0df6fa27359d879966093ec /cc/cc.gyp | |
parent | 9cf05acc2e6cd9a94abb7be7c00545cf58c8b7fc (diff) | |
download | chromium_src-4a0c548e5313145cc67e51ab1ed1b886c250b474.zip chromium_src-4a0c548e5313145cc67e51ab1ed1b886c250b474.tar.gz chromium_src-4a0c548e5313145cc67e51ab1ed1b886c250b474.tar.bz2 |
Remove a few _sse2 targets now that we build with -msse2 everywhere.
No intended behavior change.
BUG=348761
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1152053004
Cr-Commit-Position: refs/heads/master@{#333333}
Diffstat (limited to 'cc/cc.gyp')
-rw-r--r-- | cc/cc.gyp | 45 |
1 files changed, 8 insertions, 37 deletions
@@ -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', @@ -593,6 +592,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 @@ -642,41 +649,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', - ], - }], - ], - }, ], } |