Chromium Code Reviews| Index: third_party/zlib/zlib.gyp |
| diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp |
| index aef41ac2bd969dedff9e8f44ec821e8dddc357fb..f59ba32d6e863453db122cc61e226992913993ab 100644 |
| --- a/third_party/zlib/zlib.gyp |
| +++ b/third_party/zlib/zlib.gyp |
| @@ -50,6 +50,17 @@ |
| }], ['OS=="android"', { |
| 'toolsets': ['target', 'host'], |
| }], |
| + ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { |
| + 'defines': [ "HAVE_SSE2", |
| + "CHECK_SSE2", |
| + "USE_SSE4_2_CRC_HASH", |
| + "HAVE_PCLMULQDQ" ], |
| + 'cflags' : ["-msse2", "-msse4.2", "-mpclmul"], |
|
agl
2014/09/23 21:41:40
ditto about these cflags.
|
| + 'sources' : [ 'crc_folding.c', |
| + 'fill_window_sse.c', |
| + 'x86.c', |
| + 'x86.h' ] |
| + }] |
| ], |
| }, |
| { |