| Index: cc/BUILD.gn
|
| diff --git a/cc/BUILD.gn b/cc/BUILD.gn
|
| index b35560ade8cbb4edf7332a07377421a369b98bdf..caf5a4888b83a6f96bb12f578d3c32f2024e4dc6 100644
|
| --- a/cc/BUILD.gn
|
| +++ b/cc/BUILD.gn
|
| @@ -432,6 +432,7 @@ component("cc") {
|
| "resources/texture_compressor.h",
|
| "resources/texture_compressor_etc1.cc",
|
| "resources/texture_compressor_etc1.h",
|
| + "resources/texture_compressor_util.h",
|
| "resources/texture_mailbox.cc",
|
| "resources/texture_mailbox.h",
|
| "resources/texture_mailbox_deleter.cc",
|
| @@ -550,6 +551,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 +815,7 @@ test("cc_unittests") {
|
| "resources/scoped_gpu_raster_unittest.cc",
|
| "resources/scoped_resource_unittest.cc",
|
| "resources/task_graph_runner_unittest.cc",
|
| + "resources/texture_compressor_unittest.cc",
|
| "resources/texture_mailbox_deleter_unittest.cc",
|
| "resources/texture_uploader_unittest.cc",
|
| "resources/tile_manager_unittest.cc",
|
|
|