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

Unified Diff: third_party/zlib/BUILD.gn

Issue 2676493007: NEON implementation for Adler32
Patch Set: Created 3 years, 10 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 | third_party/zlib/adler32.c » ('j') | third_party/zlib/neon_adler32.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/BUILD.gn
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn
index a3384600a9216aa9fd564f0485fa5ba392478204..07f21db5e8824eb6f8029091db0c8bac44ce6aab 100644
--- a/third_party/zlib/BUILD.gn
+++ b/third_party/zlib/BUILD.gn
@@ -61,6 +61,7 @@ static_library("zlib") {
"inftrees.c",
"inftrees.h",
"mozzconf.h",
+ "neon_adler32.h",
cavalcantii1 2017/02/04 18:53:01 Forgot this one, got remove it.
"trees.c",
"trees.h",
"uncompr.c",
@@ -73,6 +74,11 @@ static_library("zlib") {
if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) {
sources += [ "x86.c" ]
+ } else if (current_cpu == "arm" || current_cpu == "arm64") {
+ sources += [
+ "neon_adler32.c",
+ "neon_adler32.h",
+ ]
}
configs -= [ "//build/config/compiler:chromium_code" ]
« no previous file with comments | « no previous file | third_party/zlib/adler32.c » ('j') | third_party/zlib/neon_adler32.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698