| 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',
|
| + ],
|
| + }],
|
| + ],
|
| + },
|
| ],
|
| }
|
|
|