| 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 |
| 10 # Revision 291806 (this should agree with "nss_rev" in DEPS). | 10 # https://chromium.googlesource.com/chromium/src/third_party/zlib/zlib.gyp |
| 11 # at revision c3d0a6190f2f8c924a05ab6cc97b8f975bddd33f. |
| 11 { | 12 { |
| 12 # Added by Dart. All Dart comments refer to the following block or line. | 13 # Added by Dart. All Dart comments refer to the following block or line. |
| 13 'includes': [ | 14 'includes': [ |
| 14 '../../tools/gyp/runtime-configurations.gypi', | 15 '../tools/gyp/runtime-configurations.gypi', |
| 15 '../../tools/gyp/nss_configurations.gypi', | 16 '../tools/gyp/nss_configurations.gypi', |
| 16 ], | 17 ], |
| 17 'variables': { | 18 'variables': { |
| 18 # Added by Dart. | 19 # Added by Dart. |
| 19 'zlib_path': '../../../third_party/zlib', | 20 'zlib_path': '../../third_party/zlib', |
| 20 }, | 21 }, |
| 21 # Added by Dart. We do not indent, so diffs with the original are clearer. | 22 # Added by Dart. We do not indent, so diffs with the original are clearer. |
| 22 'conditions': [[ 'dart_io_support==1', { | 23 'conditions': [[ 'dart_io_support==1', { |
| 23 'targets': [ | 24 'targets': [ |
| 24 { | 25 { |
| 25 'target_name': 'zlib_dart', # Added by Dart (the _dart postfix) | 26 'target_name': 'zlib_dart', # Added by Dart (the _dart postfix) |
| 26 'type': 'static_library', | 27 'type': 'static_library', |
| 27 # Added by Dart (the original only has this on android). | 28 # Added by Dart (the original only has this on android). |
| 28 'toolsets':['host','target'], | 29 'toolsets':['host','target'], |
| 29 # Changed by Dart: '<(zlib_directory)/' added to all paths. | 30 # Changed by Dart: '<(zlib_directory)/' added to all paths. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 }, | 67 }, |
| 67 'conditions': [ | 68 'conditions': [ |
| 68 ['OS!="win"', { | 69 ['OS!="win"', { |
| 69 'product_name': 'chrome_zlib', | 70 'product_name': 'chrome_zlib', |
| 70 }], | 71 }], |
| 71 ], | 72 ], |
| 72 }, | 73 }, |
| 73 ], | 74 ], |
| 74 }]], | 75 }]], |
| 75 } | 76 } |
| OLD | NEW |