deps: fix gyp configuration for v8-inspector

Cross-compiled builds need different toolsets.

PR-URL: https://github.com/nodejs/node/pull/10992
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Michaël Zasso 2017-02-21 14:10:34 +01:00
Родитель 00a2aa0af5
Коммит 7c0c7baff3
1 изменённых файлов: 28 добавлений и 0 удалений

28
deps/v8/src/inspector/inspector.gyp поставляемый
Просмотреть файл

@ -13,6 +13,13 @@
'targets': [
{ 'target_name': 'inspector_injected_script',
'type': 'none',
'conditions': [
['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'],
}, {
'toolsets': ['target'],
}]
],
'actions': [
{
'action_name': 'convert_js_to_cpp_char_array',
@ -37,6 +44,13 @@
},
{ 'target_name': 'inspector_debugger_script',
'type': 'none',
'conditions': [
['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'],
}, {
'toolsets': ['target'],
}]
],
'actions': [
{
'action_name': 'convert_js_to_cpp_char_array',
@ -61,6 +75,13 @@
},
{ 'target_name': 'protocol_compatibility',
'type': 'none',
'conditions': [
['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'],
}, {
'toolsets': ['target'],
}]
],
'actions': [
{
'action_name': 'protocol_compatibility',
@ -83,6 +104,13 @@
{ 'target_name': 'protocol_generated_sources',
'type': 'none',
'dependencies': [ 'protocol_compatibility' ],
'conditions': [
['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'],
}, {
'toolsets': ['target'],
}]
],
'actions': [
{
'action_name': 'protocol_generated_sources',