| Index: runtime/dart-runtime.gyp
|
| ===================================================================
|
| --- runtime/dart-runtime.gyp (revision 32137)
|
| +++ runtime/dart-runtime.gyp (working copy)
|
| @@ -118,6 +118,7 @@
|
| 'dependencies': [
|
| '../pkg/pkg.gyp:pkg_packages',
|
| 'sample_extension',
|
| + 'sample_extension_no_autoscope',
|
| ],
|
| },
|
| {
|
| @@ -160,5 +161,45 @@
|
| }],
|
| ],
|
| },
|
| + {
|
| + 'target_name': 'sample_extension_no_autoscope',
|
| + 'type': 'shared_library',
|
| + 'dependencies': [
|
| + 'dart',
|
| + ],
|
| + 'include_dirs': [
|
| + '.',
|
| + ],
|
| + 'sources': [
|
| + '../samples/sample_extension/sample_extension_no_autoscope.cc',
|
| + '../samples/sample_extension/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',
|
| + ],
|
| + }],
|
| + ],
|
| + },
|
| ],
|
| }
|
|
|