Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6184)

Unified Diff: cc/BUILD.gn

Issue 1096703002: Reland: Add ETC1 powered SSE encoder for tile texture compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using ALIGNAS instead of attribute and remove pragma's Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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") {
« no previous file with comments | « AUTHORS ('k') | cc/cc.gyp » ('j') | cc/resources/texture_compressor_etc1_sse.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698