Roll third_party/skia/ aa10dfeec..6f56f2ed3 (1 commit)

https://chromium.googlesource.com/skia.git/+log/aa10dfeec96a..6f56f2ed3f35

To make the build work, add the skia_opts_skx target to skia/BUILD.gn,
like in https://crrev.com/775675.

Created with:
  roll-dep third_party/skia

Change-Id: Id44f3d4a7e14918ecc4dca51ac38611f3f353d70
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/71023
Reviewed-by: Daniel Hosseinian <dhoss@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/DEPS b/DEPS
index 389d800..935a379 100644
--- a/DEPS
+++ b/DEPS
@@ -83,7 +83,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling skia
   # and whatever else without interference from each other.
-  'skia_revision': 'aa10dfeec96ade0f45927c7d8408034131e00cc8',
+  'skia_revision': '6f56f2ed3f35416dc4986b6c37ac36ef7e9421d4',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling tools_memory
   # and whatever else without interference from each other.
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index ad6cb51..64bf0af 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -451,6 +451,16 @@
     }
     visibility = [ ":skia_opts" ]
   }
+  skia_source_set("skia_opts_skx") {
+    sources = skia_opts.skx_sources
+    if (!is_win) {
+      cflags = [ "-march=skylake-avx512" ]
+    }
+    if (is_win) {
+      cflags = [ "/arch:AVX512" ]
+    }
+    visibility = [ ":skia_opts" ]
+  }
 }
 
 skia_source_set("skia_opts") {
@@ -462,6 +472,7 @@
     deps = [
       ":skia_opts_avx",
       ":skia_opts_hsw",
+      ":skia_opts_skx",
       ":skia_opts_sse3",
       ":skia_opts_sse41",
       ":skia_opts_sse42",