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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/zlib/adler32.c » ('j') | third_party/zlib/neon_adler32.c » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("zlib_config") { 5 config("zlib_config") {
6 include_dirs = [ "." ] 6 include_dirs = [ "." ]
7 } 7 }
8 8
9 static_library("zlib_x86_simd") { 9 static_library("zlib_x86_simd") {
10 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) { 10 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 "gzwrite.c", 54 "gzwrite.c",
55 "infback.c", 55 "infback.c",
56 "inffast.c", 56 "inffast.c",
57 "inffast.h", 57 "inffast.h",
58 "inffixed.h", 58 "inffixed.h",
59 "inflate.c", 59 "inflate.c",
60 "inflate.h", 60 "inflate.h",
61 "inftrees.c", 61 "inftrees.c",
62 "inftrees.h", 62 "inftrees.h",
63 "mozzconf.h", 63 "mozzconf.h",
64 "neon_adler32.h",
cavalcantii1 2017/02/04 18:53:01 Forgot this one, got remove it.
64 "trees.c", 65 "trees.c",
65 "trees.h", 66 "trees.h",
66 "uncompr.c", 67 "uncompr.c",
67 "x86.h", 68 "x86.h",
68 "zconf.h", 69 "zconf.h",
69 "zlib.h", 70 "zlib.h",
70 "zutil.c", 71 "zutil.c",
71 "zutil.h", 72 "zutil.h",
72 ] 73 ]
73 74
74 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) { 75 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) {
75 sources += [ "x86.c" ] 76 sources += [ "x86.c" ]
77 } else if (current_cpu == "arm" || current_cpu == "arm64") {
78 sources += [
79 "neon_adler32.c",
80 "neon_adler32.h",
81 ]
76 } 82 }
77 83
78 configs -= [ "//build/config/compiler:chromium_code" ] 84 configs -= [ "//build/config/compiler:chromium_code" ]
79 configs += [ 85 configs += [
80 "//build/config/compiler:no_chromium_code", 86 "//build/config/compiler:no_chromium_code",
81 87
82 # Must be after no_chromium_code for warning flags to be ordered correctly. 88 # Must be after no_chromium_code for warning flags to be ordered correctly.
83 ":zlib_warnings", 89 ":zlib_warnings",
84 ] 90 ]
85 91
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 158
153 static_library("compression_utils") { 159 static_library("compression_utils") {
154 sources = [ 160 sources = [
155 "google/compression_utils.cc", 161 "google/compression_utils.cc",
156 "google/compression_utils.h", 162 "google/compression_utils.h",
157 ] 163 ]
158 deps = [ 164 deps = [
159 ":zlib", 165 ":zlib",
160 ] 166 ]
161 } 167 }
OLDNEW
« 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