Index: gin/gin.gyp |
diff --git a/gin/gin.gyp b/gin/gin.gyp |
index 1f75469faf5bd23b2d95a3daec920cd89d270ede..8af1e8b85e00c2def2990b4db9762d6c688ddb97 100644 |
--- a/gin/gin.gyp |
+++ b/gin/gin.gyp |
@@ -9,7 +9,7 @@ |
'targets': [ |
{ |
'target_name': 'gin', |
- 'type': 'static_library', |
+ 'type': '<(component)', |
'dependencies': [ |
'../base/base.gyp:base', |
'../v8/tools/gyp/v8.gyp:v8', |
@@ -18,6 +18,9 @@ |
'../base/base.gyp:base', |
'../v8/tools/gyp/v8.gyp:v8', |
], |
+ 'defines': [ |
+ 'GIN_IMPLEMENTATION', |
+ ], |
'sources': [ |
'arguments.cc', |
'arguments.h', |
@@ -30,6 +33,7 @@ |
'dictionary.h', |
'function_template.cc', |
'function_template.h', |
+ 'gin_export.h', |
'handle.h', |
'isolate_holder.cc', |
'modules/console.cc', |
@@ -63,7 +67,9 @@ |
'target_name': 'gin_shell', |
'type': 'executable', |
'dependencies': [ |
+ '../base/base.gyp:base', |
'../base/base.gyp:base_i18n', |
+ '../v8/tools/gyp/v8.gyp:v8', |
'gin', |
], |
'sources': [ |
@@ -80,6 +86,7 @@ |
'type': 'static_library', |
'dependencies': [ |
'../testing/gtest.gyp:gtest', |
+ '../v8/tools/gyp/v8.gyp:v8', |
'gin', |
], |
'export_dependent_settings': [ |
@@ -100,6 +107,7 @@ |
'type': 'executable', |
'dependencies': [ |
'../base/base.gyp:run_all_unittests', |
+ '../v8/tools/gyp/v8.gyp:v8', |
'gin_test', |
], |
'sources': [ |