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

Unified Diff: runtime/bin/bin.gypi

Issue 9599014: Add native extensions for the Dart shell to the MacOs platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove stray file Created 8 years, 9 months 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 | runtime/bin/extensions_macos.cc » ('j') | runtime/bin/extensions_macos.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/bin.gypi
diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi
index 27567b274ba43d328679bdc7082601e65528c2d4..6daac785fd48f24e2bdf076cea9a86ce66ef779a 100644
--- a/runtime/bin/bin.gypi
+++ b/runtime/bin/bin.gypi
@@ -419,11 +419,11 @@
},
],
'conditions': [
- ['OS=="linux"', {
+ ['OS!="win"', {
'targets': [
{
'target_name': 'test_extension',
- 'type': 'shared_library',
+ 'type': 'loadable_module',
'dependencies': [
],
'include_dirs': [
@@ -431,10 +431,14 @@
],
'sources': [
'test_extension_linux.cc',
+ 'test_extension_macos.cc',
],
'defines': [
'DART_SHARED_LIB',
],
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
+ },
},
],
}],
« no previous file with comments | « no previous file | runtime/bin/extensions_macos.cc » ('j') | runtime/bin/extensions_macos.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698