Chromium Code Reviews| Index: runtime/bin/bin.gypi |
| diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi |
| index 27567b274ba43d328679bdc7082601e65528c2d4..8b90822f7d480958e2a9011c32aee9bb86626c2c 100644 |
| --- a/runtime/bin/bin.gypi |
| +++ b/runtime/bin/bin.gypi |
| @@ -342,7 +342,13 @@ |
| 'link_settings': { |
| 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| }, |
| - }]], |
| + 'msvs_settings': { |
|
Mads Ager (google)
2012/03/06 15:32:50
Please add a comment that this linker settings for
Søren Gjesse
2012/03/07 06:58:31
Should we perhaps add the same for the dart_no_sna
Ivan Posva
2012/03/07 07:22:51
The dart_no_snapshot target is not shipped as part
|
| + 'VCLinkerTool': { |
| + 'AdditionalOptions': [ '/EXPORT:Dart_True' ], |
| + }, |
| + }, |
| + }], |
| + ], |
| }, |
| { |
| # dart binary without any snapshot built in. |
| @@ -417,27 +423,29 @@ |
| }], |
| ], |
| }, |
| - ], |
| - 'conditions': [ |
| - ['OS=="linux"', { |
| - 'targets': [ |
| - { |
| - 'target_name': 'test_extension', |
| - 'type': 'shared_library', |
| - 'dependencies': [ |
| - ], |
| - 'include_dirs': [ |
| - '.', |
| - ], |
| - 'sources': [ |
| - 'test_extension_linux.cc', |
| - ], |
| - 'defines': [ |
| - 'DART_SHARED_LIB', |
| - ], |
| - }, |
| + { |
| + 'target_name': 'test_extension', |
| + 'type': 'shared_library', |
| + 'dependencies': [ |
| + 'dart', |
| + ], |
| + 'include_dirs': [ |
| + '..', |
| + ], |
| + 'sources': [ |
| + 'test_extension.cc', |
| + 'test_extension_dllmain_win.cc', |
| + ], |
| + 'defines': [ |
| + 'DART_SHARED_LIB', |
| ], |
| - }], |
| + 'msvs_settings': { |
| + 'VCLinkerTool': { |
| + 'AdditionalDependencies': [ 'dart.lib' ], |
| + 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ], |
| + }, |
| + }, |
| + }, |
| ], |
| } |