| 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 Chromium's src/net/third_party/nss/ssl.gyp. | 9 # This file is a modified copy of Chromium's src/net/third_party/nss/ssl.gyp. |
| 10 # Revision 165464 (this should agree with "nss_rev" in DEPS). | 10 # Revision 165464 (this should agree with "nss_rev" in DEPS). |
| 11 { | 11 { |
| 12 # Conditions section for ssl-bodge (Compiling SSL on linux using system | 12 # Conditions section for ssl-bodge (Compiling SSL on linux using system |
| 13 # NSS and NSPR libraries) removed: | 13 # NSS and NSPR libraries) removed: |
| 14 # 'conditions': [ | 14 # 'conditions': [ |
| 15 # [ 'os_posix == 1 and OS != "mac" and OS != "ios"', { | 15 # [ 'os_posix == 1 and OS != "mac" and OS != "ios"', { |
| 16 # ... | 16 # ... |
| 17 # }]], | 17 # }]], |
| 18 | 18 |
| 19 # Added by Dart. All Dart comments refer to the following block or line. | 19 # Added by Dart. All Dart comments refer to the following block or line. |
| 20 'includes': [ | 20 'includes': [ |
| 21 '../../tools/gyp/runtime-configurations.gypi', | 21 '../../tools/gyp/runtime-configurations.gypi', |
| 22 '../../tools/gyp/nss_configurations.gypi', | 22 '../../tools/gyp/nss_configurations.gypi', |
| 23 ], | 23 ], |
| 24 # Added by Dart. | 24 # Added by Dart. |
| 25 'variables': { | 25 'variables': { |
| 26 'ssl_directory': '../../../third_party/net_nss', | 26 'ssl_directory': '../../../third_party/net_nss', |
| 27 'os_posix': 0, | 27 'os_posix': 0, |
| 28 }, | 28 }, |
| 29 # Added by Dart. We do not indent, so diffs with the original are clearer. | 29 # Added by Dart. We do not indent, so diffs with the original are clearer. |
| 30 'conditions': [[ 'in_dartium==0', { | 30 'conditions': [[ 'dart_io_support==1', { |
| 31 'targets': [ | 31 'targets': [ |
| 32 { | 32 { |
| 33 'target_name': 'libssl_dart', | 33 'target_name': 'libssl_dart', |
| 34 'type': 'static_library', | 34 'type': 'static_library', |
| 35 # Changed by Dart: '<(ssl_directory)/' added to all paths. | 35 # Changed by Dart: '<(ssl_directory)/' added to all paths. |
| 36 'sources': [ | 36 'sources': [ |
| 37 '<(ssl_directory)/ssl/authcert.c', | 37 '<(ssl_directory)/ssl/authcert.c', |
| 38 '<(ssl_directory)/ssl/cmpcert.c', | 38 '<(ssl_directory)/ssl/cmpcert.c', |
| 39 '<(ssl_directory)/ssl/derive.c', | 39 '<(ssl_directory)/ssl/derive.c', |
| 40 '<(ssl_directory)/ssl/dtls1con.c', | 40 '<(ssl_directory)/ssl/dtls1con.c', |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 'Debug_Base': { | 159 'Debug_Base': { |
| 160 'defines': [ | 160 'defines': [ |
| 161 'DEBUG', | 161 'DEBUG', |
| 162 ], | 162 ], |
| 163 }, | 163 }, |
| 164 }, | 164 }, |
| 165 }, | 165 }, |
| 166 ], | 166 ], |
| 167 }]], | 167 }]], |
| 168 } | 168 } |
| OLD | NEW |