Index: runtime/dart-runtime.gyp |
diff --git a/runtime/dart-runtime.gyp b/runtime/dart-runtime.gyp |
index a711ad7a0c0aedfd1fd38ef23be54a10c2943ce8..6243bdef018178a69783d35e934db0e75b1c8c55 100644 |
--- a/runtime/dart-runtime.gyp |
+++ b/runtime/dart-runtime.gyp |
@@ -35,5 +35,34 @@ |
], |
}, |
}, |
+ { |
+ # The Dart API is exported from this library to dynamically loaded shared |
+ # libraries. |
+ 'target_name': 'libdart_export', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'libdart_lib', |
+ 'libdart_vm', |
+ 'libjscre', |
+ 'libdouble_conversion', |
+ ], |
+ 'include_dirs': [ |
+ '.', |
+ ], |
+ 'sources': [ |
+ 'include/dart_api.h', |
+ 'include/dart_debugger_api.h', |
+ 'vm/dart_api_impl.cc', |
+ 'vm/debugger_api_impl.cc', |
+ ], |
+ 'defines': [ |
+ 'DART_SHARED_LIB', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ 'include', |
+ ], |
+ }, |
+ }, |
], |
} |