Index: cc/BUILD.gn |
diff --git a/cc/BUILD.gn b/cc/BUILD.gn |
index b35560ade8cbb4edf7332a07377421a369b98bdf..37d731d5fb8f3145c28fa261322e3003c0201d5d 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") { |