Index: runtime/bin/bin.gypi |
diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi |
index 858d2970516009b4abaaabbc7cd569fac44c0af7..62eb6a5d406779e7ff3a4bc9e51fcaad6bf22071 100644 |
--- a/runtime/bin/bin.gypi |
+++ b/runtime/bin/bin.gypi |
@@ -308,7 +308,7 @@ |
'target_name': 'dart', |
'type': 'executable', |
'dependencies': [ |
- 'libdart', |
+ 'libdart_export', |
'libdart_builtin', |
'generate_snapshot_file', |
], |
@@ -401,4 +401,26 @@ |
], |
}, |
], |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'test_extension', |
+ 'type': 'shared_library', |
+ 'dependencies': [ |
+ ], |
+ 'include_dirs': [ |
+ '.', |
+ ], |
+ 'sources': [ |
+ 'test_extension_linux.cc', |
+ ], |
+ 'defines': [ |
+ 'DART_SHARED_LIB', |
+ ], |
+ }, |
+ ], |
+ }], |
+ ], |
} |
+ |