Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 Loading... | |
| 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 } |
| OLD | NEW |