|
500 | 500 | 'product_name': 'node_base',
|
501 | 501 | }],
|
502 | 502 | [ 'v8_enable_inspector==1', {
|
503 |
| - 'defines': [ |
504 |
| - 'HAVE_INSPECTOR=1', |
505 |
| - ], |
506 |
| - 'sources': [ |
507 |
| - 'src/inspector_agent.cc', |
508 |
| - 'src/inspector_io.cc', |
509 |
| - 'src/inspector_js_api.cc', |
510 |
| - 'src/inspector_socket.cc', |
511 |
| - 'src/inspector_socket_server.cc', |
512 |
| - 'src/inspector/main_thread_interface.cc', |
513 |
| - 'src/inspector/worker_inspector.cc', |
514 |
| - 'src/inspector/node_string.cc', |
515 |
| - 'src/inspector/worker_agent.cc', |
516 |
| - 'src/inspector/tracing_agent.cc', |
517 |
| - 'src/inspector_agent.h', |
518 |
| - 'src/inspector_io.h', |
519 |
| - 'src/inspector_socket.h', |
520 |
| - 'src/inspector_socket_server.h', |
521 |
| - 'src/inspector/main_thread_interface.h', |
522 |
| - 'src/inspector/worker_inspector.h', |
523 |
| - 'src/inspector/node_string.h', |
524 |
| - 'src/inspector/worker_agent.h', |
525 |
| - 'src/inspector/tracing_agent.h', |
526 |
| - '<@(node_inspector_generated_sources)' |
527 |
| - ], |
528 |
| - 'dependencies': [ |
529 |
| - 'node_protocol_generated_sources#host', |
530 |
| - 'v8_inspector_compress_protocol_json#host', |
531 |
| - ], |
532 |
| - 'include_dirs': [ |
533 |
| - '<(SHARED_INTERMEDIATE_DIR)/include', # for inspector |
534 |
| - '<(SHARED_INTERMEDIATE_DIR)', |
535 |
| - '<(SHARED_INTERMEDIATE_DIR)/src', # for inspector |
536 |
| - ], |
| 503 | + 'includes' : [ 'src/inspector/node_inspector.gypi' ], |
537 | 504 | }, {
|
538 | 505 | 'defines': [ 'HAVE_INSPECTOR=0' ]
|
539 | 506 | }],
|
|
1063 | 1030 | },
|
1064 | 1031 | ]
|
1065 | 1032 | }], # end aix section
|
1066 |
| - [ 'v8_enable_inspector==1', { |
1067 |
| - 'variables': { |
1068 |
| - 'protocol_path': 'tools/inspector_protocol', |
1069 |
| - 'node_inspector_path': 'src/inspector', |
1070 |
| - 'node_inspector_generated_sources': [ |
1071 |
| - '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Forward.h', |
1072 |
| - '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Protocol.cpp', |
1073 |
| - '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Protocol.h', |
1074 |
| - '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeWorker.cpp', |
1075 |
| - '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeWorker.h', |
1076 |
| - '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeTracing.cpp', |
1077 |
| - '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeTracing.h', |
1078 |
| - ], |
1079 |
| - 'node_protocol_files': [ |
1080 |
| - '<(protocol_path)/lib/Allocator_h.template', |
1081 |
| - '<(protocol_path)/lib/Array_h.template', |
1082 |
| - '<(protocol_path)/lib/Collections_h.template', |
1083 |
| - '<(protocol_path)/lib/DispatcherBase_cpp.template', |
1084 |
| - '<(protocol_path)/lib/DispatcherBase_h.template', |
1085 |
| - '<(protocol_path)/lib/ErrorSupport_cpp.template', |
1086 |
| - '<(protocol_path)/lib/ErrorSupport_h.template', |
1087 |
| - '<(protocol_path)/lib/Forward_h.template', |
1088 |
| - '<(protocol_path)/lib/FrontendChannel_h.template', |
1089 |
| - '<(protocol_path)/lib/Maybe_h.template', |
1090 |
| - '<(protocol_path)/lib/Object_cpp.template', |
1091 |
| - '<(protocol_path)/lib/Object_h.template', |
1092 |
| - '<(protocol_path)/lib/Parser_cpp.template', |
1093 |
| - '<(protocol_path)/lib/Parser_h.template', |
1094 |
| - '<(protocol_path)/lib/Protocol_cpp.template', |
1095 |
| - '<(protocol_path)/lib/ValueConversions_h.template', |
1096 |
| - '<(protocol_path)/lib/Values_cpp.template', |
1097 |
| - '<(protocol_path)/lib/Values_h.template', |
1098 |
| - '<(protocol_path)/templates/Exported_h.template', |
1099 |
| - '<(protocol_path)/templates/Imported_h.template', |
1100 |
| - '<(protocol_path)/templates/TypeBuilder_cpp.template', |
1101 |
| - '<(protocol_path)/templates/TypeBuilder_h.template', |
1102 |
| - '<(protocol_path)/CodeGenerator.py', |
1103 |
| - ] |
1104 |
| - }, |
1105 |
| - 'targets': [ |
1106 |
| - { |
1107 |
| - 'target_name': 'prepare_protocol_json', |
1108 |
| - 'type': 'none', |
1109 |
| - 'toolsets': ['host'], |
1110 |
| - 'copies': [ |
1111 |
| - { |
1112 |
| - 'files': [ |
1113 |
| - '<(node_inspector_path)/node_protocol_config.json', |
1114 |
| - '<(node_inspector_path)/node_protocol.pdl' |
1115 |
| - ], |
1116 |
| - 'destination': '<(SHARED_INTERMEDIATE_DIR)', |
1117 |
| - } |
1118 |
| - ], |
1119 |
| - 'actions': [ |
1120 |
| - { |
1121 |
| - 'action_name': 'convert_node_protocol_to_json', |
1122 |
| - 'inputs': [ |
1123 |
| - '<(SHARED_INTERMEDIATE_DIR)/node_protocol.pdl', |
1124 |
| - ], |
1125 |
| - 'outputs': [ |
1126 |
| - '<(SHARED_INTERMEDIATE_DIR)/node_protocol.json', |
1127 |
| - ], |
1128 |
| - 'action': [ |
1129 |
| - 'python', |
1130 |
| - 'tools/inspector_protocol/ConvertProtocolToJSON.py', |
1131 |
| - '<@(_inputs)', |
1132 |
| - '<@(_outputs)', |
1133 |
| - ], |
1134 |
| - }, |
1135 |
| - ] |
1136 |
| - }, |
1137 |
| - { |
1138 |
| - 'target_name': 'node_protocol_generated_sources', |
1139 |
| - 'type': 'none', |
1140 |
| - 'toolsets': ['host'], |
1141 |
| - 'dependencies': ['prepare_protocol_json'], |
1142 |
| - 'actions': [ |
1143 |
| - { |
1144 |
| - 'action_name': 'node_protocol_generated_sources', |
1145 |
| - 'inputs': [ |
1146 |
| - '<(SHARED_INTERMEDIATE_DIR)/node_protocol_config.json', |
1147 |
| - '<(SHARED_INTERMEDIATE_DIR)/node_protocol.json', |
1148 |
| - '<@(node_protocol_files)', |
1149 |
| - ], |
1150 |
| - 'outputs': [ |
1151 |
| - '<@(node_inspector_generated_sources)', |
1152 |
| - ], |
1153 |
| - 'action': [ |
1154 |
| - 'python', |
1155 |
| - '<(protocol_path)/CodeGenerator.py', |
1156 |
| - '--jinja_dir', '<@(protocol_path)/..', |
1157 |
| - '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/', |
1158 |
| - '--config', '<(SHARED_INTERMEDIATE_DIR)/node_protocol_config.json', |
1159 |
| - ], |
1160 |
| - 'message': 'Generating node protocol sources from protocol json', |
1161 |
| - }, |
1162 |
| - ] |
1163 |
| - }, |
1164 |
| - { |
1165 |
| - 'target_name': 'v8_inspector_compress_protocol_json', |
1166 |
| - 'type': 'none', |
1167 |
| - 'toolsets': ['host'], |
1168 |
| - 'copies': [ |
1169 |
| - { |
1170 |
| - 'destination': '<(SHARED_INTERMEDIATE_DIR)', |
1171 |
| - 'files': ['deps/v8/src/inspector/js_protocol.pdl'] |
1172 |
| - } |
1173 |
| - ], |
1174 |
| - 'actions': [ |
1175 |
| - { |
1176 |
| - 'action_name': 'v8_inspector_convert_protocol_to_json', |
1177 |
| - 'inputs': [ |
1178 |
| - '<(SHARED_INTERMEDIATE_DIR)/js_protocol.pdl', |
1179 |
| - ], |
1180 |
| - 'outputs': [ |
1181 |
| - '<(SHARED_INTERMEDIATE_DIR)/js_protocol.json', |
1182 |
| - ], |
1183 |
| - 'action': [ |
1184 |
| - 'python', |
1185 |
| - 'tools/inspector_protocol/ConvertProtocolToJSON.py', |
1186 |
| - '<@(_inputs)', |
1187 |
| - '<@(_outputs)', |
1188 |
| - ], |
1189 |
| - }, |
1190 |
| - { |
1191 |
| - 'action_name': 'concatenate_protocols', |
1192 |
| - 'inputs': [ |
1193 |
| - '<(SHARED_INTERMEDIATE_DIR)/js_protocol.json', |
1194 |
| - '<(SHARED_INTERMEDIATE_DIR)/node_protocol.json', |
1195 |
| - ], |
1196 |
| - 'outputs': [ |
1197 |
| - '<(SHARED_INTERMEDIATE_DIR)/concatenated_protocol.json', |
1198 |
| - ], |
1199 |
| - 'action': [ |
1200 |
| - 'python', |
1201 |
| - 'tools/inspector_protocol/ConcatenateProtocols.py', |
1202 |
| - '<@(_inputs)', |
1203 |
| - '<@(_outputs)', |
1204 |
| - ], |
1205 |
| - }, |
1206 |
| - { |
1207 |
| - 'action_name': 'v8_inspector_compress_protocol_json', |
1208 |
| - 'process_outputs_as_sources': 1, |
1209 |
| - 'inputs': [ |
1210 |
| - '<(SHARED_INTERMEDIATE_DIR)/concatenated_protocol.json', |
1211 |
| - ], |
1212 |
| - 'outputs': [ |
1213 |
| - '<(SHARED_INTERMEDIATE_DIR)/v8_inspector_protocol_json.h', |
1214 |
| - ], |
1215 |
| - 'action': [ |
1216 |
| - 'python', |
1217 |
| - 'tools/compress_json.py', |
1218 |
| - '<@(_inputs)', |
1219 |
| - '<@(_outputs)', |
1220 |
| - ], |
1221 |
| - }, |
1222 |
| - ], |
1223 |
| - }, |
1224 |
| - ] |
1225 |
| - }] |
1226 | 1033 | ], # end conditions block
|
1227 | 1034 | }
|
0 commit comments