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

Unified Diff: skia/BUILD.gn

Issue 2512093003: Stub out Skia AVX and HSW opts. (Closed)
Patch Set: Created 4 years, 1 month 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 | skia/ext/SkOpts_avx_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index d0855c9430afe8de5ac33dbaf67ff97406e5b5a4..efcfb7f216a13f025bd619f7a5ce5cc2ca87bf8a 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -547,8 +547,13 @@ if (!skia_build_no_opts) {
"//build/config/compiler:no_chromium_code",
]
}
+
+ # skia_opts_avx and skia_opts_hsw are stubbed out for crbug.com/666707.
source_set("skia_opts_avx") {
- sources = skia_opts.avx_sources
+ #sources = skia_opts.avx_sources
+ sources = [
+ "ext/SkOpts_avx_stub.cc",
+ ]
if (!is_win) {
cflags = [ "-mavx" ]
}
@@ -564,7 +569,10 @@ if (!skia_build_no_opts) {
]
}
source_set("skia_opts_hsw") {
- sources = skia_opts.hsw_sources
+ #sources = skia_opts.hsw_sources
+ sources = [
+ "ext/SkOpts_hsw_stub.cc",
+ ]
if (!is_win) {
cflags = [
"-mavx2",
« no previous file with comments | « no previous file | skia/ext/SkOpts_avx_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698