| Index: test/cctest/cctest.gyp
|
| diff --git a/test/cctest/cctest.gyp b/test/cctest/cctest.gyp
|
| index c0b531636c1205ba703aacbb3dc4e8a4963515a1..5d0cab3e9869364455d6484e201a0f3533097a65 100644
|
| --- a/test/cctest/cctest.gyp
|
| +++ b/test/cctest/cctest.gyp
|
| @@ -35,7 +35,6 @@
|
| 'target_name': 'cctest',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| - '../../tools/gyp/v8.gyp:v8',
|
| 'resources',
|
| ],
|
| 'include_dirs': [
|
| @@ -136,6 +135,20 @@
|
| 'test-platform-win32.cc',
|
| ],
|
| }],
|
| + ['component=="shared_library"', {
|
| + # 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"', {
|
| + 'dependencies': ['../../tools/gyp/v8.gyp:v8_snapshot'],
|
| + },
|
| + {
|
| + 'dependencies': ['../../tools/gyp/v8.gyp:v8_nosnapshot'],
|
| + }],
|
| + ],
|
| + }, {
|
| + 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
|
| + }],
|
| ],
|
| },
|
| {
|
|
|