Index: cc/BUILD.gn |
diff --git a/cc/BUILD.gn b/cc/BUILD.gn |
index b35560ade8cbb4edf7332a07377421a369b98bdf..f2f2a2d7f25904087374a4f6d52fabb17134d491 100644 |
--- a/cc/BUILD.gn |
+++ b/cc/BUILD.gn |
@@ -550,6 +550,13 @@ component("cc") { |
configs -= [ "//build/config/compiler:optimize" ] |
configs += [ "//build/config/compiler:optimize_max" ] |
} |
+ |
+ if (target_cpu == "ia32" || target_cpu == "x64") { |
+ sources += [ |
+ "resources/texture_compressor_etc1_sse.cc", |
+ "resources/texture_compressor_etc1_sse.h", |
+ ] |
+ } |
} |
source_set("test_support") { |
@@ -807,6 +814,7 @@ test("cc_unittests") { |
"resources/scoped_gpu_raster_unittest.cc", |
"resources/scoped_resource_unittest.cc", |
"resources/task_graph_runner_unittest.cc", |
+ "resources/texture_compressor_etc1_unittest.cc", |
"resources/texture_mailbox_deleter_unittest.cc", |
"resources/texture_uploader_unittest.cc", |
"resources/tile_manager_unittest.cc", |