Index: gin/gin.gyp |
diff --git a/gin/gin.gyp b/gin/gin.gyp |
index ca133dd5a42f104667e288d24061a4303715fbad..ed76f09df220683a7ff5dfb56b664d03421bae9a 100644 |
--- a/gin/gin.gyp |
+++ b/gin/gin.gyp |
@@ -20,10 +20,14 @@ |
'../v8/tools/gyp/v8.gyp:v8', |
], |
'sources': [ |
+ 'arguments.cc', |
+ 'arguments.h', |
'array_buffer.cc', |
'array_buffer.h', |
'converter.cc', |
'converter.h', |
+ 'dictionary.cc', |
+ 'dictionary.h', |
'initialize.cc', |
'initialize.h', |
'per_isolate_data.cc', |
@@ -35,18 +39,35 @@ |
], |
}, |
{ |
- 'target_name': 'gin_unittests', |
- 'type': 'executable', |
+ 'target_name': 'gin_test', |
+ 'type': 'static_library', |
'dependencies': [ |
'../base/base.gyp:base', |
- '../base/base.gyp:run_all_unittests', |
+ '../testing/gtest.gyp:gtest', |
+ 'gin', |
+ ], |
+ 'export_dependent_settings': [ |
+ '../base/base.gyp:base', |
'../testing/gtest.gyp:gtest', |
'gin', |
], |
'sources': [ |
+ 'test/gtest.cc', |
+ 'test/gtest.h', |
'test/v8_test.cc', |
- 'test/run_all_unittests.cc', |
+ 'test/v8_test.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'gin_unittests', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../base/base.gyp:run_all_unittests', |
+ 'gin_test', |
+ ], |
+ 'sources': [ |
'converter_unittest.cc', |
+ 'test/run_all_unittests.cc', |
'runner_unittest.cc', |
], |
}, |