Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1734)

Unified Diff: bin/bin.gypi

Issue 8610004: - Build libdart as a static library. First step towards (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart-runtime.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/bin.gypi
===================================================================
--- bin/bin.gypi (revision 1671)
+++ bin/bin.gypi (working copy)
@@ -123,36 +123,11 @@
],
},
{
- # Standalone executable using the shared libdart library.
- 'target_name': 'dart_no_snapshot',
- 'type': 'executable',
- 'dependencies': [
- 'libdart',
- 'libdart_builtin',
- ],
- 'include_dirs': [
- '..',
- ],
- 'sources': [
- 'main.cc',
- 'snapshot_empty.cc',
- ],
- 'conditions': [
- ['OS=="win"', {
- 'link_settings': {
- 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
- },
- }]],
- },
- {
# Completely statically linked dart binary.
'target_name': 'dart_no_snapshot_bin',
'type': 'executable',
'dependencies': [
- 'libdart_lib',
- 'libdart_vm',
- 'libjscre',
- 'libdart_api',
+ 'libdart',
'libdart_builtin',
],
'include_dirs': [
@@ -174,10 +149,7 @@
'target_name': 'gen_snapshot_bin',
'type': 'executable',
'dependencies': [
- 'libdart_lib',
- 'libdart_vm',
- 'libjscre',
- 'libdart_api',
+ 'libdart',
'libdart_builtin',
],
'include_dirs': [
@@ -229,9 +201,7 @@
]
},
{
- # Standalone executable using the shared libdart library with a snapshot
- # of the core and builtin libraries linked in.
- 'target_name': 'dart',
+ 'target_name': 'dart_bin',
'type': 'executable',
'dependencies': [
'libdart',
@@ -253,15 +223,10 @@
}]],
},
{
- # Completely statically linked dart binary with a snapshot of the core
- # and builtin libraries linked in.
- 'target_name': 'dart_bin',
+ 'target_name': 'dart',
'type': 'executable',
'dependencies': [
- 'libdart_lib',
- 'libdart_vm',
- 'libjscre',
- 'libdart_api',
+ 'libdart',
'libdart_builtin',
'generate_snapshot_file',
],
@@ -289,14 +254,8 @@
{
'target_name': 'run_vm_tests',
'type': 'executable',
- # The unittest framework needs to be able to call the unexported symbols,
- # which is why it links against the static libraries. In general binaries
- # should depend on the shared library.
'dependencies': [
- 'libdart_lib',
- 'libdart_vm',
- 'libjscre',
- 'libdart_api',
+ 'libdart',
'generate_snapshot_test_dat_file',
],
'include_dirs': [
« no previous file with comments | « no previous file | dart-runtime.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698