| Index: tools/gyp/v8.gyp
|
| diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
|
| index 4e537d77abe03026fcd3e3f7b0c42e967b23a923..57b7c32926c57af57bc513b5671369ce0a8a577f 100644
|
| --- a/tools/gyp/v8.gyp
|
| +++ b/tools/gyp/v8.gyp
|
| @@ -264,8 +264,14 @@
|
| {
|
| 'target_name': 'v8_base.<(v8_target_arch)',
|
| 'type': 'static_library',
|
| - 'dependencies': [
|
| - 'generated-lexer',
|
| + 'conditions': [
|
| + ['want_separate_host_toolset==1', {
|
| + 'toolsets': ['host', 'target'],
|
| + 'dependencies': ['generated-lexer#host'],
|
| + }, {
|
| + 'toolsets': ['target'],
|
| + 'dependencies': ['generated-lexer'],
|
| + }],
|
| ],
|
| 'variables': {
|
| 'optimize': 'max',
|
|
|