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

Unified Diff: samples/sample_extension/sample_extension.gyp

Issue 131103025: Fixes ABI bug in MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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
Index: samples/sample_extension/sample_extension.gyp
===================================================================
--- samples/sample_extension/sample_extension.gyp (revision 32137)
+++ samples/sample_extension/sample_extension.gyp (working copy)
@@ -44,5 +44,42 @@
}],
],
},
+ {
+ 'target_name': 'sample_extension_no_autoscope',
+ 'type': 'shared_library',
+ 'dependencies': [
+ '../../runtime/dart-runtime.gyp:dart',
+ ],
+ 'include_dirs': [
+ '../../runtime',
+ ],
+ 'sources': [
+ 'sample_extension_no_autoscope.cc',
+ 'sample_extension_no_autoscope_dllmain_win.cc',
+ ],
+ 'defines': [
+ 'DART_SHARED_LIB',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': [ 'dart.lib' ],
+ 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ],
+ },
+ },
+ }],
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
+ },
+ }],
+ ['OS=="linux"', {
+ 'cflags': [
+ '-fPIC',
+ ],
+ }],
+ ],
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698