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

Unified Diff: runtime/dart-runtime.gyp

Issue 62443003: - Make sure sample_extension is built. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/dart-runtime.gyp
===================================================================
--- runtime/dart-runtime.gyp (revision 29950)
+++ runtime/dart-runtime.gyp (working copy)
@@ -111,12 +111,54 @@
'vm/libdart_dependency_helper.cc',
],
},
+ # Targets coming from dart/dart.gyp.
{
- 'target_name': 'runtime_packages',
+ 'target_name': 'runtime_all',
'type': 'none',
'dependencies': [
'../pkg/pkg.gyp:pkg_packages',
+ 'sample_extension',
],
},
+ {
+ 'target_name': 'sample_extension',
+ 'type': 'shared_library',
+ 'dependencies': [
+ 'dart',
+ ],
+ 'include_dirs': [
+ '.',
+ ],
+ 'sources': [
+ '../samples/sample_extension/sample_extension.cc',
+ '../samples/sample_extension/sample_extension_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',
+ ],
+ }],
+ ],
+ },
],
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698