Index: runtime/dart-runtime.gyp |
diff --git a/runtime/dart-runtime.gyp b/runtime/dart-runtime.gyp |
index e5c88053601bf53d0284adf03991f494543c04cb..fd3701e4dacea40a2238baed1af1a20a6af8511e 100644 |
--- a/runtime/dart-runtime.gyp |
+++ b/runtime/dart-runtime.gyp |
@@ -55,6 +55,40 @@ |
}, |
}, |
{ |
+ 'target_name': 'libdart_precompiled', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'libdart_lib', |
+ 'libdart_vm_precompiled', |
+ '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', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ 'include', |
+ ], |
+ }, |
+ }, |
+ { |
'target_name': 'generate_version_cc_file', |
'type': 'none', |
'toolsets':['host'], |