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

Unified Diff: BUILD.gn

Issue 2272243003: Add neon and crc32 sources for aarch64 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index e0ed2a6f80d2d1d406f1f296c4bf79f6c2537b4d..eb2aa9a07adb715c3ba1ef15901ef047c743fdd9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -167,6 +167,18 @@ opts("none") {
cflags = []
}
+opts("neon_sources") {
mtklein 2016/08/25 01:26:44 Hmm. It's gonna have to be a little more complica
anmittal 2016/08/25 03:03:58 Done.
+ enabled = !is_x86
+ sources = opts_gypi.neon_sources
+ cflags = []
+}
+
+opts("crc32_sources") {
+ enabled = !is_x86
+ sources = opts_gypi.crc32_sources
+ cflags = []
+}
+
opts("sse2") {
enabled = is_x86
sources = opts_gypi.sse2_sources
@@ -316,8 +328,10 @@ component("skia") {
deps = [
":avx",
+ ":crc32_sources",
":gif",
":jpeg",
+ ":neon_sources",
":none",
":pdf",
":png",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698