Index: test/cctest/cctest.gyp |
diff --git a/test/cctest/cctest.gyp b/test/cctest/cctest.gyp |
index 9ef2d9bfb2830cf6a7e3341bf4f94e20559428e7..5ebc5600ae9c337266c687880d6a6ebd41d41b51 100644 |
--- a/test/cctest/cctest.gyp |
+++ b/test/cctest/cctest.gyp |
@@ -344,6 +344,27 @@ |
} |
], |
}, |
+ { |
+ 'target_name': 'generate-bytecode-expectations', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../../tools/gyp/v8.gyp:v8_libplatform', |
+ ], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ # Same as cctest, we need to depend on the underlying static target. |
+ 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'], |
+ }, { |
+ 'dependencies': ['../../tools/gyp/v8.gyp:v8'], |
+ }], |
+ ], |
+ 'include_dirs+': [ |
+ '../..', |
+ ], |
+ 'sources': [ |
+ '../../test/cctest/interpreter/generate-bytecode-expectations.cc', |
+ ], |
+ }, |
], |
'conditions': [ |
['test_isolation_mode != "noop"', { |