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:
Родитель
00a2aa0af5
Коммит
7c0c7baff3
|
@ -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',
|
||||
|
|
Загрузка…
Ссылка в новой задаче