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

Side by Side Diff: third_party/zlib/BUILD.gn

Issue 2676493007: NEON implementation for Adler32
Patch Set: Coding style. 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/README.chromium » ('j') | no next file with comments »
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "uncompr.c", 66 "uncompr.c",
67 "x86.h", 67 "x86.h",
68 "zconf.h", 68 "zconf.h",
69 "zlib.h", 69 "zlib.h",
70 "zutil.c", 70 "zutil.c",
71 "zutil.h", 71 "zutil.h",
72 ] 72 ]
73 73
74 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) { 74 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) {
75 sources += [ "x86.c" ] 75 sources += [ "x86.c" ]
76 } else if (current_cpu == "arm" || current_cpu == "arm64") {
77 sources += [
78 "neon_adler32.c",
79 "neon_adler32.h",
80 ]
76 } 81 }
77 82
78 configs -= [ "//build/config/compiler:chromium_code" ] 83 configs -= [ "//build/config/compiler:chromium_code" ]
79 configs += [ 84 configs += [
80 "//build/config/compiler:no_chromium_code", 85 "//build/config/compiler:no_chromium_code",
81 86
82 # Must be after no_chromium_code for warning flags to be ordered correctly. 87 # Must be after no_chromium_code for warning flags to be ordered correctly.
83 ":zlib_warnings", 88 ":zlib_warnings",
84 ] 89 ]
85 90
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 157
153 static_library("compression_utils") { 158 static_library("compression_utils") {
154 sources = [ 159 sources = [
155 "google/compression_utils.cc", 160 "google/compression_utils.cc",
156 "google/compression_utils.h", 161 "google/compression_utils.h",
157 ] 162 ]
158 deps = [ 163 deps = [
159 ":zlib", 164 ":zlib",
160 ] 165 ]
161 } 166 }
OLDNEW
« no previous file with comments | « no previous file | third_party/zlib/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698