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

Unified Diff: cc/BUILD.gn

Issue 1152053004: Remove a few _sse2 targets now that we build with -msse2 everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drunk Created 5 years, 6 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
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698