Chromium Code Reviews| Index: runtime/bin/bin.gypi |
| diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi |
| index a7f3bf79ceee41d4aa90d5c295f47ca6beaa2cb4..2a6d0de8448783406134e801978352161206bc8e 100644 |
| --- a/runtime/bin/bin.gypi |
| +++ b/runtime/bin/bin.gypi |
| @@ -626,6 +626,50 @@ |
| }, |
| }, |
| { |
| + # 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_snapshot_file#host', |
|
rmacnak
2015/11/17 20:51:18
Stub out this not-precompiled snapshot too.
Florian Schneider
2015/11/18 11:44:08
Done.
|
| + '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_cc_file)', |
|
rmacnak
2015/11/17 20:51:18
Stub out this not-precompiled snapshot too.
Florian Schneider
2015/11/18 11:44:08
Done. Replaced with snapshot_empty.cc. This cuts o
|
| + '<(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', |