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

Unified Diff: skia/BUILD.gn

Issue 2519083004: 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 c0e296e5fa2f5b3cec2d49e617db10f37f28bdce..55854ffe660126c63c7761eee4a9d80bec546daf 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -548,8 +548,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" ]
}
@@ -565,7 +570,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