| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 | 8 |
| 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', | 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', | 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 'io_natives.h', | 181 'io_natives.h', |
| 182 'io_natives.cc', | 182 'io_natives.cc', |
| 183 ], | 183 ], |
| 184 'conditions': [ | 184 'conditions': [ |
| 185 ['dart_io_support==1', { | 185 ['dart_io_support==1', { |
| 186 'dependencies': [ | 186 'dependencies': [ |
| 187 'bin/net/ssl.gyp:libssl_dart', | 187 'bin/net/ssl.gyp:libssl_dart', |
| 188 ], | 188 ], |
| 189 }], | 189 }], |
| 190 ['OS=="win"', { | 190 ['OS=="win"', { |
| 191 'link_settings': { |
| 192 'libraries': [ '-liphlpapi.lib' ], |
| 193 }, |
| 191 # TODO(antonm): fix the implementation. | 194 # TODO(antonm): fix the implementation. |
| 192 # Current implementation accepts char* strings | 195 # Current implementation accepts char* strings |
| 193 # and therefore fails to compile once _UNICODE is | 196 # and therefore fails to compile once _UNICODE is |
| 194 # enabled. That should be addressed using -A | 197 # enabled. That should be addressed using -A |
| 195 # versions of functions and adding necessary conversions. | 198 # versions of functions and adding necessary conversions. |
| 196 'configurations': { | 199 'configurations': { |
| 197 'Common_Base': { | 200 'Common_Base': { |
| 198 'msvs_configuration_attributes': { | 201 'msvs_configuration_attributes': { |
| 199 'CharacterSet': '0', | 202 'CharacterSet': '0', |
| 200 }, | 203 }, |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 '-fPIC', | 679 '-fPIC', |
| 677 ], | 680 ], |
| 678 }], | 681 }], |
| 679 ], | 682 ], |
| 680 }, | 683 }, |
| 681 ], | 684 ], |
| 682 }], | 685 }], |
| 683 ], | 686 ], |
| 684 } | 687 } |
| 685 | 688 |
| OLD | NEW |