| Index: cc/BUILD.gn
|
| diff --git a/cc/BUILD.gn b/cc/BUILD.gn
|
| index 3c89a02405065ae701cf91d893aefffd013c6533..40ff9cebbf182e2294f29a652deb8118557b5a04 100644
|
| --- a/cc/BUILD.gn
|
| +++ b/cc/BUILD.gn
|
| @@ -532,6 +532,13 @@ component("cc") {
|
| "trees/tree_synchronizer.h",
|
| ]
|
|
|
| + if (target_cpu == "x86" || target_cpu == "x64") {
|
| + sources += [
|
| + "raster/texture_compressor_etc1_sse.cc",
|
| + "raster/texture_compressor_etc1_sse.h",
|
| + ]
|
| + }
|
| +
|
| # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
|
|
| @@ -542,7 +549,6 @@ component("cc") {
|
| deps = [
|
| "//base",
|
| "//base/third_party/dynamic_annotations",
|
| - "//cc:cc_opts",
|
| "//cc/surfaces:surface_id",
|
| "//gpu",
|
| "//gpu/command_buffer/client:gles2_interface",
|
| @@ -560,36 +566,6 @@ component("cc") {
|
| }
|
| }
|
|
|
| -source_set("cc_opts") {
|
| - public_deps = [
|
| - "//cc:cc_opts_sse",
|
| - ]
|
| -}
|
| -
|
| -source_set("cc_opts_sse") {
|
| - if (target_cpu == "x86" || target_cpu == "x64") {
|
| - deps = [
|
| - "//base",
|
| - ]
|
| -
|
| - defines = [ "CC_IMPLEMENTATION=1" ]
|
| -
|
| - if (!is_debug && (is_win || is_android)) {
|
| - configs -= [ "//build/config/compiler:optimize" ]
|
| - configs += [ "//build/config/compiler:optimize_max" ]
|
| - }
|
| -
|
| - sources = [
|
| - "raster/texture_compressor.h",
|
| - "raster/texture_compressor_etc1.h",
|
| - "raster/texture_compressor_etc1_sse.cc",
|
| - "raster/texture_compressor_etc1_sse.h",
|
| - ]
|
| -
|
| - cflags = [ "-msse2" ]
|
| - }
|
| -}
|
| -
|
| source_set("test_support") {
|
| testonly = true
|
| sources = [
|
|
|