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:
parent
00a2aa0af5
commit
7c0c7baff3
28
deps/v8/src/inspector/inspector.gyp
vendored
28
deps/v8/src/inspector/inspector.gyp
vendored
@ -13,6 +13,13 @@
|
|||||||
'targets': [
|
'targets': [
|
||||||
{ 'target_name': 'inspector_injected_script',
|
{ 'target_name': 'inspector_injected_script',
|
||||||
'type': 'none',
|
'type': 'none',
|
||||||
|
'conditions': [
|
||||||
|
['want_separate_host_toolset==1', {
|
||||||
|
'toolsets': ['host', 'target'],
|
||||||
|
}, {
|
||||||
|
'toolsets': ['target'],
|
||||||
|
}]
|
||||||
|
],
|
||||||
'actions': [
|
'actions': [
|
||||||
{
|
{
|
||||||
'action_name': 'convert_js_to_cpp_char_array',
|
'action_name': 'convert_js_to_cpp_char_array',
|
||||||
@ -37,6 +44,13 @@
|
|||||||
},
|
},
|
||||||
{ 'target_name': 'inspector_debugger_script',
|
{ 'target_name': 'inspector_debugger_script',
|
||||||
'type': 'none',
|
'type': 'none',
|
||||||
|
'conditions': [
|
||||||
|
['want_separate_host_toolset==1', {
|
||||||
|
'toolsets': ['host', 'target'],
|
||||||
|
}, {
|
||||||
|
'toolsets': ['target'],
|
||||||
|
}]
|
||||||
|
],
|
||||||
'actions': [
|
'actions': [
|
||||||
{
|
{
|
||||||
'action_name': 'convert_js_to_cpp_char_array',
|
'action_name': 'convert_js_to_cpp_char_array',
|
||||||
@ -61,6 +75,13 @@
|
|||||||
},
|
},
|
||||||
{ 'target_name': 'protocol_compatibility',
|
{ 'target_name': 'protocol_compatibility',
|
||||||
'type': 'none',
|
'type': 'none',
|
||||||
|
'conditions': [
|
||||||
|
['want_separate_host_toolset==1', {
|
||||||
|
'toolsets': ['host', 'target'],
|
||||||
|
}, {
|
||||||
|
'toolsets': ['target'],
|
||||||
|
}]
|
||||||
|
],
|
||||||
'actions': [
|
'actions': [
|
||||||
{
|
{
|
||||||
'action_name': 'protocol_compatibility',
|
'action_name': 'protocol_compatibility',
|
||||||
@ -83,6 +104,13 @@
|
|||||||
{ 'target_name': 'protocol_generated_sources',
|
{ 'target_name': 'protocol_generated_sources',
|
||||||
'type': 'none',
|
'type': 'none',
|
||||||
'dependencies': [ 'protocol_compatibility' ],
|
'dependencies': [ 'protocol_compatibility' ],
|
||||||
|
'conditions': [
|
||||||
|
['want_separate_host_toolset==1', {
|
||||||
|
'toolsets': ['host', 'target'],
|
||||||
|
}, {
|
||||||
|
'toolsets': ['target'],
|
||||||
|
}]
|
||||||
|
],
|
||||||
'actions': [
|
'actions': [
|
||||||
{
|
{
|
||||||
'action_name': 'protocol_generated_sources',
|
'action_name': 'protocol_generated_sources',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user