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

Unified Diff: skia/BUILD.gn

Issue 2384283002: update skia to latest sources (Closed)
Patch Set: merge with tot Created 4 years, 2 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 | « core/fxge/skia/fx_skia_device.cpp ('k') | no next file » | 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 61790ebab3c7bb2304a3b2cd579194b6fd09128a..43342b61a15a7f8038c627262405a4843b1762e0 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -175,18 +175,17 @@ component("skia") {
sources += skia_effects_sources
sources += skia_utils_sources
sources += [
- "//third_party/skia/src/ports/SkImageGenerator_none.cpp",
-
"//third_party/skia/src/fonts/SkFontMgr_indirect.cpp",
"//third_party/skia/src/fonts/SkRemotableFontMgr.cpp",
- "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
"//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
+ "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
"//third_party/skia/src/ports/SkFontHost_win.cpp",
"//third_party/skia/src/ports/SkFontMgr_android.cpp",
"//third_party/skia/src/ports/SkFontMgr_android_factory.cpp",
"//third_party/skia/src/ports/SkFontMgr_android_parser.cpp",
"//third_party/skia/src/ports/SkGlobalInitialization_default.cpp",
"//third_party/skia/src/ports/SkImageEncoder_none.cpp",
+ "//third_party/skia/src/ports/SkImageGenerator_none.cpp",
"//third_party/skia/src/ports/SkOSFile_posix.cpp",
"//third_party/skia/src/ports/SkOSFile_stdio.cpp",
"//third_party/skia/src/ports/SkOSFile_win.cpp",
@@ -415,10 +414,16 @@ if (current_cpu == "x86" || current_cpu == "x64") {
"//build/config/compiler:no_chromium_code",
]
}
- source_set("skia_opts_avx2") {
- sources = skia_opts.avx2_sources
+ source_set("skia_opts_hsw") {
+ sources = skia_opts.hsw_sources
if (!is_win) {
- cflags = [ "-mavx2" ]
+ cflags = [
+ "-mavx2",
+ "-mbmi",
+ "-mbmi2",
+ "-mf16c",
+ "-mfma",
+ ]
}
if (is_win) {
cflags = [ "/arch:AVX2" ]
@@ -440,7 +445,7 @@ source_set("skia_opts") {
sources = skia_opts.sse2_sources
deps = [
":skia_opts_avx",
- ":skia_opts_avx2",
+ ":skia_opts_hsw",
":skia_opts_sse3",
":skia_opts_sse41",
":skia_opts_sse42",
« no previous file with comments | « core/fxge/skia/fx_skia_device.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698