| Index: runtime/bin/bin.gypi
|
| diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi
|
| index 3cde1ee1bf67c861a87526da133c6ff97c39aa32..b9658b617489972141ac229cacd34945609ec429 100644
|
| --- a/runtime/bin/bin.gypi
|
| +++ b/runtime/bin/bin.gypi
|
| @@ -267,6 +267,7 @@
|
| 'sources': [
|
| 'builtin_natives.cc',
|
| 'builtin.h',
|
| + 'io_natives.h',
|
| ],
|
| 'includes': [
|
| 'builtin_impl_sources.gypi',
|
| @@ -303,6 +304,36 @@
|
| ],
|
| },
|
| {
|
| + 'target_name': 'libdart_io',
|
| + 'type': 'static_library',
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'sources': [
|
| + 'io_natives.h',
|
| + 'io_natives.cc',
|
| + ],
|
| + 'includes': [
|
| + 'io_impl_sources.gypi',
|
| + ],
|
| + 'conditions': [
|
| + ['OS=="win"', {
|
| + # TODO(antonm): fix the implementation.
|
| + # Current implementation accepts char* strings
|
| + # and therefore fails to compile once _UNICODE is
|
| + # enabled. That should be addressed using -A
|
| + # versions of functions and adding necessary conversions.
|
| + 'configurations': {
|
| + 'Common_Base': {
|
| + 'msvs_configuration_attributes': {
|
| + 'CharacterSet': '0',
|
| + },
|
| + },
|
| + },
|
| + }],
|
| + ],
|
| + },
|
| + {
|
| 'target_name': 'libdart_withcore',
|
| 'type': 'static_library',
|
| 'dependencies': [
|
| @@ -339,7 +370,8 @@
|
| ],
|
| 'sources': [
|
| 'gen_snapshot.cc',
|
| - 'builtin.cc',
|
| + # Only looks up native functions in libdart_builtin, not libdart_io.
|
| + 'builtin_gen_snapshot.cc',
|
| # Include generated source files.
|
| '<(builtin_cc_file)',
|
| '<(crypto_cc_file)',
|
| @@ -421,6 +453,7 @@
|
| 'dependencies': [
|
| 'libdart_export',
|
| 'libdart_builtin',
|
| + 'libdart_io',
|
| 'generate_snapshot_file',
|
| ],
|
| 'include_dirs': [
|
| @@ -453,6 +486,7 @@
|
| 'dependencies': [
|
| 'libdart_withcore',
|
| 'libdart_builtin',
|
| + 'libdart_io',
|
| ],
|
| 'include_dirs': [
|
| '..',
|
| @@ -497,6 +531,7 @@
|
| 'dependencies': [
|
| 'libdart_withcore',
|
| 'libdart_builtin',
|
| + 'libdart_io',
|
| 'generate_snapshot_test_dat_file',
|
| ],
|
| 'include_dirs': [
|
|
|