| 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 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6 # for details. All rights reserved. Use of this source code is governed by a | 6 # for details. All rights reserved. Use of this source code is governed by a |
| 7 # BSD-style license that can be found in the LICENSE file. | 7 # BSD-style license that can be found in the LICENSE file. |
| 8 | 8 |
| 9 # This file is a modified copy of src/third_party/zlib/zlib.gyp from Chromium. | 9 # This file is a modified copy of src/third_party/zlib/zlib.gyp from Chromium. |
| 10 # Revision 165464 (this should agree with "nss_rev" in DEPS). | 10 # Revision 165464 (this should agree with "nss_rev" in DEPS). |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 # TODO(pvalchev): OpenBSD is purposefully left out, as the system | 23 # TODO(pvalchev): OpenBSD is purposefully left out, as the system |
| 24 # zlib brings up an incompatibility that breaks rendering. | 24 # zlib brings up an incompatibility that breaks rendering. |
| 25 'use_system_zlib%': 1, | 25 'use_system_zlib%': 1, |
| 26 }, { | 26 }, { |
| 27 'use_system_zlib%': 0, | 27 'use_system_zlib%': 0, |
| 28 }], | 28 }], |
| 29 ], | 29 ], |
| 30 'use_system_minizip%': 0, | 30 'use_system_minizip%': 0, |
| 31 }, | 31 }, |
| 32 # Added by Dart. We do not indent, so diffs with the original are clearer. | 32 # Added by Dart. We do not indent, so diffs with the original are clearer. |
| 33 'conditions': [[ 'in_dartium==0', { | 33 'conditions': [[ 'dart_io_support==1', { |
| 34 'targets': [ | 34 'targets': [ |
| 35 { | 35 { |
| 36 'target_name': 'zlib_dart', | 36 'target_name': 'zlib_dart', |
| 37 'type': 'static_library', | 37 'type': 'static_library', |
| 38 'conditions': [ | 38 'conditions': [ |
| 39 ['use_system_zlib==0', { | 39 ['use_system_zlib==0', { |
| 40 # Changed by Dart: '<(zlib_directory)/' added to all paths. | 40 # Changed by Dart: '<(zlib_directory)/' added to all paths. |
| 41 'sources': [ | 41 'sources': [ |
| 42 '<(zlib_path)/adler32.c', | 42 '<(zlib_path)/adler32.c', |
| 43 '<(zlib_path)/compress.c', | 43 '<(zlib_path)/compress.c', |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 }, | 161 }, |
| 162 'cflags': [ | 162 'cflags': [ |
| 163 '-Wno-parentheses-equality', | 163 '-Wno-parentheses-equality', |
| 164 ], | 164 ], |
| 165 }], | 165 }], |
| 166 ], | 166 ], |
| 167 } | 167 } |
| 168 ], | 168 ], |
| 169 }]], | 169 }]], |
| 170 } | 170 } |
| OLD | NEW |