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

Side by Side Diff: third_party/zlib/zlib.gyp

Issue 552123005: Integrate SIMD optimisations for zlib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issues in fallback (non-SIMD) code Created 6 years, 3 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
« third_party/zlib/deflate.c ('K') | « third_party/zlib/x86.c ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'zlib', 8 'target_name': 'zlib',
9 'type': 'static_library', 9 'type': 'static_library',
10 'sources': [ 10 'sources': [
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 'include_dirs': [ 43 'include_dirs': [
44 '.', 44 '.',
45 ], 45 ],
46 }, 46 },
47 'conditions': [ 47 'conditions': [
48 ['OS!="win"', { 48 ['OS!="win"', {
49 'product_name': 'chrome_zlib', 49 'product_name': 'chrome_zlib',
50 }], ['OS=="android"', { 50 }], ['OS=="android"', {
51 'toolsets': ['target', 'host'], 51 'toolsets': ['target', 'host'],
52 }], 52 }],
53 ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', {
54 'defines': [ "HAVE_SSE2",
55 "CHECK_SSE2",
56 "USE_SSE4_2_CRC_HASH",
57 "HAVE_PCLMULQDQ" ],
58 'cflags' : ["-msse2", "-msse4.2", "-mpclmul"],
agl 2014/09/23 21:41:40 ditto about these cflags.
59 'sources' : [ 'crc_folding.c',
60 'fill_window_sse.c',
61 'x86.c',
62 'x86.h' ]
63 }]
53 ], 64 ],
54 }, 65 },
55 { 66 {
56 'target_name': 'minizip', 67 'target_name': 'minizip',
57 'type': 'static_library', 68 'type': 'static_library',
58 'sources': [ 69 'sources': [
59 'contrib/minizip/ioapi.c', 70 'contrib/minizip/ioapi.c',
60 'contrib/minizip/ioapi.h', 71 'contrib/minizip/ioapi.h',
61 'contrib/minizip/iowin32.c', 72 'contrib/minizip/iowin32.c',
62 'contrib/minizip/iowin32.h', 73 'contrib/minizip/iowin32.h',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 # fseeko64. We use fopen, ftell, and fseek instead on these 108 # fseeko64. We use fopen, ftell, and fseek instead on these
98 # systems. 109 # systems.
99 'defines': [ 110 'defines': [
100 'USE_FILE32API' 111 'USE_FILE32API'
101 ], 112 ],
102 }], 113 }],
103 ], 114 ],
104 }, 115 },
105 ], 116 ],
106 } 117 }
OLDNEW
« third_party/zlib/deflate.c ('K') | « third_party/zlib/x86.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698