Index: runtime/dart-runtime.gyp |
diff --git a/runtime/dart-runtime.gyp b/runtime/dart-runtime.gyp |
index f542ddeaf080f322cae482629ffc825cac8e4ef5..915b5b48a876d541ba7fecc4510aff859664ab7b 100644 |
--- a/runtime/dart-runtime.gyp |
+++ b/runtime/dart-runtime.gyp |
@@ -17,6 +17,7 @@ |
'libdart_deps': ['libdart_lib_nosnapshot', 'libdart_lib', |
'libdart_vm_nosnapshot', 'libdart_vm', |
+ 'libdart_vm_noopt', |
'libdart_vm_precompiled_runtime', |
'libdouble_conversion',], |
}, |
@@ -56,6 +57,41 @@ |
}, |
}, |
{ |
+ 'target_name': 'libdart_noopt', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'libdart_lib', |
+ 'libdart_vm_noopt', |
+ 'libdouble_conversion', |
+ 'generate_version_cc_file#host', |
+ ], |
+ 'include_dirs': [ |
+ '.', |
+ ], |
+ 'sources': [ |
+ 'include/dart_api.h', |
+ 'include/dart_mirrors_api.h', |
+ 'include/dart_native_api.h', |
+ 'include/dart_tools_api.h', |
+ 'vm/dart_api_impl.cc', |
+ 'vm/debugger_api_impl.cc', |
+ 'vm/mirrors_api_impl.cc', |
+ 'vm/native_api_impl.cc', |
+ 'vm/version.h', |
+ '<(version_cc_file)', |
+ ], |
+ 'defines': [ |
+ # The only effect of DART_SHARED_LIB is to export the Dart API entries. |
+ 'DART_SHARED_LIB', |
+ 'DART_PRECOMPILER', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ 'include', |
+ ], |
+ }, |
+ }, |
+ { |
'target_name': 'libdart_precompiled_runtime', |
'type': 'static_library', |
'dependencies': [ |