summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp29
1 files changed, 29 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 0f263d1346..4043269930 100644
--- a/node.gyp
+++ b/node.gyp
@@ -322,6 +322,7 @@
'dependencies': [
'deps/v8_inspector/third_party/v8_inspector/platform/'
'v8_inspector/v8_inspector.gyp:v8_inspector_stl',
+ 'v8_inspector_compress_protocol_json#host',
],
'include_dirs': [
'deps/v8_inspector/third_party/v8_inspector',
@@ -651,6 +652,34 @@
]
},
{
+ 'target_name': 'v8_inspector_compress_protocol_json',
+ 'type': 'none',
+ 'toolsets': ['host'],
+ 'conditions': [
+ [ 'v8_inspector=="true"', {
+ 'actions': [
+ {
+ 'action_name': 'v8_inspector_compress_protocol_json',
+ 'process_outputs_as_sources': 1,
+ 'inputs': [
+ 'deps/v8_inspector/third_party/'
+ 'v8_inspector/platform/v8_inspector/js_protocol.json',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/v8_inspector_protocol_json.h',
+ ],
+ 'action': [
+ 'python',
+ 'tools/compress_json.py',
+ '<@(_inputs)',
+ '<@(_outputs)',
+ ],
+ },
+ ],
+ }],
+ ],
+ },
+ {
'target_name': 'node_js2c',
'type': 'none',
'toolsets': ['host'],