Index: test/cctest/cctest.gyp |
diff --git a/test/cctest/cctest.gyp b/test/cctest/cctest.gyp |
index 6e00713e02d087f5c397fdf42ce4f988817a0eb6..9a39945b80e9e9faf24ec09802400bbf949346b1 100644 |
--- a/test/cctest/cctest.gyp |
+++ b/test/cctest/cctest.gyp |
@@ -259,13 +259,14 @@ |
# cctest can't be built against a shared library, so we need to |
# depend on the underlying static target in that case. |
'conditions': [ |
- ['v8_use_snapshot=="true"', { |
+ ['v8_use_snapshot=="true" and v8_use_external_startup_data==0', { |
'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'], |
- }, |
- { |
- 'dependencies': [ |
- '../../tools/gyp/v8.gyp:v8_nosnapshot', |
- ], |
+ }], |
+ ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { |
+ 'dependencies': ['../../tools/gyp/v8.gyp:v8_external_snapshot'], |
+ }], |
+ ['v8_use_snapshot!="true"', { |
+ 'dependencies': ['../../tools/gyp/v8.gyp:v8_nosnapshot'], |
}], |
], |
}, { |