| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4cc7907 commit 63611d0
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | 'variables': { | |
| 3 | 3 | 'protocol_tool_path': '../../deps/inspector_protocol', | |
| 4 | 4 | 'jinja_dir': '../../tools/inspector_protocol', | |
| 5 | + 'v8_gypfiles_dir': '../../tools/v8_gypfiles', | ||
| 5 | 6 | 'node_inspector_sources': [ | |
| 6 | 7 | 'src/inspector_agent.cc', | |
| 7 | 8 | 'src/inspector_io.cc', | |
@@ -74,6 +75,7 @@ | |||
| 74 | 75 | ], | |
| 75 | 76 | 'dependencies': [ | |
| 76 | 77 | '<(protocol_tool_path)/inspector_protocol.gyp:crdtp', | |
| 78 | + '<(v8_gypfiles_dir)/v8.gyp:v8_inspector_headers', | ||
| 77 | 79 | ], | |
| 78 | 80 | 'actions': [ | |
| 79 | 81 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -129,51 +129,13 @@ | |||
| 129 | 129 | '<(inspector_protocol_path)/crdtp/span.h', | |
| 130 | 130 | '<(inspector_protocol_path)/crdtp/status.cc', | |
| 131 | 131 | '<(inspector_protocol_path)/crdtp/status.h', | |
| 132 | + | ||
| 133 | + '<@(inspector_generated_sources)', | ||
| 132 | 134 | ], | |
| 133 | 135 | 'v8_inspector_js_protocol': '<(V8_ROOT)/include/js_protocol.pdl', | |
| 134 | 136 | }, | |
| 135 | 137 | 'include_dirs': [ | |
| 136 | 138 | '<(inspector_generated_output_root)', | |
| 137 | 139 | '<(inspector_protocol_path)', | |
| 138 | 140 | ], | |
| 139 | - 'actions': [ | ||
| 140 | - { | ||
| 141 | - 'action_name': 'protocol_compatibility', | ||
| 142 | - 'inputs': [ | ||
| 143 | - '<(v8_inspector_js_protocol)', | ||
| 144 | - ], | ||
| 145 | - 'outputs': [ | ||
| 146 | - '<@(inspector_generated_output_root)/src/js_protocol.stamp', | ||
| 147 | - ], | ||
| 148 | - 'action': [ | ||
| 149 | - '<(python)', | ||
| 150 | - '<(inspector_protocol_path)/check_protocol_compatibility.py', | ||
| 151 | - '--stamp', '<@(_outputs)', | ||
| 152 | - '<@(_inputs)', | ||
| 153 | - ], | ||
| 154 | - 'message': 'Checking inspector protocol compatibility', | ||
| 155 | - }, | ||
| 156 | - { | ||
| 157 | - 'action_name': 'protocol_generated_sources', | ||
| 158 | - 'inputs': [ | ||
| 159 | - '<(v8_inspector_js_protocol)', | ||
| 160 | - '<(inspector_path)/inspector_protocol_config.json', | ||
| 161 | - '<@(inspector_protocol_files)', | ||
| 162 | - ], | ||
| 163 | - 'outputs': [ | ||
| 164 | - '<@(inspector_generated_sources)', | ||
| 165 | - ], | ||
| 166 | - 'process_outputs_as_sources': 1, | ||
| 167 | - 'action': [ | ||
| 168 | - '<(python)', | ||
| 169 | - '<(inspector_protocol_path)/code_generator.py', | ||
| 170 | - '--jinja_dir', '<(V8_ROOT)/third_party', | ||
| 171 | - '--output_base', '<(inspector_generated_output_root)/src/inspector', | ||
| 172 | - '--config', '<(inspector_path)/inspector_protocol_config.json', | ||
| 173 | - '--config_value', 'protocol.path=<(v8_inspector_js_protocol)', | ||
| 174 | - '--inspector_protocol_dir', '<(inspector_protocol_path)', | ||
| 175 | - ], | ||
| 176 | - 'message': 'Generating inspector protocol sources from protocol json', | ||
| 177 | - }, | ||
| 178 | - ], | ||
| 179 | 141 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1017,6 +1017,58 @@ | |||
| 1017 | 1017 | }], | |
| 1018 | 1018 | ], | |
| 1019 | 1019 | }, # v8_compiler_for_mksnapshot | |
| 1020 | + { | ||
| 1021 | + 'target_name': 'v8_inspector_headers', | ||
| 1022 | + 'type': 'none', | ||
| 1023 | + 'toolsets': ['host', 'target'], | ||
| 1024 | + 'hard_dependency': 1, | ||
| 1025 | + 'includes': ['inspector.gypi'], | ||
| 1026 | + 'direct_dependent_settings': { | ||
| 1027 | + 'include_dirs': [ | ||
| 1028 | + '<(inspector_generated_output_root)/include', | ||
| 1029 | + ], | ||
| 1030 | + }, | ||
| 1031 | + 'actions': [ | ||
| 1032 | + { | ||
| 1033 | + 'action_name': 'protocol_compatibility', | ||
| 1034 | + 'inputs': [ | ||
| 1035 | + '<(v8_inspector_js_protocol)', | ||
| 1036 | + ], | ||
| 1037 | + 'outputs': [ | ||
| 1038 | + '<@(inspector_generated_output_root)/src/js_protocol.stamp', | ||
| 1039 | + ], | ||
| 1040 | + 'action': [ | ||
| 1041 | + '<(python)', | ||
| 1042 | + '<(inspector_protocol_path)/check_protocol_compatibility.py', | ||
| 1043 | + '--stamp', '<@(_outputs)', | ||
| 1044 | + '<@(_inputs)', | ||
| 1045 | + ], | ||
| 1046 | + 'message': 'Checking inspector protocol compatibility', | ||
| 1047 | + }, | ||
| 1048 | + { | ||
| 1049 | + 'action_name': 'protocol_generated_sources', | ||
| 1050 | + 'inputs': [ | ||
| 1051 | + '<(v8_inspector_js_protocol)', | ||
| 1052 | + '<(inspector_path)/inspector_protocol_config.json', | ||
| 1053 | + '<@(inspector_protocol_files)', | ||
| 1054 | + ], | ||
| 1055 | + 'outputs': [ | ||
| 1056 | + '<@(inspector_generated_sources)', | ||
| 1057 | + ], | ||
| 1058 | + 'process_outputs_as_sources': 1, | ||
| 1059 | + 'action': [ | ||
| 1060 | + '<(python)', | ||
| 1061 | + '<(inspector_protocol_path)/code_generator.py', | ||
| 1062 | + '--jinja_dir', '<(V8_ROOT)/third_party', | ||
| 1063 | + '--output_base', '<(inspector_generated_output_root)/src/inspector', | ||
| 1064 | + '--config', '<(inspector_path)/inspector_protocol_config.json', | ||
| 1065 | + '--config_value', 'protocol.path=<(v8_inspector_js_protocol)', | ||
| 1066 | + '--inspector_protocol_dir', '<(inspector_protocol_path)', | ||
| 1067 | + ], | ||
| 1068 | + 'message': 'Generating inspector protocol sources from protocol json', | ||
| 1069 | + }, | ||
| 1070 | + ], | ||
| 1071 | + }, # v8_inspector_headers | ||
| 1020 | 1072 | { | |
| 1021 | 1073 | 'target_name': 'v8_base_without_compiler', | |
| 1022 | 1074 | 'type': 'static_library', | |
@@ -1026,6 +1078,7 @@ | |||
| 1026 | 1078 | 'v8_bigint', | |
| 1027 | 1079 | 'v8_headers', | |
| 1028 | 1080 | 'v8_heap_base', | |
| 1081 | + 'v8_inspector_headers', | ||
| 1029 | 1082 | 'v8_libbase', | |
| 1030 | 1083 | 'v8_shared_internal_headers', | |
| 1031 | 1084 | 'v8_version', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments