| Index: runtime/bin/bin.gypi
|
| diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi
|
| index a7f3bf79ceee41d4aa90d5c295f47ca6beaa2cb4..989b9803a820cc6b62b181bd78c77f68dc2a0528 100644
|
| --- a/runtime/bin/bin.gypi
|
| +++ b/runtime/bin/bin.gypi
|
| @@ -626,6 +626,49 @@
|
| },
|
| },
|
| {
|
| + # dart binary for running precompiled snapshots without the compiler.
|
| + 'target_name': 'dart_precompiled',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'libdart_precompiled',
|
| + 'libdart_builtin',
|
| + 'libdart_io',
|
| + 'build_observatory#host',
|
| + 'generate_resources_cc_file#host',
|
| + 'generate_observatory_assets_cc_file#host',
|
| + ],
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'sources': [
|
| + 'main.cc',
|
| + 'builtin_common.cc',
|
| + 'builtin_natives.cc',
|
| + 'builtin_nolib.cc',
|
| + 'builtin.h',
|
| + 'io_natives.h',
|
| + 'vmservice_impl.cc',
|
| + 'vmservice_impl.h',
|
| + 'snapshot_empty.cc',
|
| + '<(resources_cc_file)',
|
| + '<(observatory_assets_cc_file)',
|
| + ],
|
| + 'conditions': [
|
| + ['OS=="win"', {
|
| + 'link_settings': {
|
| + 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
|
| + },
|
| + # Generate an import library on Windows, by exporting a function.
|
| + # Extensions use this import library to link to the API in dart.exe.
|
| + 'msvs_settings': {
|
| + 'VCLinkerTool': {
|
| + 'AdditionalOptions': [ '/EXPORT:Dart_True' ],
|
| + },
|
| + },
|
| + }],
|
| + ],
|
| + },
|
| + {
|
| # dart binary built for the host. It does not use a snapshot
|
| # and does not include Observatory.
|
| 'target_name': 'dart_bootstrap',
|
|
|